Open nickpapoutsis opened 1 year ago
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.
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.