-
Notifications
You must be signed in to change notification settings - Fork 50
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
Highlight start of code block when selecting the end, and vice versa #21
Comments
worryingly when I searched google for how/if this is possible this issue came up. I'm not sure if this is achievable with the VSCode extensions at the moment but I will look into it |
I think the Ruby extension does this. I already tried finding the code that does this but got tired. |
It may be a completely separate thing but matching/highlighting in eex templates would be a welcome addition too. Specifically on opening/closing element tags, i.e. , and opening closing < >. If you switch the language over to the stock html one it does this already. It looks like for eex it is highlighting all instances of a given tag. |
https://github.com/rubyide/vscode-ruby/blob/master/ruby.js#L11 This is how the ruby plugin does it (see the following lines) |
Beginning working on highlighting code blocks.
Did this end up getting updated? @fr1zle |
@richjdsmith Sadly, no. I tried doing this in #34 but there are many edge cases not covered. Feel free to look into it, though! |
I can try and take a look at this |
It'd be nice if when selecting
end
in the code block below,def
is highlighted, and vice versa. Currently VSCode just highlights other instances ofend
.The text was updated successfully, but these errors were encountered: