feat: don't add panics to error jump list by default

To re-enable this, use

    "rust-analyzer.runnables.problemMatcher": [
        "$rustc",
        "$rust-panic"
    ],

setting.

closes: #14977
This commit is contained in:
Alex Kladov 2023-06-30 22:18:52 +01:00
parent 46cd8b8495
commit 832a64e290
4 changed files with 19 additions and 1 deletions

View file

@ -220,6 +220,10 @@ export class Config {
return this.get<string[] | undefined>("discoverProjectCommand");
}
get problemMatcher(): string[] {
return this.get<string[]>("runnables.problemMatcher") || [];
}
get cargoRunner() {
return this.get<string | undefined>("cargoRunner");
}