Skip to content

Instantly share code, notes, and snippets.

@pedoc
Forked from kohenkatz/tools.yml
Last active May 21, 2022 04:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pedoc/c510ba7ecf6c7c65133d9806f00b9978 to your computer and use it in GitHub Desktop.
Save pedoc/c510ba7ecf6c7c65133d9806f00b9978 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) and Visual Studio(sln files).
# 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
- name: Open default sln
fileStarter: {command: opendef.exe, parameters: '--path "${filePath}" --ext sln'}
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