From 1800bfb6e67ab7187f0fa51ca8241e904922ecd8 Mon Sep 17 00:00:00 2001 From: Andrew Ross Date: Fri, 18 Jan 2019 12:59:08 +0200 Subject: Config for raLspServerPath will be overwritten if __RA_LSP_SERVER_DEBUG is set Changed presentation from clear to reveal silent Removed the vscode gitignore entry Added debugging documentation Added tasks and launch configs --- .vscode/tasks.json | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .vscode/tasks.json (limited to '.vscode/tasks.json') diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 000000000..045cee326 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,47 @@ +// See https://go.microsoft.com/fwlink/?LinkId=733558 +// for the documentation about the tasks.json format +{ + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "compile", + "label": "Build Extension", + "problemMatcher": { + "owner": "typescript", + "pattern": "$tsc", + "fileLocation": ["relative", "${workspaceRoot}/editors/code"] + }, + "path": "editors/code/" + }, + { + "label": "Build Lsp", + "type": "shell", + "command": "cargo build", + "problemMatcher": { + "owner": "rust", + "fileLocation": ["relative", "${workspaceRoot}"], + "pattern": [ + { + "regexp": "^(warning|warn|error)(?:\\[(.*?)\\])?: (.*)$", + "severity": 1, + "code": 2, + "message": 3 + }, + { + "regexp": "^[\\s->=]*(.*?):(\\d*):(\\d*)\\s*$", + "file": 1, + "line": 2, + "column": 3 + } + ] + } + }, + { + "label": "Build All", + "group": "build", + "dependsOn": ["Build Extension", "Build Lsp"], + "problemMatcher": [] + } + ] +} -- cgit v1.2.3