dsh-codeui
提供代码审查卡片与对比面板的工具 适合在DSH中进行代码评审、对比差异并直接编辑文件的开发者。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:YLingHao/dsh-codeui说明文档
阅读完整 README ↗使用
- 左下角 📁 切换资源管理器。
- 每轮对话结束后,在产物列表下方查看 Review 卡片;点击文件或
Review打开右侧面板。 - Review 面板默认统一视图;“统一”按钮在分段控件最左侧;切换轮次只更新面板,不跳转对话。
- 统一视图默认是 Codex 风格简略 diff(修改块前后各 3 行上下文);再次点击“统一”在简略和完整文件之间切换。点击“编辑”进入当前文件编辑模式,修改后会自动保存。
- 编辑器出现“文件已被其他程序或智能体修改”时,请点击“重新载入”后再继续;出现工作区范围错误时,请先在当前会话选择正确的工作区。
- 右侧轨道悬停提问行查看文件详情卡;点击轮次跳转对话。
设置 → Code UI:资源管理器、Review 面板、Git 标记、插件语言;设置自动保存。
Usage
- Toggle the explorer with the 📁 button.
- After each turn, use the Review card below the produced-files list; click a file or
Reviewto open the right panel. - The Review panel defaults to unified view (“Unified” is the first segmented button); switching turns updates only the panel.
- Unified view starts compact, showing each change with three unchanged context lines. Click
Unifiedagain to switch between compact and full-file modes. ClickEditto modify the current file with autosave. - If the editor reports that the file changed elsewhere, click
Reloadbefore continuing. If it reports a workspace-boundary error, select the correct workspace for the current session. - Hover a rail question row to inspect that turn's files; click the turn to jump the conversation.
Settings → Code UI: explorer, Review panel, Git badges, and language. Changes are saved automatically.