Adds a command for opening the current project in SourceTree.
- If there is a file open, it will open the git repo for that file
- If it is a workspace, it will ask you what folder you would like to open
- It will automatically find the best git repo to open
Run the following in the command palette:
ext install vscode-open-in-sourcetree
It adds 1 command to the command palette and 1 item to the context menu:
'Open in SourceTree' // Open the current project in SourceTree
Map Open in Source Tree
action to this extension, add this to your keybindings.json
file:
{ "key": "⌘⌃S", "command": "openInSourceTree.open" }
MIT © Craig Morris