-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
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
Go to definition always to module source insted of stub #326
Comments
This behavior has been changed in pyright
I think that the expected behavior will be achieved by upgrading the version of pyright used in coc-pyright. Related: |
This comment has been minimized.
This comment has been minimized.
You can |
With last coc-pyright and pyright 1.1.115, the behavior has not changed for me and it still goes to the stub file instead of the source code. |
@fannheyward I'm not able to go to source files either. For example, with However, when I use type stubs (from |
@meandmymind what's your Pyright version? Checkout |
@fannheyward coc-pyright 1.1.159 with Pyright 1.1.159 |
I recommend to, whenever exists a module that have stubs (*.pyi), when triggering Go to Definition, don't ask me if I want to go to the stub file, just go straight to module source file. This feature was implemented in latest python extension of vscode, there, in order to go the the stub file you would have to trigger Go to Implementation, it's not a bad solution. Great extension btw! 👍
The text was updated successfully, but these errors were encountered: