-
Notifications
You must be signed in to change notification settings - Fork 217
Feat/type definition #645
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
base: develop
Are you sure you want to change the base?
Feat/type definition #645
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me, thank you!
Renamed plugin to *jedi_*type_definition, removed debug lines, fixed copyright lines. Oops... Force push to fix the ruff errors. |
eb5fc48
to
c516911
Compare
c516911
to
75f6234
Compare
Custom pylsp is based on [python-lsp-server](https://github.com/python-lsp/python-lsp-server), and plus the following pull requests: 1. semanticTokens/full: python-lsp/python-lsp-server#645 2. typeDefinition: python-lsp/python-lsp-server#533 Maybe also 3. implementation: python-lsp/python-lsp-server#644
The linter is suggesting to move the line in config table so that they are neatly sorted:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense to me, but I will wait with merge to let other maintainers take a look too.
Description
Using jedi's
infer
to support checking type definition.The same approach is used by jedi-language-server.
This PR, combined with smheidrich's Goto Implementation PR, should fix issue 97.
Also added some unit tests.