-
Notifications
You must be signed in to change notification settings - Fork 1
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
Live updating HTML breadcrumbs #4
Comments
@qbolec Wow, that looks fantastic |
Thanks! It lacks a horizontal line separating the "breadcrumbs" from the code, which could be achieved using a Phantom. I am not sure if this should be developed as evolution of this plugin, or in a separate plugin which does this one thing only (Autofold, Autofolding, Autofolder?) |
I don't mind either, I'm just trying to extract hierarchical breadcrumbs from Markdown files, your solution looks really cool, this project is really cool. Phantoms are the way forward though, so my vote goes out to evolution of this plugin, if you have the time. |
During the very stimulating discussion an idea emerged for a solution which would permanently display the breadcrumbs in a most natural way.
As a developer I am used to a certain way of making myself aware of the current scopes: I use the visual information about indentation (often helped by IDE's vertical guidlines) to find a line above the current one with a particular indentation. This leads to the idea, that perhaps we don't have to do anything for the scopes which are already visible on screen, but could help the developer with the scopes which are opened above the current viewport range.
A simplistic implementation would be to simply bring the important lines closer to the current line, so that they fit into the view - this could be achieved for example by contracting/hiding the non-important lines so that at the top of the window the first few lines would form a digest, of most important lines which would otherwise be above the window.
A more complicated, but perhaps more eye-pleasing idea would be to use something like this:
Some open questions:
The text was updated successfully, but these errors were encountered: