This repository has been archived by the owner on Apr 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 133
use ctrl + click jump to definition as deep as pycharm can do #2052
Comments
This is expected behavior for performance reasons. Try setting the setting in this comment and see if it works. |
@jakebailey |
@jakebailey I have enabled jedi, but its hard to use, because sometimes it need much time to load the other module when i click 'go to definition'. |
Did you try setting "python.analysis.memory.keepLibraryAst": true |
Yes, i have enabled the following: {"python.analysis.memory.keepLibraryAst": true,
"python.analysis.memory.keepLibraryLocalVariables": true,} |
@MikhailArkhipov Even though I have jumped into the code definition, when I try to enter again, it is still very slow, as shown in the following: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Vscode can't jump to definition as deep as pycharm can do.
For example:
when i use 'ctrl + click' on "render", it can jump to the render function, but when
i click the method "render_to_string()" inside render function, it can not jump to definition any more, the following is the code snippet:
Second example:
when i use 'ctrl + click' on "get()", it can jump to the get() function, but when
i click the method "setdefault()" or "request()" inside get() function, it can not jump to definition any more, the following is the code snippet:
But when i use pycharm, it can jump to the definition of "render_to_string()" function. So everytime i want to dive into code definition, I must toggle between vscode and pycharm, I feel shame vscode does not have this function. If this extension can add this feature, it would be great!
The text was updated successfully, but these errors were encountered: