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/package.json') 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