You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
Document symbols should include imported modules #2
In the VS Code Python extension we are sending a textDocument/documentSymbol request and using the result to position code lenses. The data we get back is mostly correct. However, some symbols are missing.
unittest is not currently returned since it is not a variable. However, it is possible to return imported modules as well. What type would we assign to them? I assume Package?
Activity
MikhailArkhipov commentedon Aug 30, 2018
unittestis not currently returned since it is not a variable. However, it is possible to return imported modules as well. What type would we assign to them? I assumePackage?ericsnowcurrently commentedon Aug 30, 2018
The Jedi-related code includes the symbol, with a kind of
Module.ericsnowcurrently commentedon Aug 30, 2018
FWIW, this issue isn't causing any problems. It simply something I noticed when comparing what Jedi returned.
[-]Not all symbols returned by Language Server.[/-]MikhailArkhipov commentedon Oct 5, 2018
Unless it is a user request, won't fix.