Skip to content

Instantly share code, notes, and snippets.

@mdimai666
Last active May 17, 2024 21:44
Show Gist options
  • Save mdimai666/9bdd190af1caaac4da6354f135bbdbdb to your computer and use it in GitHub Desktop.
Save mdimai666/9bdd190af1caaac4da6354f135bbdbdb to your computer and use it in GitHub Desktop.
Run windows terminal as External tool in Visual Stidio 2022

Extental Tools edit windows

[Menu -> Tools -> External Tools...]

Title = wt

Command = cmd.exe

Arguments = /c start wt -w $(SolutionFileName) --title "$(ProjectFileName)" -d "$(ProjectDir)"

Initial Directory = $(ProjectDir)

[check-boxes]

Close on exist = true

About wt args

cmd:

'wt.exe -h' for arguments info

how edit

  1. appliy this config in Menu -> Tools -> External Tools...
  2. bind key Menu -> Options... -> Environment -> Keyboard : [command] Tools.ExternalCommand4 (4 is menu row num ) -> Ctrl + Shift + C
  3. Make sure unbind all other keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment