hedyhli / outline.nvim

Code outline sidebar powered by LSP. Significantly enhanced & refactored fork of symbols-outline.nvim.
https://sr.ht/~hedy/outline.nvim
MIT License
543 stars 15 forks source link

Feature request: tags support #40

Open ShaolunWang opened 8 months ago

ShaolunWang commented 8 months ago

Love the plugin! I was wondering would it be possible to have tagfile support in the future? On large codebase lsp may not work properly and tags can be used as a fallback method, especially for c/c++ development.

hedyhli commented 8 months ago

I am generally in favor of this. It could be a separate provider that checks for the tagfile.

However, I don't have much experience with the format of tagfile, so this would have to be implemented by someone with more expertise. PRs welcome!

underwoodtan commented 1 month ago

Universal-ctags support JSON output format, and provided basically enough information, so it's easy to write a simple provider, but ctags don't have the consistency that LSP has, so it's hard to handle conner-cases,and harder to support muti languages。 I have impl a sample systemverilog provider based on ctags. I am not familiar with lua,so it's a bit ugly。Is there someone want to take over it?

i guess it'll be easier to support software language