小技巧:使用命令行打开vscode 以及其他工具

vscode

  1. 手动打开vscode
  2. command + shift + p 打开命令面板(或者点击菜单栏 查看>命令面板)
  3. 输入shell(选择"install code command in PATH")
  4. 打开终端 进入需要用IDE打开的文件夹 输入"code ."

sublime

  1. 打开终端
  2. 输入命令行
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl

猜你喜欢

转载自blog.csdn.net/h774140913/article/details/84650273
今日推荐