From 832a64e290ce97e6ae9fce3743dc2f38c4088ccd Mon Sep 17 00:00:00 2001 From: Alex Kladov Date: Fri, 30 Jun 2023 22:18:52 +0100 Subject: 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 --- editors/code/package.json | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'editors/code/package.json') 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", -- cgit 1.4.1-3-g733a5