Skip to content
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

[Feature] Call Hierarchy Navigation #322

Closed
pidgeon777 opened this issue Nov 8, 2023 · 2 comments
Closed

[Feature] Call Hierarchy Navigation #322

pidgeon777 opened this issue Nov 8, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@pidgeon777
Copy link

LSP supports Call Hierarchy, to see the called function, or the functions they call. See from here:

https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_prepareCallHierarchy

It would be great to add a function to the AerialNav panel so that, instead of the symbol hierarchy, it is possible to navigate the call hierarchy.

So:

  • Left window: functions which call function_xxx
  • Middle window: function_xxx
  • Right window: functions called by function_xxx

This could be implemented in three ways:

  • Using a different command, e.g. AerialNavCallHierarchy.
  • Using the same AerialNav window, switching to the call hierarchy and symbols mode with a keybinding.
  • Showing both the symbols and the calls in the same AerialNav window.
@pidgeon777 pidgeon777 added the enhancement New feature or request label Nov 8, 2023
@stevearc
Copy link
Owner

stevearc commented Nov 9, 2023

This sounds pretty divergent with the previous functions of aerial. If this feature was built as a standalone plugin, would there be any overlap with aerial other than the miller column UI?

@stevearc
Copy link
Owner

Closing as out of scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants