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

Add current scope highlight #179

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

wk1
Copy link
Contributor

@wk1 wk1 commented Mar 29, 2024

Hi!

I felt like it would be a nice addition to have a subtle highlight on the current scope. I added an activeScopeDecorationType for both classic and light mode. Looking like this:

Bildschirmfoto 2024-03-29 um 15 23 45 Bildschirmfoto 2024-03-29 um 15 24 31

I made this feature optional and added a setting to turn it on. (default setting is false)

Bildschirmfoto 2024-03-29 um 15 30 24

I also added a setting to set the line width of the highlighted indicator in light mode

Bildschirmfoto 2024-03-29 um 15 30 12

Grüße ☺️ (Greetings) and best regards!

@oderwat
Copy link
Owner

oderwat commented Mar 29, 2024

TY! Looks useful. I am checking this out asap, but that may take some days because of the holidays.

@wk1
Copy link
Contributor Author

wk1 commented Mar 29, 2024

Thank you, enjoy the holidays!

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

Successfully merging this pull request may close these issues.

2 participants