添加额外工具:
Tools -> External Tools...
1. 添加Git Console(安装Windows版Git可用)
Title: Git Console
Command: C:Program FilesGitinsh.exe
Arguments: --login
Initial directory: $(ItemDir)
2. 添加Win10的Bash(推荐,安装zsh、antigen或者on-my-zsh以及git后,可以用很多git的alias)
注意:vs是x86程序,不能直接用%systemroot%System32ash.exe,需要用sysnative目录或者找它的源文件。
Title: Bash
Command: C:Windowssysnativeash.exe
Arguments: --login
Initial directory: $(ItemDir)
3. Sublime Text
Title: Sublime Text
Command: "C:Program FilesSublime Text 3sublime_text.exe"
Arguments: $(ItemPath):$(CurLine):$(CurCol)
Initial directory: $(ItemDir)
4. Notepad2
Title: Notepad3
Command: "C:Program FilesNotepad3Notepad3.exe"
Arguments: /g $(CurLine),$(CurCol) $(ItemPath)
Initial directory: $(ItemDir)
5. VSCode
Title: VSCode
Command: "C:Program FilesMicrosoft VS CodeCode.exe"
Arguments: -g $(ItemPath):$(CurLine):$(CurCol)
Initial directory: $(ItemDir)
6. Explorer
Title: Explorer
Command: C:WindowsSystem32explorer.exe
Arguments: /Select,"$(ItemPath)"
Initial directory: $(ItemDir)
7. Windows Terminal
Title: Windows Terminal
Command: C:WindowsSystem32cmd.exe
Arguments: /d /c for /f "tokens=1" %i in ('dir /b "%userprofile%AppDataLocalMicrosoftWindowsAppsMicrosoft.WindowsTerminal*"') do start "" "%userprofile%AppDataLocalMicrosoftWindowsApps\%~iwt.exe"
Initial directory: $(ItemDir)
[x]: Close on exit
关闭反馈
~~~~~~~
Help -> Send Feedback -> Settings
No, I would not lick to participate.