在侧栏文件编辑器右缘显示可拖动的代码缩略图
29.8/100
综合分
0
GitHub 星标
—
npm 周下载
—/5
用户评分
数据截至 2026/9/20 · 周下载取自 npm 全网(含 CI / 镜像),非本站安装数;综合分由星标、活跃度与兼容性检查合成。
自动兼容检查有告警:未发布到 npm registry,仅可从源码安装。
安装命令 · 需先装 dsh CLI 引擎
dsh plugin --profile web add ping1999/dsh-minimap该包不可直接 npm 安装,改从 GitHub 源安装(明细见下方安装检查)
状态速览
判定依据:实装验证 · 静态安装检查 · 自动扫描 · 仓库维护状态信任档位:已验证
图例:✓ 通过! 需注意— 未判定 / 无数据· 「未判定」= 本站尚无数据,不代表插件有问题
档位由哪些信号合成
本站实装验证(真实安装 L4 覆盖全站;L5 为运行时冒烟或实机截图,覆盖范围小于 L4) · 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。 下方各区块是它的证据明细。
依赖的 DSH / Cordis 模块
@deepseek-ai/cordis@deepseek-ai/dsh-client-runtime给这个插件打分还没有人投票↓
用户评分
还没有人投票,来当第一个
功能亮点
- 侧栏显示代码缩略图
- 可拖动视口
- 文本缩略浮层
dsh 网页 GUI 侧边文件查看器的 VS Code 风格缩略图(文本缩略 + 可拖拽视口)浮层
README
由 DeepSeek 最新模型翻译生成dsh-minimap
为 dsh web GUI 的侧边文件查看器加一条 VS Code 风格的缩略图滚动条(minimap):宽体文字缩略 + 可拖动的视口框,在长文件中快速定位。
为 dsh web GUI 的侧边文件查看器加一条 VS Code 风格的 minimap:宽体文字缩略图,带可拖动的视口框,用于在长文件中快速导航。
中文 · English
功能
- 在 Files 侧栏文本编辑器的右缘叠加整篇文档的微型文字缩略图
- 半透明视口框实时跟随滚动:点击跳转、按住拖动、悬停滚轮均可定位
- 语法着色:滚动经过的行会带上与编辑器一致的高亮色,自动适配明暗主题
- 宽度随侧栏自适应(约为编辑器宽度的 22%,钳制在 56–110px);编辑器内容区自动预留「缩略图宽度 + 5px」的间隙,长行文字不会被遮挡
- 拖到底即真正到底:比例映射以编辑器的真实滚动范围为基准
- 纯叠加层:不改动侧栏任何组件,侧栏未启用时静默不渲染;多标签页各自独立,关闭标签页或卸载插件后完全清理
安装
从 npm 安装(推荐):
dsh plugin --profile web add dsh-minimap
或从 GitHub 源码安装:
dsh plugin --profile web add github:ping1999/dsh-minimap
展开完整文档(README 剩余 1 节)
dsh-minimap 为 dsh web GUI 的侧边文件查看器加一条 VS Code 风格的缩略图滚动条(minimap):宽体文字缩略 + 可拖动的视口框,在长文件中快速定位。 为 dsh web GUI 的侧边文件查看器加一条 VS Code 风格的 minimap:宽体文字缩略图,带可拖动的视口框,用于在长文件中快速导航。 中文 · English 功能 - 在 Files 侧栏文本编辑器的右缘叠加整篇文档的微型文字缩略图 - 半透明视口框实时跟随滚动:点击跳转、按住拖动、悬停滚轮均可定位 - 语法着色:滚动经过的行会带上与编辑器一致的高亮色,自动适配明暗主题 - 宽度随侧栏自适应(约为编辑器宽度的 22%,钳制在 56–110px);编辑器内容区自动预留「缩略图宽度 + 5px」的间隙,长行文字不会被遮挡 - 拖到底即真正到底:比例映射以编辑器的真实滚动范围为基准 - 纯叠加层:不改动侧栏任何组件,侧栏未启用时静默不渲染;多标签页各自独立,关闭标签页或卸载插件后完全清理 安装 从 npm 安装(推荐): dsh plugin --profile web add dsh-minimap 或从 GitHub 源码安装: dsh plugin --profile web add github:ping1999/dsh-minimap 安装后重启 web 服务生效: pnpm dsh web 兼容性:已验证 dsh 0.1.5-rc.2 + dsh-better-sidebar 0.19.1(含 0.19 起文件编辑器迁入 DSH 原生右侧栏的 DOM 变化);向下兼容 dsh 0.1.5-rc.1 / dsh-better-sidebar 0.19.0。 使用 打开任意会话,在右侧 Files 侧栏打开一个文本文件,编辑器右缘即出现缩略图: - 滚动编辑器 → 缩略图视口框同步移动 - 点击缩略图任意位置 → 编辑器跳转到对应位置(视口居中) - 按住视口框拖动 → 编辑器跟随滚动(鼠标与触屏均可) - 悬停缩略图滚轮 → 等效于滚动编辑器(含触控板横向滚动) 限制 - 仅对 CodeMirror 6 文本查看器生效(当前即 dsh-better-sidebar 的文件查看器);图片 / PDF / Markdown 预览不会出现缩略图 - 语法着色是渐进式的:CM6 只渲染可视行,行滚入视野至少一次后才有颜色 - 安装 / 升级后需重启 web 服务(与所有 profile bundle 一致) - 暂无设置项 Features - Overlays a miniature text thumbnail of the whole document on the right edge of the Files sidebar's text editor - A translucent viewport box tracks scrolling live — click to jump, drag to scroll, or hover and use the wheel - Syntax colors: lines pick up the editor's real highlight colors once scrolled into view, adapting to dark/light themes - Width adapts to the sidebar (~22% of the editor width, clamped to 56–110 px); the editor reserves the thumbnail's width plus a fixed 5 px gap, so long lines are never covered - Dragging the box to the bottom reaches the true end of the document — the mapping is anchored to the editor's real scroll range - Pure overlay: the sidebar is never modified or even aware of the plugin; each tab gets its own instance, and closing a tab or uninstalling removes everything Install From npm (recommended): dsh plugin --profile web add dsh-minimap Or from GitHub source: dsh plugin --profile web add github:ping1999/dsh-minimap Restart the web server to take effect: pnpm dsh web Compatibility: verified with dsh 0.1.5-rc.2 + dsh-better-sidebar 0.19.1 (including the 0.19 change that moved the file editor into DSH's native right sidebar); remains compatible down to dsh 0.1.5-rc.1 / dsh-better-sidebar 0.19.0. 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) - 悬停在小地图上并使用滚轮 → 与滚动编辑器相同(包括触控板水平滚动) 限制 - 仅适用于 CodeMirror 6 文本查看器(目前是 dsh-better-sidebar 的文件查看器);图片 / PDF / Markdown 预览没有小地图 - 语法着色是渐进式的:CM6 只渲染可见行,因此一行只有在至少被滚动到视图中一次后才会获得颜色 - 安装/升级后需要重启 Web 服务器(与每个 profile bundle 相同) - 尚无设置 内部实现 · Internals 架构与实现细节(滚动映射、着色策略、几何参数、测试与开发流程)见 AGENTS.md。 架构与实现细节(滚动映射、着色策略、几何参数、测试与开发流程)见 AGENTS.md。 License MIT
预览分享卡片长什么样 ↓
分享 · DeepSeek Harness Hub
ping1999/dsh-minimap
在侧栏文件编辑器右缘显示可拖动的代码缩略图
相关插件 · UI / 主题
破甲增强版JeffKeeping/dsh-purge-plus
dsh-purge 的非官方分支fork:适配 DeepSeek Harness 0.2.1-rc.2、破甲内核…
★ 387已汉化DeepSeek 客户端
71.9
无代码业务系统平台nocobase/nocobase
NocoBase 是什么
★ 24,804已汉化DSH
71.8
1Panel 服务器面板1Panel-dev/1Panel
全球 250 万+ 自托管用户共同喜爱。
★ 37,362已汉化DSH
71.4
终端编码代理esengine/DeepSeek-Reasonix
· 指南 · ACP · 扩展开发 · 规格 · 官方网站 · Discord · QQ
★ 36,076已汉化DSH
71.2
工作状态行动态ccch1mneyyy/working-activity
作者:chimney@ccch1mneyyy。社区项目,非 DeepSeek 官方项目。
★ 664已汉化DSH
71.2
多模型配置管家farion1231/cc-switch
跨平台桌面一体化助手,支持 Claude Code、Codex、OpenCode、DeepSeek Harness 等工具,唯一官网 ccswitch.io
★ 151,814已汉化DSH
71.1
这个插件是你维护的吗?
作者本人可认领并核对本条目;认领通过后,详情页会显示「作者已认领」标记。