question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature] VS Code like code outline view using tree-sitter plugins

See original GitHub issue

Hi. I regularly explore code in github. It would be awesome if we could show a code outline view like vs code outline-view We can use web-tree-sitter along with tree-sitter-grammars for different extensions.

Features:

  • Easy to navigate code-bases and also long markdown files.
  • Downloading tree-sitter-grammars (wasm files) dynamically for each extension the user has visited.
  • Web workers + WASM based parser to avoid slowdown.
  • The outline view can be put below the original file-tree in an accordion. Similar to how VS Code does in its sidebar.

I can help you guys with this feature. I have good experience with tree-sitter

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
EnixCodacommented, Jan 31, 2021

The outline of markdown is on the right side.

image

Feel free to have your own fork! Gitako is using MIT license.

0reactions
Himujjalcommented, Jan 30, 2021

I checked both the extensions. First one does serve the purpose of code-folding. Second one is kinda doesn’t give me outline view for markdown though.

you mind if I fork this repo and maintain my own extension. Loading too many extensions is not something I prefer though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Neovim 101 — Code Outline - Medium
nvim plugin supports using Tree-sitter and LSP to display a code outline window. It also integrates with Telescope and FZF for fuzzy finding...
Read more >
aerial.nvim - Neovim plugin for a code outline window - GitHub
A code outline window for skimming and quick navigation ... In addition, you will need to have either Treesitter or a working LSP...
Read more >
Neovim - Treesitter Syntax Highlighting - YouTube
Repo: https://github.com/LunarVim/Neovim- from -scratchTreesitter repo: https://github.com/nvim- treesitter /nvim-treesitterRainbow parens: ...
Read more >
Added code folding to my symbols tree plugin, I think ... - Reddit
I've been using symvols-outline.nvim recently, but this looks like a big step up. I especially like the features that allows going to the ......
Read more >
vscode.dev Visual Studio Code for the Web
Like a lot of people who buy a .dev domain, we had no idea what we ... you may still be able to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found