aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-04-18 19:59:22 +0100
committerAleksey Kladov <[email protected]>2020-04-18 20:28:51 +0100
commitca61356b01c8f0919443b3ccd5e543e06694466a (patch)
tree1d0f3ddc89d96d879ca5366928073ff9470ec9bc /editors/code
parent9b16ae5149b7b01c8b2ec4bfb87182c993997b44 (diff)
Add semantic tag for unresolved references
This is a quick way to implement unresolved reference diagnostics. For example, adding to VS Code config "editor.tokenColorCustomizationsExperimental": { "unresolvedReference": "#FF0000" }, will highlight all unresolved refs in red.
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 5ce59e54a..79410ad10 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -517,6 +517,10 @@
517 "id": "union", 517 "id": "union",
518 "description": "Style for C-style untagged unions", 518 "description": "Style for C-style untagged unions",
519 "superType": "type" 519 "superType": "type"
520 },
521 {
522 "id": "unresolvedReference",
523 "description": "Style for names which can not be resolved due to compilation errors"
520 } 524 }
521 ], 525 ],
522 "semanticTokenModifiers": [ 526 "semanticTokenModifiers": [