vscode-dimmer
vscode-dimmer copied to clipboard
Highlight the current scope feature
example:
... // out of scope, dimmed
function updateIfEnabled(textEditor: vscode.TextEditor) { // out of scope, dimmed
if (enabled) { // current scope beginning
... // current scope, highlight
setDecorations(textEditor); // current scope, highlight
... // current scope, highlight
} // current scope endding
} // out of scope, dimmed
... // out of scope, dimmed
Dimming only all the outer scopes would be perfect.
Highlight the current scope and dim everything else.
+1
This was the first thing I thought of. Highlighting between opening/closing brackets depending on where the cursor position is would be cool.
+1
i saw this extension on twitter and thought this was what it did, and was excited. i found out it was not, and lost interest. would likely use this if this feature were available.