We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this is probably regression of #65
when the package contain stub files (*.pyi), the goto definition open the pyi file instead of the actual py file.
goto definition
it should open the py file where the member is actually defined, when use goto definition. Only open pyi file when use goto declaration
goto declaration
in a py script contains following code:
import numpy print(numpy.dtype)
right click on dtype and try any of the goto command, we will see it opens __init__.pyi instead of _multiarray_umath.py
dtype
__init__.pyi
_multiarray_umath.py
The text was updated successfully, but these errors were encountered:
Thanks for the report. Will investigate this.
Sorry, something went wrong.
I'd log an issue with numpy.
looks like its due to numpy defining dtype in __init__.pyi instead of importing it from numpy.core.multiarray like this
numpy.core.multiarray
assuming they also move their dytpe stub definition from numpy/__init__.pyi to numpy/core/multiarrar.pyi as well.
numpy/__init__.pyi
numpy/core/multiarrar.pyi
No branches or pull requests
this is probably regression of #65
Environment data
Behaviour
when the package contain stub files (*.pyi), the
goto definition
open the pyi file instead of the actual py file.Expected vs. Actual Behaviour
it should open the py file where the member is actually defined, when use
goto definition
. Only open pyi file when usegoto declaration
Steps to reproduce:
in a py script contains following code:
right click on
dtype
and try any of the goto command, we will see it opens__init__.pyi
instead of_multiarray_umath.py
The text was updated successfully, but these errors were encountered: