1. 打开 VS Code
  2. 按下⌘ + ⇧ + P
  3. 输入> path
  4. 选择Shell 命令:在 PATH 中安装“code”命令Shell Command: Install 'code' command in PATH