ping1999/dsh-minimap0

dsh-minimap

为 DSH 网页端侧边文件查看器提供 VS Code 风格的迷你缩略图(文本缩略图 + 可拖拽视口)悬浮层插件

AI 分析

核心用途是在 DSH 网页端的文件查看器中添加代码缩略图导航。适合需要在 DSH 界面内频繁阅读、滚动和定位长文本或代码文件的用户。

套件
dsh-minimap
版本
0.3.2
授權
MIT
最近更新
2026年8月29日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ping1999/dsh-minimap

使用

打开任意会话,在右侧 Files 侧栏打开一个文本文件,编辑器右缘即出现缩略图:

  • 滚动编辑器 → 缩略图视口框同步移动
  • 点击缩略图任意位置 → 编辑器跳转到对应位置(视口居中)
  • 按住视口框拖动 → 编辑器跟随滚动(鼠标与触屏均可)
  • 悬停缩略图滚轮 → 等效于滚动编辑器(含触控板横向滚动)

Usage

Open any session, open a text file in the Files sidebar, and the minimap appears at the editor's right edge:

  • Scroll the editor → the viewport box follows
  • Click anywhere on the minimap → jump there (the viewport centers)
  • Drag the viewport box → the editor scrolls along (mouse or touch)
  • Hover the minimap and use the wheel → same as scrolling the editor (trackpad horizontal scroll included)