BlankLin

lazy and boring

0%

macbook使用code .命令在vscode打开当前目录

在vscode里使用快捷键如下

Open the Command Palette via (⇧⌘P)

在弹出框中输入命令如下

shell command
vscode

重启vscode

After executing the command, restart the terminal for the new $PATH value to take effect. You’ll be able to simply type ‘code .’ in any folder to start editing files in that folder. The “.” Simply means “current directory”