basedpyright
basedpyright copied to clipboard
docstrings for standard library should link to docs.python.org
The doc popup should also link to docs.python.org like PyCharm does:
- https://github.com/DetachHead/basedpyright/issues/160#issuecomment-2002673382
- ~~Also link to the source code.
For instance, if PYTHON_VERSION=3.13.0, thenasyncio.gathershould link to https://github.com/python/cpython/blob/v3.13.0/Lib/asyncio/tasks.py#L784-L813~~ EDIT: Already handled bytextDocument/Definitionwhich suggests the relevant.pyfile (in addition to.pyifiles). - Also links for major non-standard libraries (e.g.
torch,plotly, ...)
"go to definition" already takes you to tasks.py while "go to declaration" takes you to tasks.pyi