From 9fcad829807a0306fbf4eb2ebc1603a11a6df182 Mon Sep 17 00:00:00 2001 From: James Leitch Date: Tue, 20 Apr 2021 20:03:35 -0700 Subject: Diagnostic Remap Path Prefixes added. --- editors/code/package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'editors/code') diff --git a/editors/code/package.json b/editors/code/package.json index 06ed62d8d..dcb2e89d1 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -565,6 +565,11 @@ }, "uniqueItems": true }, + "rust-analyzer.diagnostics.remapPathPrefixes": { + "markdownDescription": "Map of path prefixes to be substituted when parsing diagnostic file paths.\nThis should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`.", + "default": {}, + "type": "object" + }, "rust-analyzer.diagnostics.warningsAsHint": { "markdownDescription": "List of warnings that should be displayed with info severity.\n\nThe warnings will be indicated by a blue squiggly underline in code\nand a blue icon in the `Problems Panel`.", "default": [], @@ -1195,4 +1200,4 @@ ] } } -} \ No newline at end of file +} -- cgit v1.2.3 From 72718bc2d7113874536b8bcd486aa5bd7dacafe6 Mon Sep 17 00:00:00 2001 From: James Leitch Date: Wed, 21 Apr 2021 15:09:37 -0700 Subject: Code review feedback. --- editors/code/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors/code') diff --git a/editors/code/package.json b/editors/code/package.json index dcb2e89d1..fa5632f90 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -565,8 +565,8 @@ }, "uniqueItems": true }, - "rust-analyzer.diagnostics.remapPathPrefixes": { - "markdownDescription": "Map of path prefixes to be substituted when parsing diagnostic file paths.\nThis should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`.", + "rust-analyzer.diagnostics.remapPrefix": { + "markdownDescription": "Map of prefixes to be substituted when parsing diagnostic file paths.\nThis should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`.", "default": {}, "type": "object" }, -- cgit v1.2.3