Skip to content
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

Language server does not update when selecting Python environment #6285

Closed
1 of 2 tasks
imadjarov-quantinuum opened this issue Aug 21, 2024 · 1 comment
Closed
1 of 2 tasks
Assignees
Labels
duplicate This issue or pull request already exists needs repro Issue has not been reproduced yet waiting for upstream Waiting for upstream to release a fix

Comments

@imadjarov-quantinuum
Copy link

imadjarov-quantinuum commented Aug 21, 2024

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

When I select a Python environment in a Jupyter notebook from the environment picker, the language server does not update (i.e. syntax highlighting, etc.). It only updates when I close and re-open the notebook.

I am using Jupyter notebooks with Remote - SSH on a remote Linux machine. My language server is Pylance v2024.8.1.

VS Code Version

1.92.2

Jupyter Extension Version

v2024.7.0

Jupyter logs

No response

Coding Language and Runtime Version

Python v3.8.13

Language Extension Version (if applicable)

v2024.12.3

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Remote

@imadjarov-quantinuum imadjarov-quantinuum added the bug Something isn't working label Aug 21, 2024
@imadjarov-quantinuum imadjarov-quantinuum changed the title Language server does not update when selecting new Python environment Language server does not update when selecting Python environment Aug 21, 2024
@DonJayamanne DonJayamanne assigned luabud and unassigned DonJayamanne Aug 21, 2024
@luabud luabud removed the bug Something isn't working label Aug 22, 2024
@luabud luabud transferred this issue from microsoft/vscode-jupyter Aug 22, 2024
@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Aug 22, 2024
@luabud luabud assigned StellaHuang95 and unassigned luabud and StellaHuang95 Aug 22, 2024
@rchiodo
Copy link
Contributor

rchiodo commented Aug 22, 2024

Thanks for the issue. This should be a dupe of microsoft/vscode-jupyter#15965

@rchiodo rchiodo closed this as completed Aug 22, 2024
@rchiodo rchiodo added duplicate This issue or pull request already exists waiting for upstream Waiting for upstream to release a fix labels Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists needs repro Issue has not been reproduced yet waiting for upstream Waiting for upstream to release a fix
Projects
None yet
Development

No branches or pull requests

5 participants