dsh-studio-for-vscodeDSH (DeepSeek Harness) inside VS Code: files and selections in the editor become chat references, and file links in the chat resolve back to the source.
English | 中文
FeaturesEditor context referencesRight-click in the explorer or the editor and choose Add to Chat to add the current file, folder, or selection to the current session or a new one. No path copying and no window switching. File links back to the editorFile paths, reference chips, and tool-call lines in a DSH answer are clickable: they open in VS Code at the corresponding line and column. If the host rejects the request, the page falls back to its built-in preview and logs the reason to the console. Pinned workspaceOnly the current IDE project stays in the left workspace list; every other workspace and its sessions are hidden. "Add workspace" and the workspace switcher are disabled to prevent switching to another project by mistake. Shared engineMultiple VS Code windows and JetBrains instances share a single engine. When the engine is restarted from another window, the panel re-checks every 3 seconds and takes over again without manual reconnection. Image pasteOn macOS the extension owns Cmd+V and reads the clipboard image through osascript and sips; Windows uses PowerShell; WSLg falls back to the Windows clipboard; Linux relies on wl-paste or xclip. When a backend is missing the feature degrades silently and text paste is unaffected. Environment self-checkWhen Node or DSH is not ready, the panel shows the detected versions, the matching install command, and a recheck button, so dependencies can be filled in step by step. When to use it
Quick startRequirements
Supported platforms: macOS 13+ (arm64 / x64), Windows 10 1809+ and Windows 11 (x64), Linux x64 (Wayland or X11). Linux arm64 and remote windows (WSL, Remote-SSH, Dev Containers) are not supported. Install
Alternatively, choose Install from VSIX… from the top-right menu of the Extensions view and select the same file. First run
UninstallUninstall the extension from the Extensions view. To remove local data as well, stop the engine first, then delete Configuration
Commands
Data and privacyAnonymous usage statistics are enabled by default. Numeric and enumerated fields only, used to improve the product:
The field list is defined by FAQThe panel does not open automatically, or opens blank. The panel activates only in a trusted workspace. If the workspace is trusted and the panel is still blank, run "Open in browser (proxy URL)" from the command palette: a blank browser page points to an engine problem, a working page points to the panel. The panel keeps showing "starting" or "reconnecting". Check the state badge at the far left of the toolbar first, then try "Restart engine". If it still does not respond, run "Environment diagnostics" and verify the node and engine paths, port, and process id. It reports that Node is too old, or that DSH was not found.
The extension requires Node ≥ 22.18 and the DSH 0.2 line. Point Startup fails on Windows with only Another window reports that the engine record is gone. On Windows the engine belongs to the window that started it, and closing that window takes the engine down with the process tree. Run "Restart engine" on the other side to take over. Clicking a file link does not open VS Code.
When the host rejects the request (for example, the path is outside the current workspace or the parameters are invalid), the page falls back to its preview. Check the Image paste does not respond.
Linux needs How do I disable anonymous statistics?
Set LicenseThis project is licensed under the Apache License 2.0. This is an unofficial community project, not affiliated with or endorsed by DeepSeek. |