1.安裝 FileDiffs plugin
打開 sublime -> command + shift + p -> pci(package install) -> FileDiffs
2.設定 command
快捷鍵
Preferences > Key Bindings - User
[
{ "keys": ["ctrl+shift+d"], "command": "file_diff_menu" }
]
連結外部比對檔案工具
Preferences -> Package Settings -> FileDiffs -> Settings - User
{
"cmd": ["/Applications/kdiff3.app/Contents/MacOS/kdiff3", "$file1", "$file2"]
}
3.開始使用
ctrl+shift+d -> Diff file with Open Tab (跟已開在 Tab 的檔案比對)
全站熱搜