question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Environment Selection bar disappeared in Interactive Window

See original GitHub issue

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur

  1. Open VS Code
  2. Ctrl+Shift+P, Python Interactive Window

Actual behavior

The bar that shows current kernel/environment flashes as interactive window launches, and then completely disappears.

Expected behavior

In the Interactive Window, on top of control buttons, there used to be a bar that shows current kernel/environment, which you can click on and switch if needed.

Your Jupyter and/or Python environment

Please provide as much info as you readily know

  • Jupyter server running: Local
  • Extension version: 2020.9.111407
  • VS Code version: 1.49.2
  • Setting python.jediEnabled: true | false
  • Setting python.languageServer: Jedi | Microsoft | None
  • Python and/or Anaconda version: 3.6.10 64-bit
  • OS: Windows 10 1909
  • Virtual environment: virtualenv

Python Output

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
greazercommented, Oct 8, 2020

Current thoughts:

  1. Add a setting to bring back old behavior – not discoverable.
  2. Add a command to change kernel for active interactive window – This is our current favorite idea.
  3. Just revert back to the old behavior – The reason we made this change was to alleviate user confusion overall, since we had that feedback.

More discussion will happen over the next couple weeks.

1reaction
volopassecommented, Oct 6, 2020

Would like to add another use case, that appears to have been dropped with this change.

I have several kernels using one interpreter. These are in ~/.local/share/jupyter/kernels, and some are manually edited (e.g. to include environmental variables). Previously I was able to select the specific kernel from there, but with this new approach I no longer have that flexibility.

I would also second @elvissey1984 's point about quickly selecting the kernel, and also knowing which one you’re using at the moment. Once again, I’m not sure how many people have different kernels under the same interpreter, but this functionality has been lost

Read more comments on GitHub >

github_iconTop Results From Across the Web

Environment Selection bar disappeared in Interactive Window
In the Interactive Window, on top of control buttons, there used to be a bar that shows current kernel/environment, which you can click...
Read more >
Options and settings for Python - Visual Studio (Windows)
Show notifications bar to create environments ... (Tools > Options > Python > Interactive Windows tab.) ... Selection in Completion List ...
Read more >
VS Code: Shift+Enter does not send code to Python Interactive
If you go to the Settings( Ctrl + , ) you can see the search bar. There, put in 'Send Selection To Interactive...
Read more >
Visual Studio Code Frequently Asked Questions
Visual Studio Code FAQ. Our docs contain a Common questions section as needed for specific topics. We've captured items here that don't fit...
Read more >
How do I get the workspace window back? - MATLAB Answers
In the Home tab of the toolstrip, click on the arrow below Layout in the Environment section. You can select what desktop components...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found