Best Novel Reader一个更隐蔽、更顺手的 VS Code 本地小说阅读器。小说内容显示在底部的“文档预览”面板中,和终端放在一起,不需要额外打开窗口。 A discreet and convenient local novel reader for VS Code. It keeps your book in the bottom Document Preview panel beside the terminal, without opening a separate window.
翻页、连续滚动、章节搜索、进度恢复和排版调节都已经集成在底部面板里,平时阅读基本不需要再离开这个界面。章节和控件可以随时收起,尽量不占正文空间。 Paging, continuous scrolling, chapter search, progress restoration, and typography settings are all built into the bottom panel. Chapter and control panels can be collapsed whenever you want more room for the text. 如果觉得好用,欢迎给 GitHub 仓库 点个 Star。 If you find it useful, please consider giving the GitHub repository a Star. 功能一览 / At a glance
详细功能 / Detailed features跟随 VS Code 切换语言 / Follows the VS Code display language插件界面会自动读取 VS Code 的显示语言。中文环境显示中文,英文及其他非中文环境显示英文,活动栏命令、侧边栏、文档预览面板、阅读控件和提示消息都会一起切换。 The extension follows the VS Code display language automatically. Chinese locales use the Chinese interface, while English and other non-Chinese locales use English across commands, the sidebar, Document Preview, reading controls, and messages. 更完整的章节识别 / Better chapter recognition优化了原插件的章节读取规则,能识别市面上近乎全部的常见小说章节标题: The original chapter parser has been improved to recognize nearly every chapter-title format commonly found in novels:
翻页和连续滚动 / Paging and continuous scrolling阅读控件中可以随时选择“章节翻页”或“连续滚动”。 Switch between chapter paging and continuous scrolling at any time. 连续滚动会预先加载当前章节附近的内容,既可以一路向下看,也可以从刚打开的章节继续向上翻。加载上方章节时会保持当前位置,不会把正文顶到章节中间。 Continuous mode preloads nearby chapters in both directions. You can keep reading downward or scroll above the chapter you initially opened, while the reader keeps your current position steady as earlier chapters are inserted. 缓存有数量和大小限制,较远的章节会自动清理,长时间使用不会一直堆积内存。 The cache has chapter-count and size limits. Distant chapters are reclaimed automatically instead of accumulating in memory. 自动恢复阅读进度 / Automatic reading restoration插件会记住上次打开的小说、章节、阅读模式和排版设置。从终端切回“文档预览”后可以接着看,不会重新显示欢迎页,也不需要再去侧边栏点一次小说。 The extension remembers the last novel, chapter, reading mode, and typography settings. After returning from the terminal, Document Preview continues where you left off instead of showing the welcome page again. 面板内搜索和跳转 / Search and navigation inside the reader点击阅读面板中的“章节”,可以直接查找小说、搜索并跳转章节、切换小说、添加新的 Open Chapters in the reading panel to find novels, search and jump to chapters, switch books, add another 自定义排版 / Typography settings点击“控件”可以调整字号、行距和段距,也可以切换阅读形式。正文统一使用两字符缩进,章节标题不缩进,设置会自动保存。 Open Controls to adjust font size, line height, paragraph spacing, and reading mode. Body paragraphs use a consistent two-character indent, chapter titles remain unindented, and your settings are saved automatically. 阅读快捷键 / Reading shortcuts阅读面板获得焦点时,可以使用以下快捷键: When the reading panel is focused, use these shortcuts:
左右方向键在输入框和下拉框获得焦点时不会触发章节切换;双击 The arrow keys do not change chapters while a text field or select control is focused. Double- 快速切到终端 / Quick switch to terminal文档预览获得焦点时,快速按两次 Press 更低调的显示 / Discreet presentation底部面板显示为“文档预览”,不会直接出现小说阅读器名称。章节列表和阅读控件都能隐藏,收起后只保留正文。 The bottom panel is named Document Preview rather than exposing a reader-specific title. Both the chapter list and reading controls can be hidden, leaving only the text on screen. 原有功能 / Original features
使用方法 / Usage
修改说明 / Credits本插件基于 Le-dawn/novel-reader This extension is based on Le-dawn/novel-reader 在原有导入、侧边栏和基础章节阅读功能之上,增加了中英文界面自动切换、文档预览面板、阅读现场恢复、面板内文档与章节搜索、翻页和连续滚动双模式、上下章节预加载、缓存回收、排版调节、更完整的中文章节识别,以及双击 This version adds automatic Chinese/English UI switching, the Document Preview panel, reading restoration, in-panel document and chapter search, paging and continuous modes, bidirectional chapter preloading, cache reclamation, typography controls, broader Chinese chapter recognition, and the double- 许可证内容见 See |