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

Empty lines are not highlighted #2

Open
smukkekim opened this issue Jan 16, 2017 · 4 comments
Open

Empty lines are not highlighted #2

smukkekim opened this issue Jan 16, 2017 · 4 comments

Comments

@smukkekim
Copy link

Empty lines are not highlighted, so there are "holes" in the highlighted line...
If this is intentional, would it be possible to provide an extra setting to toggle this behavior?
indent-line-holes

@SirTori
Copy link
Owner

SirTori commented Jan 16, 2017

Hi,
thanks for your feedback.
Sadly this is due to limitations in the extension api provided.
Whereas the buildin indent guides are rendered even on empty lines, as far as I know such is currently not possible with extensions.

This extension and any other I have seen with similiar functionality have to render the lines as a borders on the characters (whitespaces) within the line. Making it impossible to render it on empty lines (or lines that don't have enough whitespaces to reach the indent depth).

I will however keep an eye open for changes and additions to the extension api making this possible.

@dhruvdutt
Copy link

dhruvdutt commented Mar 27, 2018

Why don't we open an issue on VSCode repo to support this in their API?

I personally find it a bit irritating. Sorry but I've kept the extension disabled for this particular reason.

Awesome work, anyway. @SirTori 🎉

@kanlukasz
Copy link

Hi, I see that the last post is from March 2018, so I would like to ask if anything has changed?

@DanTup
Copy link

DanTup commented Apr 6, 2022

I know this issue is quite old, but FWIW I have a need for similar APIs and opened an issue in VS Code here:

microsoft/vscode#73780

It has 300 👍 's, but there doesn't seem to have been any activity on it. Additional 👍 's to show that there's demand that might make it worth adding new APIs might help :-)

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

No branches or pull requests

5 participants