Skip to content

Only show python status bar item when you are in a python file #10609

@mjbvz

Description

@mjbvz

Environment data

  • VS Code version: 1.44.0-insider
  • Extension version (available under the Extensions sidebar): 2020.4.68094-dev
  • OS and version: MacOS 10.15.3
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.3
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): NA
  • Relevant/affected Python packages and their versions: NA
  • Relevant/affected Python-related VS Code extensions and their versions: NA
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version #3977): Language server
  • Value of the python.languageServer setting: Microsoft

Repro

  1. Open a .py file in VS Code

  2. Now open a js file (and make sure the python file is closed)

Bug

The python info still shows in the status bar:

Screen Shot 2020-03-16 at 8 36 07 PM

In general, the status bar should only show information that is relevant for working in the current file. The python version info is not helpful when are editing a JS or markdown file

Related

Metadata

Metadata

Assignees

Labels

area-environmentsFeatures relating to handling interpreter environmentsfeature-requestRequest for new features or functionalityneeds proposalNeed to make some design decisionspartner ask

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions