Could the symbol picker be used to navigate documents using Markdown headings? #2310
-
It would be great to be able to navigate markdown using the headings:
Is that in the scope of the symbol picker? This feature would be a game changer. Just having an overview of the document headings alone would be really useful. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Ideally this is something an LSP for markdown would provide (I need to swing back around to #2182 😅) This could alternatively be accomplished with tree-sitter tags (#1252 is about stack graphs but the concepts are similar). |
Beta Was this translation helpful? Give feedback.
-
I'm getting this feature to work using the symbol picker with marksman lsp in Helix! |
Beta Was this translation helpful? Give feedback.
Ideally this is something an LSP for markdown would provide (I need to swing back around to #2182 😅)
This could alternatively be accomplished with tree-sitter tags (#1252 is about stack graphs but the concepts are similar).
I think that's what Zas editor is doing with the "Filter Symbols" picker (scroll down to the "file structure" part of zas' website).For programming languages symbols are usually functions / methods / classes but for markup you could tag headers and paragraphs and the like.