Uh oh!
There was an error while loading. Please reload this page.
Add support for type definition - #645
Conversation
krassowski
left a comment
There was a problem hiding this comment.
Makes sense to me, thank you!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Renamed plugin to *jedi_*type_definition, removed debug lines, fixed copyright lines. Oops... Force push to fix the ruff errors. |
eb5fc48 to
c516911Comparec516911 to
75f6234CompareCustom 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
krassowski
commented
May 22, 2025
The linter is suggesting to move the line in config table so that they are neatly sorted: |
krassowski
left a comment
There was a problem hiding this comment.
This makes sense to me, but I will wait with merge to let other maintainers take a look too.
Uh oh!
There was an error while loading. Please reload this page.
…n-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
…n-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
…n-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
Description
Using jedi's
inferto support checking type definition.The same approach is used by jedi-language-server.
This PR, combined with smheidrich's Goto Implementation PR, should fixissue 97.
Also added some unit tests.