.zip 文件。.zip 文件进行解压,你会得到一个 Visual Studio Code.app 应用程序。Visual Studio Code.app 拖动到 Applications 文件夹中,这样你就可以从应用程序目录运行它。删除操作会删除不再存在于远程库上的远程跟踪分支,有助于将分支列表保持干净和最新,对应于 git fetch --prune。
git prune。
在 VS Code 的 settings.json 文件中添加 gitlens.ai.generateCommitMessage.customInstructions 配置项:
{
  "gitlens.ai.generateCommitMessage.customInstructions": "Generate a Conventional Commit message. The commit type (e.g., feat, fix, chore) and any optional scope can be in English, but the main description of the commit must be written in Chinese."
}

为了能够在终端中使用 code 命令来快速打开文件和文件夹,你可以安装 code 命令行工具:
打开 VSCode,按 Cmd + Shift + P,然后输入 Shell Command: Install 'code' command in PATH,选择该选项并执行。
安装完成后,你可以在终端中运行 code 命令。例如:
# 打开当前目录
code .
Automator 打开它

运行 Shell 脚本,将其拖动到右侧的工作区Shell 下拉菜单中选择 /bin/zsh传递输入 下拉菜单中选择 作为自变量for f in "$@"
do
    open -a "Visual Studio Code" "$f"
done

使用 VSCode 打开服务 -> 使用 VSCode 打开