mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
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.
This commit is contained in:
parent
8edda0e7b1
commit
1f822c8e51
3 changed files with 58 additions and 45 deletions
|
@ -73,7 +73,10 @@ export class Highlighter {
|
|||
return [tag, decor];
|
||||
}
|
||||
else {
|
||||
console.log('Missing theme for: ' + tag);
|
||||
console.log(' ');
|
||||
console.log('Missing theme for: <"' + tag + '"> for following mapped scopes:')
|
||||
console.log(scopesMapper.find(tag))
|
||||
console.log(' ');
|
||||
const color = new vscode.ThemeColor('ralsp.' + tag);
|
||||
const decor = vscode.window.createTextEditorDecorationType({
|
||||
color,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue