-
Notifications
You must be signed in to change notification settings - Fork 37
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
show class hierarchy or method override like pycharm #355
Comments
does anyone know if the LSP protocol has anything for this? if not, it will probably need to be a vscode/vscodium only feature |
I assume that LSP has something called 'hierarchy' as stated here: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/, which I believe has the ability to traverse the inheritance tree. There is also a open MR on pylance gh - microsoft/pylance-release#4972. |
i really wish the LSP spec contained screenshots or some sort of visual representation of its features. it's hard to tell what any of this stuff is. i'm looking at what i believe to be the typescript language server's "call hierarchy" and i don't understand what it's trying to show me. for example when i try to show the call hierarchy on
it's possible i'm misunderstanding what this call hierarchy feature is supposed to be, but it seems to be completely different to the hierarchy buttons in pycharm unfortunately |
That's callers of, not type hierarchy. I think it's references? |
this is doable with |
When using Pycharm, I have the ability to check at a glance if a given method or class has corresponding children or parents. Could you please add similar functionality to basedpyright? This is a game changer when opening huge projects with lots of multi inheritance :)
The text was updated successfully, but these errors were encountered: