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+pto show shell command input filed - Choose
Shell Command: Install ‘code’ command in PATHoption - Open Mac
Terminal cdto the folder that you want to open by VSCode.- Input
code ., thenEnter