From ca61356b01c8f0919443b3ccd5e543e06694466a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 18 Apr 2020 20:59:22 +0200 Subject: 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. --- editors/code/package.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'editors/code/package.json') 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 @@ "id": "union", "description": "Style for C-style untagged unions", "superType": "type" + }, + { + "id": "unresolvedReference", + "description": "Style for names which can not be resolved due to compilation errors" } ], "semanticTokenModifiers": [ -- cgit v1.2.3