Skip to content
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.

feature request: style for indent guide matching current matching brackets/tags/etc #74

Open
trusktr opened this issue Jan 11, 2019 · 4 comments

Comments

@trusktr
Copy link

trusktr commented Jan 11, 2019

Here's a screenshot that shows on the left the Notepad++ built-in feature where it adds special style to the indent guide for the current matching brackets (or HTML tags, etc). On the right side is Sublime, which misses the feature, but you get the idea (found the pic on Google search).

@trusktr
Copy link
Author

trusktr commented Jan 11, 2019

Here's a similar feature in VSCode:

@mrbrahman
Copy link

Would love to have the feature similar to as shown in VSCode, or at least similar to Notepad++.

Right now, when the cursor is placed after the starting brace, indent-guide-improved does not see that we're already in the child block, and still highlights the parent. Only when you move to the next line of the inner block does it actually highlight the inner indent.

@scsmash3r
Copy link

Here's a screenshot that shows on the left the Notepad++ built-in feature where it adds special style to the indent guide for the current matching brackets (or HTML tags, etc). On the right side is Sublime, which misses the feature, but you get the idea (found the pic on Google search).

Duplicate of #53

@KikeNet900
Copy link

KikeNet900 commented Jun 30, 2020

For lack of time and as a simple solution this has occurred to me, but the patch selects in some cases the previous guides.

Does anyone know if using CSS it is possible to select only the last active guide?

What the patch does is simply select the next and subsequent guides.

https://github.com/harai/indent-guide-improved/compare/master...KikeNet900:patch-2?expand=1

Screenshot_20200630_114357

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

No branches or pull requests

4 participants