命令行打开vscode 打开vscode,输入command+shift+p输入shell command ,选择Shell Command: Install ‘code’ command in PATH运行在命令行工具中输入 「code .」就会打开vscode