@alex-dsh-plugin/open-in-vscode
Manifest validDeepSeek Harness (dsh) Web plugin: open workspaces in VSCode from the sidebar, and jump chat-referenced files straight into VSCode with line/column support
dsh-open-in-vscode
中文 | English
DeepSeek Harness(dsh)Web 插件:把浏览器 GUI 与 VSCode 打通。
功能
工作区一键打开
侧边栏工作区行的 ... 菜单新增「在 VSCode 中打开」:
- VSCode 已打开该项目 → 直接唤起(聚焦)对应窗口;
- 未打开 → 新开窗口打开项目。
对话内文件跳转
对话中 DSH 输出的文件路径,点击即在 VSCode 中打开:
- 支持收尾正文的行内文件引用、产物文件 chip、工具行打开按钮;
- 所属项目未在 VSCode 打开时,先打开项目窗口,再定位到文件;
- 支持
文件:行:列精确跳转; - 找不到 VSCode 或打开失败时,自动回退为系统默认打开方式,点击永不失效。
安装
dsh plugin --profile web add @alex-dsh-plugin/open-in-vscode
重启 dsh web 生效。插件自带 bundle 层,安装即激活,无需手动编辑配置。
如需覆盖默认配置(如指定编辑器路径),在 ~/.dsh/profiles/web/cordis.patch.yml 追加:
- id: vscode
config:
command: /Applications/Visual Studio Code.app/Contents/Resources/app/bin/code
编辑器探测顺序
- 配置
command(显式覆盖); - macOS:
/Applications/Visual Studio Code.app/.../bin/code(含~/Applications); - PATH 中的
code——指向其他编辑器(如 Cursor)的同名 shim 会被跳过。
均失败时所有手势回退为系统默认打开行为。
配置
| 键 | 默认值 | 说明 |
|---|---|---|
command | 自动探测 | VSCode code CLI 的绝对路径 |
rerouteOpenPath | true | 是否把对话内文件打开改走 VSCode |
已知限制
- 菜单注入依赖当前侧边栏 DOM 结构;上游改版会让菜单项静默失效(不影响其他功能)。
- 可点击的文件引用沿用官方词表:本轮产出文件(精确路径或唯一 basename),外加工具行打开按钮。
- 两个工作区标题完全相同时无法区分,不注入菜单项。
- 仅面向本机部署(浏览器与 host 同机)。
开源协议
MIT © Alex
Comments
Loading…
From the same category
by awesome-dsh-plugin
A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表
★ 18.3k
CC0-1.0
Python
Oct 10, 2026
by 0xsline
DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.
★ 1.2k
CC0-1.0
Python
Oct 10, 2026
by pax-beehive
Open-source CLI, schemas, resolver, and DSH agent tools for DSH Plugin Hub
★ 458
MIT
TypeScript
Oct 6, 2026
by xiajiajun516
DeepSeek Harness (DSH) backup & restore plugin — export, import, migrate and sync your complete DSH configuration, plugins, MCP servers, skills and workspace. One-click migration to another machine.
★ 174
MIT
TypeScript
Oct 8, 2026
dsh plugin --profile web add dsh-config-managerby yjh051108
推荐组件(非必须):DeepSeek Harness 运行时注入器;已随 dsh-routing-suite 单仓库化保留,本仓库继续维护/发布。
★ 164
TypeScript
Sep 18, 2026
dsh plugin --profile web add @dsh-external/dsh-super-injectorby jigjoy-ai
A CLI that turns a goal into a pull request - and a sandbox for testing concurrent AI coding agents on the Mozaik runtime.
★ 124
MIT
TypeScript
Oct 2, 2026