about summary refs log tree commit diff
path: root/editors/code
diff options
context:
space:
mode:
authorJames Leitch <rickvanprim@gmail.com>2021-04-20 20:03:35 -0700
committerJames Leitch <rickvanprim@gmail.com>2021-04-21 15:10:53 -0700
commit9fcad829807a0306fbf4eb2ebc1603a11a6df182 (patch)
treea91162aed471e8b8bb8d80ed2dfcb7aaeb64acfd /editors/code
parent60841f42769b154864252b04d622494a9ddfc696 (diff)
downloadrust-9fcad829807a0306fbf4eb2ebc1603a11a6df182.tar.gz
rust-9fcad829807a0306fbf4eb2ebc1603a11a6df182.zip
Diagnostic Remap Path Prefixes added.
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 06ed62d8d7c..dcb2e89d14c 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
+}