-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Breadcrumbs for chapter + section #3545
Comments
Not sure if this is possible, do you have any idea how they determine scopes? Don't see anything in the intellij sdk docs yet about sticky lines |
Absolutely no idea, only hunch is that it uses environs that close and open? Cuz |
Okay, I checked and every command is being accepted (so if there was such thing as a multiline command, then it would be sticking. I am 99% sure that the reason that it isnt sticking is the fact that the element being accepted is ONLY the |
Yeah I guess that's the only way it can determine the scope. I don't see an easy way to add sectioning commands to the parser without breaking a lot of things though. |
I want to give it a shot, and I'm not sure where to start. Starting in the Thoughts @PHPirates ? |
Querying user settings from the lexer is probably not a good idea because it will make the lexer slow. There are also token type remappers ( |
I saw those, and I concured that they are hard to use. For such a new feature I think it would be fine to wait a little to see what happens. We have folding for the chapter so secretly im hoping we will be able to recycle that. |
In IDES circa 2024, they added sticky lines. While it works for a lot of tokens, it does not work for
\chapter
or\section
tokens, which I would think are important to know where you are in the tex.I think this should be obvious to replicate? just add a
\chapter
and a lot of lines and scroll down and see that it doesnt end up at the sticky linesThe text was updated successfully, but these errors were encountered: