I have Visual Studio Code for Windows and I was wondering if there is a way to make a shortcut to open git bash in VS Code in one click?
I tried looking through the setting but didn't seem to find anything useful.
I have Visual Studio Code for Windows and I was wondering if there is a way to make a shortcut to open git bash in VS Code in one click?
I tried looking through the setting but didn't seem to find anything useful.
I don't know about a single click, but with keyboard shortcuts, you can do this:
{
"key": "", // TODO: pick something
"command": "workbench.action.terminal.newWithProfile",
"args": {
"profileName": "bash"
}
}
Put that in your keybindings.json (use the Preferences: Open Keyboard Shortcuts (JSON)
command in the command palette. This requires that you have already opened VS Code. If you're looking for something like a dock shortcut, then that's a different thing (that I don't know how to do).
Side note: If you actually want to open the VS Code integrated terminal in its own window, see this answer post of mine.