-
Notifications
You must be signed in to change notification settings - Fork 770
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
Pylance (>=2024.10) does not highlight syntax after using 'Go to Definition' from Jupyter Notebook #6972
Labels
needs repro
Issue has not been reproduced yet
Comments
Can you provide us some logs as described in the troubleshooting guide? |
Yes, thanks for pointing me to that tutorial, here it is. This is me opening VS Code, opening a new Jupyter notebook, choosing a kernel (freshly minted using python venv), typing Logs
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment data
Code Snippet
E.g. Right-click and
Go to Definition
onmath
Repro Steps
Go to Definition
option, such asimport math
math
and clickGo to Definition
math.pyi
math.pyi
, create a new filetest.py
, typeimport math
into it, then doGo to Definition
from that file, syntax will be highlighted inmath.pyi
as expected.Expected behavior
Pylance should highlight syntax in the file that was opened via
Go to Definition
from a Jupyter notebook.Actual behavior
Pylance does not highlight syntax in the file that was opened via
Go to Definition
from a Jupyter notebook.Logs
The text was updated successfully, but these errors were encountered: