Replies: 1 comment 4 replies
-
This is functionality that pylance adds on top of pyright. It requires some sophisticated heuristics to find associations between typeshed stubs and implementation files. We have no plans to implement this in pyright. If you want this functionality, you can use pylance. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
"Go to Definition" doesn't work for private methods of stdlib. In the following code example "Go to definition" doesn't work for
self._last_mtime
. It is probably related to pyright only looking at typeshed for symbols in stdlib microsoft/pyright#5825The "Go to definition" works correctly if I change
"python.languageServer": "Pylance"
server to"Jedi"
I don't know if this is a bug or improvement for PyLance or a config option I can change somewhere
Beta Was this translation helpful? Give feedback.
All reactions