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
Show symbols in file (i.e. Outline) #768
Comments
Can you post a minimal example reproducing the LaTeX Outline problem? I thought it had been fixed. |
Huh when I checked again it works now. I'll let you know if it happens again, and if I see a pattern in what could cause it. Anyway my feature request of using the various section levels + chapters as a symbol list still stands, it'd be really useful 🙂 |
A log is printed when outline is unable to resolve a filename. This is related to #768.
Will be released shortly. |
The purpose of this issue was primarily too add chapters, sections, subsections and subsubsections to the symbols list, i.e. command ⇧⌘O on Mac, Ctrl+Shift+O and Windows. Is that what's being released shortly? This wasn't really about populating an outline in the sidebar, but making that same outline available in the symbols list. The only symbol I've noticed being detected is for figures. Symbols for various levels of sections would be much more useful. |
Sections worked originally. The new release is not about providing a new feature but refining it. If there is no outline shown for your project for now, pleae provide your source file since it is currently working for other projects. |
@James-Yu I want to distinguish between outline being available in the sidebar, which I suspect you may be talking about vs. outline being available in "Go to symbol in file" command ( |
Because regex seems not powerful enough to identify which environment the current \caption is in. I'll look into it, but it seems not quite likely. |
Yes I think that’s good actually. It’s strange the commands are called the same, with the distinction of being symbols in file and symbols in workspace. Obviously it’s also a different set of symbols l, not just a question of scope. Anyway this issue is surely concluded now with a satisfying conclusion. Thanks for your work. |
Description
LaTeX Workshop does not help VSCode recognize symbols, i.e. you can't jump to a section of text with the
Go To Symbol in File...
command (⌘⇧O). I suggest making this into symbols for easy navigation:chapter
section
subsection
subsubsection
How symbols look in LaTeX currently
It also means that the Outline pane is empty, which would otherwise be populated by the the list of symbols (i.e. sections):
How symbols look in Markdown
As an example, here is how the symbol list looks for a typical Markdown file:
And the Outline contains the same but collapsable:
The text was updated successfully, but these errors were encountered: