A Python language server exclusively for Jedi. If Jedi supports it well, this language server should too.
572
stars
44
forks
source link
Properties should be children of classes not the methods where they are defined #240
Closed
pyscripter closed 1 year ago
Consider the following python code:
The response to a docSymbols request is:
You can see that 'prop' is a child of
__init__
, but I think that it should be a child of the class A.The problem is the following code in jedi_utils.py.lsp_document_symbols:
I think this should be replaced with: