dsh-open-with-vscode

在会话头部「打开方式」左侧新增按钮,一键在 VS Code 中打开当前工作区目录,修复桌面宿主 ELECTRON_RUN_AS_NODE 环境变量泄漏导致内置 open-in-app 启动 VS Code 失败(HTTP 502)的问题。仅支持 Windows:按 Code.exe 路径定位,macOS / Linux 尚未适配。

插件介绍

在会话头部「打开方式」左侧新增按钮,一键在 VS Code 中打开当前工作区目录,修复桌面宿主 ELECTRON_RUN_AS_NODE 环境变量泄漏导致内置 open-in-app 启动 VS Code 失败(HTTP 502)的问题。仅支持 Windows:按 Code.exe 路径定位,macOS / Linux 尚未适配。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:faxble/dsh-open-with-vscode

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令
  • 可能需要提供凭据