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