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

Inverse depth (bottom-up) highlighting #123

Open
nickpapoutsis opened this issue Sep 24, 2023 · 1 comment
Open

Inverse depth (bottom-up) highlighting #123

nickpapoutsis opened this issue Sep 24, 2023 · 1 comment

Comments

@nickpapoutsis
Copy link

Instead of going from the outermost block of the code to the innermost block, up to the max depth setting, allow for the exact opposite where highlighting works in a bottom-up style, ie. when you put the cursor inside a block 10 "depths" in, the highlighter starts from the block of the cursor and starts highlighting outwards up to a (user selectable) max number of blocks.

That allows for code that contains blocks many levels deep to be less cluttered since highlighting starts from the block the user focuses on up to x steps outwards.

For example, working on a function 10 levels deep means that I want the function's inner blocks highlighted but all the function's parent (outer) blocks don't need to be highlighted as it only contributes to visual clutter.

@leodevbro
Copy link
Owner

Hello, I think you can do it pretty easily in Blockman settings.

Please search "Advanced Coloring" in Blockman page:
https://github.com/leodevbro/vscode-blockman

Also you can watch the video:
https://youtu.be/UsET6-kPu90

So, you can do so many combinations of coloring setup of any direction (inward, outward).

But, if you find it difficult to setup advanced coloring settings for your needs, please let me know and I will try to provide it for you.

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

2 participants