3

Status Bar Image when python file is opened

pls help if you can, idk why the current active interpreter is not visible in the status bar anymore when ive python file opened, its a pain to open command pallete and then type python interpreter just to check what venv im in.

2 Answers 2

5

Feb 2022 VS Code changes: https://devblogs.microsoft.com/python/python-in-visual-studio-code-february-2022-release/

Move pinned interpreter status bar item towards the right behind pythonInterpreterInfoPinned experiment. (#18282)

  • Use language status API to move interpreter info inside the "Python" item in the right side.
  • It is unpinned by default.

enter image description here

After pinning and hovering:

enter image description here

UPDATE 17/03/2022: Looks like on latest VS Code update they have removed {}, and the interpreter is now permanently pinned to the right of "python" enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

Have been looking for hours to figure out why one machine is showing interpreter and other does not.... This worked fine, thanks guys,.
Huh! I did not notice that clicking on "Python" is now different from clicking on "{}". The latter lets you change the interpreter. Confusing.
0

You can just tap CTRL + Shift + P and typing Python Interpreter, it'll will show in VS Code a way to you select a interpreter.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.