在 macOS 下为 vscode 添加 code 命令行最简单办法是:Ctrl + Alt + P,安装 Shell Command: Install 'code' command in PATH,2 秒之后,便可以在命令行使用 code 命令了。

当然,更 Linux 的做法是在 /etc/profile 文件中添加一个 alias,并 source 一下 profile 使之生效。

相关文章:

  • 2022-01-24
  • 2021-10-05
  • 2022-12-23
  • 2021-04-02
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-11-05
猜你喜欢
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
  • 2021-07-15
  • 2021-04-26
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案