mac vscode -bash: code: command not found

code .不能快速打开当前路径的控制面板。

  1. 打开vscode 快捷键shift+command+p 后输入shell
  2. 选择 Install ‘code’ command in PATH