Operation In Mac

Posted by Learning libs on July 25, 2020

mac 使用code命令打开VSCode

Open VSCode by code . for Mac

We can use open . command to open folder in Finder.

Also we can use code . command to open VSCode:

  • Download VSCode for Mac
  • Press command+shift+p to show shell command input filed
  • Choose Shell Command: Install ‘code’ command in PATH option
  • Open Mac Terminal
  • cd to the folder that you want to open by VSCode.
  • Input code ., then Enter

Mac shortcut

cnblogs.com/guchunchao/p/9771548.html