8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using type variables in class names for example
class Test[ValueT]: def __init__(self, value: ValueT) -> None: self.value = value t = Test[int](1)
and then trying to resolve the references for Test will not find any references nor definitions.
Test
[telescope.builtin.lsp_definitions]: No LSP Definitions found
Removing the type variable from the class as a counter check makes it work again
The text was updated successfully, but these errors were encountered:
What is SubTest? A more complete example would help.
SubTest
This might be a limitation of jedi.
Sorry, something went wrong.
That was a typo, I've also updated the example.
When trying to find references from the class definition class Test[ValueT] or declarations from the usage Test[int](1) the LSP can't find them
class Test[ValueT]
Test[int](1)
No branches or pull requests
When using type variables in class names for example
and then trying to resolve the references for
Test
will not find any references nor definitions.Removing the type variable from the class as a counter check makes it work again
The text was updated successfully, but these errors were encountered: