-
-
Notifications
You must be signed in to change notification settings - Fork 314
The Language Server fails to provide document symbols for nested classes #1140
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
Comments
For the record here is the Language server traceback for the first example.
|
Quick fix: Replace C:\ProgramData\PyScripter\Lsp\jls\jedilsp\jedi_language_server\jedi_utils.py with the following: This avoids the error but it still does not show the class nested inside the function. This requires a fix on the PyScripter side which will be made available in the next release. It does however correctly show nested classes. |
I can confirm that corrects the error and the Code Explorer pane now populates. |
I have committed the changes to show classes and functions nested inside functions. |
Reported as pappasam/jedi-language-server#170 |
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce
The Code Explorer Window is empty.
However the following works (but no information is provided about the nested class):
This is a bug in the language server.
The text was updated successfully, but these errors were encountered: