diff options
author | Seivan Heidari <[email protected]> | 2019-10-31 09:36:54 +0000 |
---|---|---|
committer | Seivan Heidari <[email protected]> | 2019-10-31 09:36:54 +0000 |
commit | 1f822c8e518132b01d7eda665f6bf7bc254780a7 (patch) | |
tree | fd36b1b6d88548ae630562febca9ad1426dbf42e /editors/code/src/highlighting.ts | |
parent | 8edda0e7b164009d6c03bb3d4be603fb38ad2e2a (diff) |
Adding better debugging for testing themes missing tags and which scopes didn't map.
Since this file is no longer being pushed upstream, double down on monads.
Diffstat (limited to 'editors/code/src/highlighting.ts')
-rw-r--r-- | editors/code/src/highlighting.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/editors/code/src/highlighting.ts b/editors/code/src/highlighting.ts index b7dffaff5..dad99254e 100644 --- a/editors/code/src/highlighting.ts +++ b/editors/code/src/highlighting.ts | |||
@@ -73,7 +73,10 @@ export class Highlighter { | |||
73 | return [tag, decor]; | 73 | return [tag, decor]; |
74 | } | 74 | } |
75 | else { | 75 | else { |
76 | console.log('Missing theme for: ' + tag); | 76 | console.log(' '); |
77 | console.log('Missing theme for: <"' + tag + '"> for following mapped scopes:') | ||
78 | console.log(scopesMapper.find(tag)) | ||
79 | console.log(' '); | ||
77 | const color = new vscode.ThemeColor('ralsp.' + tag); | 80 | const color = new vscode.ThemeColor('ralsp.' + tag); |
78 | const decor = vscode.window.createTextEditorDecorationType({ | 81 | const decor = vscode.window.createTextEditorDecorationType({ |
79 | color, | 82 | color, |