Skip to content

Instantly share code, notes, and snippets.

@kohenkatz
Last active August 16, 2023 08:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save kohenkatz/63d99de097a61d7b72314c0b3853a4ef to your computer and use it in GitHub Desktop.
Save kohenkatz/63d99de097a61d7b72314c0b3853a4ef to your computer and use it in GitHub Desktop.
Opening Windows Terminal and VSCode from SmartGit
# Add these entries to your `tools.yml` to be able to right-click to open
# things in VSCode (files and folders) and Windows Terminal (folders only).
# Make sure to change `YOUR_USERNAME` in the VSCode path.
tools:
- name: Open in VSCode
fileStarter: {command: 'C:\Users\YOUR_USERNAME\AppData\Local\Programs\Microsoft VS Code\Code.exe',
parameters: '"${filePath}"'}
useForOpen: true
waitUntilFinished: false
filePattern: '*'
- name: Open in Windows Terminal
fileStarter: {command: cmd.exe, parameters: '/c wt.exe -d "${filePath}"'}
useForOpen: true
waitUntilFinished: false
filePattern: '*'
forFilesNotDirectories: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment