stevearc / aerial.nvim

Neovim plugin for a code outline window
MIT License
1.69k stars 83 forks source link

feature request: workspace-level symbols #357

Open ivanjermakov opened 6 months ago

ivanjermakov commented 6 months ago

Did you check existing requests?

Describe the feature

Provide a Telescope extension similar to lsp_workspace_symbols to behave like aerial but scan the whole workspace instead of a single buffer.

Provide background

No response

What is the significance of this feature?

nice to have

Additional details

No response

stevearc commented 5 months ago

Aerial is entirely built for visualizing and navigating the symbols in a single file. How are you thinking this would work, and how would it differ from :Telescope lsp_workspace_symbols?

ivanjermakov commented 5 months ago

@stevearc :Telescope lsp_workspace_symbols is not respecting symbol "depth" in any way, it's just a flat list of every symbol in a project.

Aerial is depth-aware and can provide a nicer output. I imagine Aerial output would be like current single-file output but joining every file in a workspace.