Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>DSH StudioNew to Visual Studio Code? Get it now.
DSH Studio

DSH Studio

ronny2021

|
1 install
| (0) | Free
dsh-studio-for-vscode:在 VS Code 里运行 DeepSeek Harness(DSH),并在编辑器与 DSH 之间传递文件引用(macOS / Windows / Linux 同一份 .vsix)。非官方社区项目,与 DeepSeek 无隶属关系。
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

dsh-studio-for-vscode

dsh-studio-for-vscode

DSH (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.

version VS Code platform tests license

English | 中文

The DSH panel open inside VS Code

Features

Editor context references

Right-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 editor

File 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 workspace

Only 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 engine

Multiple 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 paste

On 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-check

When 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

  • Daily coding: edit code in VS Code while DSH reads the context, generates, and adjusts that code.
  • Long sessions: when an answer cites many files, one click returns to the exact line.
  • Multiple windows: keep several project windows open and share one engine and one session state.
  • Cross-IDE work: run VS Code and JetBrains side by side with consistent references and sessions.
  • UI issue reports: paste screenshots directly instead of saving them to files first.

Quick start

Requirements

Item Requirement
VS Code / VSCodium ≥ 1.90
Node ≥ 22.18
DSH engine 0.2 line, tested with 0.2.2-rc.5; 0.3 and above are not supported
Workspace Must be trusted; the extension stays inactive otherwise

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

code --install-extension dsh-studio-for-vscode-0.1.0.vsix

Alternatively, choose Install from VSIX… from the top-right menu of the Extensions view and select the same file.

First run

  1. Open a trusted project folder in VS Code.
  2. The panel opens and starts the engine automatically; if a dependency is missing, follow the "DSH setup" card.
  3. Type @ in the input to reference a file, or right-click a file in the explorer and choose Add to Chat.

Uninstall

Uninstall the extension from the Extensions view. To remove local data as well, stop the engine first, then delete ~/.dsh-studio; the directory is shared with the JetBrains extension, so make sure the other side is not using it.

Configuration

Setting Type Default Description
dsh.nodePath string empty Path to the node executable; on Windows prefer the absolute path to node.exe. Empty means PATH, then the login shell
dsh.engineEntry string empty Path to lib/bin.js; empty means auto-discovery
dsh.harnessHome string empty Engine data directory, defaults to ~/.dsh-studio, shared with JetBrains
dsh.logLevel enum info Log level: error / warn / info / debug
dsh.confirmExternalUrl boolean true Ask for confirmation before opening external links
dsh.telemetry.enabled boolean true Anonymous usage statistics; disabling stops collection and clears the local queue immediately

Commands

Command Description
dsh-studio-for-vscode: 打开面板 Open or focus the DSH panel
dsh-studio: Add to Chat Add the current file, folder, or selection to the current session
dsh-studio: Add to New Chat Create a new session with the current context
dsh-studio-for-vscode: 重启引擎 Restart the engine and reattach
dsh-studio-for-vscode: 停止引擎 Stop the engine and release the share
dsh-studio-for-vscode: 在浏览器打开(代理地址) Open the proxy URL in the system browser to diagnose a blank panel
dsh-studio-for-vscode: 显示日志 Open the output channel
dsh-studio-for-vscode: 环境诊断 Print platform, node and engine paths and their sources, data directory, port, and process id

Data and privacy

Anonymous usage statistics are enabled by default. Numeric and enumerated fields only, used to improve the product:

  • Collected: technical parameters about how the plugin runs, including a randomly generated, hashed device identifier; version and platform; event enums; token counts and timings; hashed session identifiers; error locations as file:line:column.
  • Never collected: any information related to you or your project, including code, conversation content, file paths, full URLs, window titles, plaintext session identifiers, accounts, or credentials.
  • Opt out: set dsh.telemetry.enabled to false, or turn off global VS Code telemetry; either one stops collection and clears the local queue.

The field list is defined by telemetry/contract.json. Last updated: 2026-12-05.

FAQ

The 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 dsh.nodePath at the real node or node.exe; pointing it at .cmd, .bat, or .ps1 fails on purpose.

Startup fails on Windows with only spawn node.exe ENOENT. This usually means the project path exceeds 260 characters without long-path support. Follow the failure card to enable LongPathsEnabled, or move the project to a shorter path.

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 editor.openFile logs in the developer console to confirm the cause.

Image paste does not respond. Linux needs wl-paste (Wayland) or xclip (X11); WSL needs Windows interop enabled. Otherwise confirm that the clipboard content really is an image.

How do I disable anonymous statistics? Set dsh.telemetry.enabled to false, or turn off the global VS Code telemetry switch; either one stops collection.

License

This project is licensed under the Apache License 2.0.

This is an unofficial community project, not affiliated with or endorsed by DeepSeek.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft