You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Conditional Activity Bar Icon Visibility Based on Project Type #1028
Feature Request: Conditional Activity Bar Icon Visibility Based on Project Type
Problem Statement
The Python extension's Activity Bar icon is always visible, regardless of whether the current workspace contains Python code. This creates visual clutter when working with non-Python projects and differs from the behavior of other language extensions like Flutter/Dart.
Current Behavior
Python Activity Bar icon appears immediately upon VS Code startup
Icon remains visible in all workspaces (JavaScript, Go, Rust, etc.)
No way to automatically hide/show based on project context
Manual hiding via right-click affects all workspaces globally
Requested Behavior
The Python Activity Bar icon should only appear when a Python project is detected in the current workspace
Show icon when workspace contains:
.py files
requirements.txt
pyproject.toml
setup.py
Pipfile
poetry.lock
conda.yaml / environment.yml
.venv / venv directories
Or any Python-related file/folder indicator
Hide icon when:
No Python indicators are present in the workspace
Working with purely non-Python projects
Benefits
Reduced visual clutter - Activity Bar shows only relevant tools
Improved multi-language workflows - Developers working across Python, JavaScript, Go, etc. get cleaner context switching
Consistency - Aligns with Flutter extension's behavior pattern
User choice - Could be optional via setting: "python.activityBar.showOnlyInPythonProjects": true
User Impact
This would particularly benefit:
Full-stack developers working with multiple languages
DevOps engineers managing polyglot repositories
Data scientists switching between Python and R/Julia
Anyone who values a minimal, context-focused UI
Additional Context
VS Code version: (any recent version supports when clauses)
This is a UX enhancement, not a breaking change
Could default to current behavior (always visible) with opt-in setting
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.
This feature request has not received the 7 community upvotes needed to be considered for future planning within 60 days of its creation. We are closing this issue, but if the community rallies behind it in the future, we are happy to reconsider. Thank you for your feedback!
Activity
anthonykim1 commentedon Dec 1, 2025
Which particular activity bar are you talking about? Could you show a screenshot with maybe a drawing?
Thanks for the feedback
raufzer commentedon Dec 1, 2025
I meant this Activity bar

Here is it

raufzer commentedon Dec 4, 2025
Anthony Kim (@anthonykim1)
github-actions commentedon Dec 8, 2025
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.
github-actions commentedon Apr 24, 2026
This feature request has not received the 7 community upvotes needed to be considered for future planning within 60 days of its creation. We are closing this issue, but if the community rallies behind it in the future, we are happy to reconsider. Thank you for your feedback!
Happy Coding!