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

[Enhancement] Better Lspsaga subtypes and Lspsaga supertypes LSP filtering #1428

Open
pidgeon777 opened this issue Apr 22, 2024 · 0 comments

Comments

@pidgeon777
Copy link

pidgeon777 commented Apr 22, 2024

When running the following commands:

  • Lspsaga subtypes
  • Lspsaga supertypes

a pop-up appears asking to select the wished LSP to perform the TypeHierarchy request.

For example, in the case of Python** it is possible in my buffer to select between:

  • basedpyright
  • ruff
  • copilot

copilot wouldn't make sense and it is suggested on every buffer where it is active.

To solve this, I would propose for example to check if the LSP attached to the buffer supports the TypeHierarchy capability, before showing it in the pop-up.

Also, maybe it would be technically possible to merge all of the results provided by the remaining LSPs?

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

No branches or pull requests

1 participant