dsh-editor-selection
Run the following command in DeepSeek Harness:
dsh plugin install yingzaicc/dsh-editor-selection
Paste the following prompt into your AI chat to install this plugin:
Install the plugin in DeepSeek Harness using the command `dsh plugin install yingzaicc/dsh-editor-selection`, with the full source address at https://github.com/yingzaicc/dsh-editor-selection.
About this plugin
When programming, we often need to explain code or seek assistance from AI helpers, but manually copying and pasting code snippets is tedious and can lose context. The dsh-editor-selection plugin addresses this pain point by automatically detecting the code region you have selected in the editor. Its core capability is to capture the absolute path and line range of the selection in real-time, injecting this information into DSH conversations through a lightweight mechanism without dumping file contents, thereby keeping conversations concise and ensuring the AI focuses on the current code. Moreover, the plugin offers privacy controls like an eye toggle and multi-window compatibility, making it ideal for developers who frequently use DSH for code assistance, especially VS Code users, as it enhances the intelligence and efficiency of AI interactions.
Use Cases
- After selecting code in the editor, DSH conversation automatically focuses on that area
- Right-click selected code and choose 'Explain Code' for DSH to automatically start explaining
- In multi-window setups, each window's selection is independently passed to DSH
Best For
- Developers who frequently use DSH for code assistance
- Programmers using VS Code or other supported editors
- Software engineers looking to enhance AI conversation efficiency
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.