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

Conditional activity bar icon #1572

Open
tianrui-qi opened this issue Oct 25, 2024 · 0 comments
Open

Conditional activity bar icon #1572

tianrui-qi opened this issue Oct 25, 2024 · 0 comments

Comments

@tianrui-qi
Copy link

Currently, the R extension icon always appears in the Activity Bar, regardless of whether there are any R-related files (like .R or .Rmd) in the workspace. It shows up even no file/fold is open. This can clutter the sidebar, especially when working on projects that don’t involve R. It also introduces unnecessary visual noise when the extension isn’t actively needed.

For example, the Java extension in VS Code only activates when it detects Java files in the workspace, at which point the “Testing” icon appears in the Activity Bar. Similarly, the Python extension activates when a Python file is opened, triggering the “Testing” icon to appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant