mbinic / vscode-tgit

TortoiseGit commands for Visual Studio Code
MIT License
9 stars 2 forks source link
command-palette git keyboard-shortcuts tortoisegit visual-studio-code

TortoiseGit commands for Visual Studio Code

Introduction

Inspired by the TortoiseGit Toolbar Visual Studio extension, this extension provides commands for launching common TortoiseGit dialogs from within Visual Studio Code.

You can execute these commands either by searching for TGit in the Command Palette (Ctrl+Shift+P), or via keyboard shortcuts.

Default shortcuts

Global shortcuts:

Current file shortcuts:

Bisect commands are also available, but with no preset shortcuts.

To customize shortcuts go to File -> Preferences -> Keyboard Shortcuts.

Shortcut conflicts

Since the default shortcuts will make Ctrl+G (Go To Line) inaccessible, you can change them, or just change the one for "Go To Line" to be e.g. Ctrl+G, Ctrl+G:

{ "key": "Ctrl+g Ctrl+g", "command": "workbench.action.gotoLine" }

Extension Settings

This extension contributes the tgit.launcherPath setting, specifying the full path to TortoiseGitProc.exe. It is set to the default installation path of TortoiseGit, so you might need to adjust it if you installed elsewhere.


Running the code


Here's to productivity!