You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[建议 / Feature] Find in document (Ctrl+F) for the built-in file preview #1262
Reading a long document in ZCode's built-in preview (a 2,000-line Markdown report or architecture doc — the exact kind of document ZCode agents produce), there is no way to search inside it: Ctrl+F does nothing, and since the preview is a custom renderer there is no browser find to fall back on. Looking for a specific term, class name or error message means scrolling and eyeballing the whole document — the opposite of what a document viewer is for.
建议方案 · Proposal
Add standard find-in-document to the preview panel:
Ctrl+F / Cmd+F opens a search bar scoped to the preview; Enter / F3 jumps to the next match, Shift+Enter to the previous, Esc closes.
All matches highlighted at once, the current match distinctly; a match counter (n / N); scroll follows the active match.
Options: case-sensitive, whole word, regular expression.
Coverage: Markdown preview first; extend to the other built-in viewers that don't already provide their own search (docx / xlsx / pdf as applicable).
Find-in-document is a baseline expectation for any document reader (VS Code preview, browser PDF viewer, Typora all have it). It makes the growing preview surface (#1239 PlantUML, #1240 outline) genuinely usable for the long technical documents ZCode itself generates.
你认为的优先级 · Your perceived priority
中 · Medium
你使用的 ZCode 版本 / 环境 · ZCode version / environment
ZCode desktop app 3.16.3, Windows 11
补充材料 · Additional context
Same preview-family requests: #1240 (TOC/outline pane), #1239 (PlantUML rendering), #1008 (refresh action). Related but broader: #178 ("Office Mode" document workspace).
Activity
github-actions commentedon Oct 27, 2026
👋 感谢你的反馈,我们已经收到。
status: 待评估,你可以随时补充信息。needs: 更多信息标签并 @ 你。👋 Thanks — we've received your issue.
status: 待评估(Triage); feel free to add context.needs: 更多信息and ping you.