diff --git a/editors/code/package.json b/editors/code/package.json index aac4ba94f2..448e2269ff 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -655,24 +655,30 @@ "problemMatchers": [ { "name": "rustc", + "owner": "rustc", + "source": "rustc", "fileLocation": [ - "relative", + "autoDetect", "${workspaceRoot}" ], "pattern": "$rustc" }, { "name": "rustc-json", + "owner": "rustc", + "source": "rustc", "fileLocation": [ - "relative", + "autoDetect", "${workspaceRoot}" ], "pattern": "$rustc-json" }, { "name": "rustc-watch", + "owner": "rustc", + "source": "rustc", "fileLocation": [ - "relative", + "autoDetect", "${workspaceRoot}" ], "background": { diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts index 41ffac7b34..18948cb3c4 100644 --- a/editors/code/src/client.ts +++ b/editors/code/src/client.ts @@ -41,6 +41,7 @@ export function createClient(serverPath: string, cwd: string): lc.LanguageClient const clientOptions: lc.LanguageClientOptions = { documentSelector: [{ scheme: 'file', language: 'rust' }], initializationOptions: vscode.workspace.getConfiguration("rust-analyzer"), + diagnosticCollectionName: "rustc", traceOutputChannel, middleware: { // Workaround for https://github.com/microsoft/vscode-languageserver-node/issues/576