Repository navigation
Releases: Makk9609/dsh-find-viewer
Releases · Makk9609/dsh-find-viewer
Release list
v0.1.1
Second release.
Fixed
- Code and plain-text files could search forever.
remote.workspaceFiles.readreturns an{ok, value}envelope; page fields were read off the envelope, so the paging offset becameNaN, the scan re-issued reads without end, and the bar stayed on "Scanning…". Reads are now unwrapped, a failed read reports "Could not read the file", and a page without new lines ends the scan.
Added
- Opening the find bar (toolbar button or
Cmd/Ctrl+F) uses the text selected in the preview as the keyword: first line, up to 200 characters.
Compatibility
Verified against DeepSeek Harness 0.2.0-rc.2.
中文
- 修复:代码与纯文本文件搜索永不结束——读取结果是
{ok, value}信封,未解包导致分页偏移变成NaN、请求无限重发,面板停在"扫描中"。现在解包、失败即报错、无新页即收尾。 - 新增:在预览里选中文本后打开查找栏,直接以选中内容为关键词(取第一行,最多 200 字符)。
- 兼容性:已在 DeepSeek Harness
0.2.0-rc.2上验证。
v0.1.0
First release.
Find bar for the sidebar text preview: whole-file match count for plain text and code, rendered-text count for Markdown, highlights in Edge/Chrome find colours, per-hit jumps, match case and whole word.
侧边栏文本预览的查找栏:纯文本与代码为整份文件计数,Markdown 为已渲染文本计数;高亮用 Edge/Chrome 页内查找配色;逐处跳转,支持区分大小写与全字匹配。
Verified against DeepSeek Harness 0.2.0-rc.2. npm test covers matching, address decoding, the registration shape and the emitted highlight rules.