This extension allows for 4 MacBook TouchBar icons (✎1-✎4) that each execute a CLI command of choice in VSCodes integrated terminal.
The extension can be customized within VSCodes settings.
Type desired command
Each button can be hidden when not desired.
Each command can forced to be run in a new terminal window (disabled by default). A new terminal window will also be created if none exist.
The commands are also available from the command palette
(Cmd+Shift+P
) and kan be bound to shortcuts, like
"key": "cmd+shift+1",
"command": "touch-bar-commands.execute.cmd1"
to bind command 1.
This extension contributes the following settings:
touch-bar-commands.enable.cmdX
: enable/disable command Xtouch-bar-commands.force.cmdX
: force command X to be executed in a new terminal windowtouch-bar-commands.command.X
: Command X that is executed
Where X
is the number of the command (1-4).
- The extension cannot dynamically edit the text of the TouchBar icon text due to VSCode limitations.
- Change display name to 'Touch Bar CLI Commands' to avoid confusion
- Minor README update
- Bump
vscode
engine to1.48
- Initial release