Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight the current scope feature #7

Open
pi1ot opened this issue Nov 7, 2016 · 6 comments
Open

Highlight the current scope feature #7

pi1ot opened this issue Nov 7, 2016 · 6 comments

Comments

@pi1ot
Copy link

pi1ot commented Nov 7, 2016

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
@ghost
Copy link

ghost commented Dec 7, 2016

Dimming only all the outer scopes would be perfect.

Highlight the current scope and dim everything else.

@asos-franzsittampalam
Copy link

+1

@beebase
Copy link

beebase commented Oct 9, 2018

This was the first thing I thought of. Highlighting between opening/closing brackets depending on where the cursor position is would be cool.

@julwrites
Copy link

+1

@venatiodecorus
Copy link

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.

@selrond
Copy link

selrond commented Jan 18, 2020

There's a fork of this extension that does exactly that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants