-
Notifications
You must be signed in to change notification settings - Fork 29.1k
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
Feature Request: Customisable Buttons #10709
Comments
The team is very sensitive to adding new Chrome to the UI. Currently you can't add buttons anywhere within VS Code and I believe that is an intentional design decision. Coming soon to the terminal however is the ability to send text to a terminal, which will enable extensions to create custom commands, see https://github.com/Tyriar/vscode-terminal-api-example. I am interested in the specific things you would like the buttons to do however. |
Not the chrome/electron menu; the left-side: That space is begging to be filled with user-buttons. config for which could be as simple as: settings.json
I really do not want to have to type terminal commands I regularly use and almost every other UI out there allows at least some customization. For instance: I could have a button that releases my project; or another one that pushes documentation, via gulp cli calls... but what I want doesn't matter. What matters is empowering users to customize their UI experience in a space that is effectively unused. I think this has been closed prematurely if I'm honest. |
@MeirionHughes this is the issue for allowing extensions to add buttons to that section of the UI (the activity bar) #8511 We prefer to defer functionality like this to extensions and #8511 combined with the terminal API (#9957). In the meantime I would recommend playing with tasks as a way to quickly launch custom tasks from the command palette (F1), you can also build custom commands in an extension and then attach it to a keybinding. |
Why limit this to extensions though? I would think the above config example would make this easy for users to add their own without the need to jump through hoops such as building extensions. The config approach is also applicable for both user and workplace setting files so you can have per-project button setups.
I love vs-code, but right from the get-go I've wondered why there hasn't been an option to add user-configured buttons on that activity-bar; seems like a no brainier, if I'm perfectly honest. Hopefully in the future you'll change your mind. |
Why is the activity bar locked down?
Why would this be extensions only if ever did allow it
Also the sort of user interaction you're after is typically done within vscode currently via commands, keybindings and tasks which you can do already. Having said all this, I don't own this area but I believe I'm echoing the team's feelings fairly accurately. I highly recommend looking into tasks as they allow you to do exactly what you want, just using a keybinding or the command pallete and not a physical button. The command palette (F1) is one of the most powerful features of vscode as you can pretty much call into everything the editor can do. |
To be fair when #8511 is done I can make an extension to do exactly what I propose (read a config from .vscode and add activity buttons) anyway. |
I want to add a svn extension just like git, activityBar is better than terminal or command. |
I want button in the activity bar! |
Support adding custom buttons that execute a terminal command.
Support custom button context options (states that need to be true to be enabled).
Support downloading icons for said custom button from Noun Project.
The text was updated successfully, but these errors were encountered: