diff options
| author | Alex Kladov <aleksey.kladov@gmail.com> | 2023-06-30 22:18:52 +0100 |
|---|---|---|
| committer | Alex Kladov <aleksey.kladov@gmail.com> | 2023-06-30 22:23:13 +0100 |
| commit | 832a64e290ce97e6ae9fce3743dc2f38c4088ccd (patch) | |
| tree | 3316d9b0830f846b7c39eb7a341b7ffefecfa637 /editors/code/package.json | |
| parent | 46cd8b849590a18c3e4f2eb8a0ade486d1c855a8 (diff) | |
| download | rust-832a64e290ce97e6ae9fce3743dc2f38c4088ccd.tar.gz rust-832a64e290ce97e6ae9fce3743dc2f38c4088ccd.zip | |
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
Diffstat (limited to 'editors/code/package.json')
| -rw-r--r-- | editors/code/package.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index fe060ce698b..1a1d76c6991 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -339,6 +339,16 @@ "default": null, "markdownDescription": "Environment variables passed to the runnable launched using `Test` or `Debug` lens or `rust-analyzer.run` command." }, + "rust-analyzer.runnables.problemMatcher": { + "type": "array", + "items": { + "type": "string" + }, + "default": [ + "$rustc" + ], + "markdownDescription": "Problem matchers to use for `rust-analyzer.run` command, eg `[\"$rustc\", \"$rust-panic\"]`." + }, "rust-analyzer.server.path": { "type": [ "null", |
