vscode
手動(dòng)打開vscode
command + shift + p 打開命令面板(或者點(diǎn)擊菜單欄 查看>命令面板)
輸入shell(選擇"install code command in PATH")
打開終端 cd到要打開的文件夾 輸入"code ."
打開終端
輸入命令行
ln-s"/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl"~/bin/subl
vscode
手動(dòng)打開vscode
command + shift + p 打開命令面板(或者點(diǎn)擊菜單欄 查看>命令面板)
輸入shell(選擇"install code command in PATH")
打開終端 cd到要打開的文件夾 輸入"code ."
打開終端
輸入命令行
ln-s"/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl"~/bin/subl