Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Stealth Novel Mimic | 小说阅读New to Visual Studio Code? Get it now.
Stealth Novel Mimic | 小说阅读

Stealth Novel Mimic | 小说阅读

javaer996

|
3 installs
| (1) | Free
在 VS Code 中隐蔽阅读小说,将小说内容伪装成代码注释 | Read novels stealthily in VS Code by disguising them as code comments
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Stealth Novel Mimic

English | 中文


📖 Stealth Novel Mimic

一个可以让你在 VS Code 中"隐蔽阅读"小说的插件。通过生成伪装的代码文件,将小说内容巧妙地嵌入到代码注释中,让你在工作时也能享受阅读的乐趣。

✨ 主要功能

1. 智能语言适配

  • 自动识别当前项目使用的编程语言
  • 支持 TypeScript、JavaScript、Python、Java、C/C++、C#、Rust、Go、Shell 等多种语言
  • 根据语言自动选择合适的注释风格(单行注释或文档注释)

2. 伪装代码生成

  • 内置多套逼真的代码模板,涵盖诊断、遥测、协调器等常见场景
  • 根据工作区语言随机选择模板,生成看起来真实的代码文件
  • 小说内容以注释形式嵌入代码中,自然不突兀

3. 章节页码导航

  • 自动解析小说章节(支持"第X章"、"Chapter N"等格式)
  • 按章节和页码分页阅读
  • 支持上一页/下一页快速翻页
  • 实时显示当前阅读进度

4. 侧边栏控制面板

  • 可视化控制面板,方便配置和操作
  • 设置小说文件路径
  • 调整每页显示行数(1-64行)
  • 选择章节和页码
  • 一键开启/关闭阅读器

5. 快速隐藏功能

  • 按 ESC 键快速关闭阅读器和侧边栏
  • 支持自定义快捷键

6. 便捷的快捷键操作

  • 快速翻页(上一页/下一页)
  • 一键开启/关闭阅读器
  • 可自定义所有快捷键

📋 使用方法

  1. 配置小说文件

    • 打开侧边栏的 "Stealth Pages" 面板
    • 在 "小说路径" 输入框中输入小说文本文件的绝对路径
    • 小说文件应为纯文本格式(建议使用 UTF-8 编码)
  2. 调整阅读设置

    • 设置每页显示的行数(1-64行,默认8行)
    • 调整单行最大字符数(24-120字符,默认64字符)
  3. 选择阅读位置

    • 在下拉菜单中选择要阅读的章节
    • 选择该章节的页码
  4. 开启阅读器

    • 点击面板顶部的 "仿真页:开启" 按钮
    • 或使用快捷键 Ctrl+Alt+;(Mac: Cmd+Alt+;)
    • 插件会生成一个伪装的代码文件,小说内容以注释形式显示
  5. 阅读和翻页

    • 单击阅读器页面任意位置 → 下一页
    • 双击阅读器页面任意位置 → 上一页
    • 或使用快捷键:
      • Ctrl+Alt+](Mac: Cmd+Alt+])→ 下一页
      • Ctrl+Alt+[(Mac: Cmd+Alt+[)→ 上一页
  6. 快速隐藏

    • 在阅读器页面按 ESC 键
    • 或在侧边栏面板按 ESC 键
    • 立即关闭阅读器并隐藏侧边栏

⚙️ 配置选项

在 VS Code 设置中搜索 Stealth Novel Mimic,或直接在控制面板中操作:

配置项 说明 默认值
novelMimic.novelPath 小说文本文件的绝对路径(支持 ~ 扩展) 空
novelMimic.displayLines 每页显示的小说行数 8
novelMimic.wrapWidth 单行最大字符数,超过会自动换行 64

⌨️ 默认快捷键

功能 Windows/Linux macOS
下一页 Ctrl+Alt+] Cmd+Alt+]
上一页 Ctrl+Alt+[ Cmd+Alt+[
切换阅读器 Ctrl+Alt+; Cmd+Alt+;
开启阅读器 Ctrl+Alt+' Cmd+Alt+'
关闭阅读器 Ctrl+Alt+Shift+' Cmd+Alt+Shift+'
快速隐藏 ESC(在阅读器或侧边栏中) ESC(在阅读器或侧边栏中)

自定义快捷键:

  • 在命令面板中运行 Stealth Novel: Configure Shortcuts
  • 或点击侧边栏面板右上角的 "键位" 按钮
  • 会自动打开快捷键设置页面并过滤相关命令

💡 使用技巧

  1. 选择合适的行数:根据你的屏幕大小和阅读习惯调整每页行数,建议5-15行
  2. 章节跳转:在章节下拉菜单中可以快速跳转到任意章节
  3. 页码跳转:选择章节后,可以直接跳转到该章节的任意页码
  4. 紧急隐藏:记住 ESC 快捷键,遇到紧急情况可以快速隐藏

📝 命令列表

可以在命令面板(Ctrl+Shift+P / Cmd+Shift+P)中运行:

  • Stealth Novel: Reload Chunk - 重新加载当前内容
  • Stealth Novel: Next Page - 下一页
  • Stealth Novel: Previous Page - 上一页
  • Stealth Novel: Toggle Reader Tab - 切换阅读器
  • Stealth Novel: Open Reader Tab - 开启阅读器
  • Stealth Novel: Close Reader Tab - 关闭阅读器
  • Stealth Novel: Quick Hide - 快速隐藏(关闭阅读器和侧边栏)
  • Stealth Novel: Configure Shortcuts - 配置快捷键

📄 许可证

MIT License


📖 Stealth Novel Mimic

A VS Code extension that allows you to read novels "stealthily" by embedding novel content into code comments within disguised code files.

✨ Key Features

1. Smart Language Adaptation

  • Automatically detects programming languages used in your workspace
  • Supports TypeScript, JavaScript, Python, Java, C/C++, C#, Rust, Go, Shell, and more
  • Automatically selects appropriate comment styles (single-line or block comments) based on language

2. Disguised Code Generation

  • Built-in realistic code templates covering diagnostics, telemetry, coordinators, and other common scenarios
  • Randomly selects templates based on workspace languages to generate authentic-looking code files
  • Novel content is embedded as comments, appearing natural and inconspicuous

3. Chapter and Page Navigation

  • Automatically parses novel chapters (supports formats like "Chapter X", "Chapter N", etc.)
  • Read by chapters and pages
  • Quick navigation with previous/next page
  • Real-time reading progress display

4. Sidebar Control Panel

  • Visual control panel for easy configuration and operation
  • Set novel file path
  • Adjust lines per page (1-64 lines)
  • Select chapters and page numbers
  • One-click toggle reader on/off

5. Quick Hide Function

  • Press ESC to quickly close reader and sidebar
  • Support for custom shortcuts

6. Convenient Keyboard Shortcuts

  • Quick page navigation (previous/next)
  • One-key reader toggle
  • All shortcuts are customizable

📋 How to Use

  1. Configure Novel File

    • Open the "Stealth Pages" panel in the sidebar
    • Enter the absolute path to your novel text file in the "Novel Path" input
    • Novel file should be in plain text format (UTF-8 encoding recommended)
  2. Adjust Reading Settings

    • Set lines per page (1-64 lines, default: 8)
    • Adjust maximum characters per line (24-120 characters, default: 64)
  3. Select Reading Position

    • Choose the chapter you want to read from the dropdown menu
    • Select the page number within that chapter
  4. Open Reader

    • Click the "Reader: Enable" button at the top of the panel
    • Or use keyboard shortcut Ctrl+Alt+; (Mac: Cmd+Alt+;)
    • The extension will generate a disguised code file with novel content in comments
  5. Reading and Page Navigation

    • Single click anywhere on the reader page → next page
    • Double click anywhere on the reader page → previous page
    • Or use keyboard shortcuts:
      • Ctrl+Alt+] (Mac: Cmd+Alt+]) → next page
      • Ctrl+Alt+[ (Mac: Cmd+Alt+[) → previous page
  6. Quick Hide

    • Press ESC key while in reader page
    • Or press ESC key while in sidebar panel
    • Immediately closes reader and hides sidebar

⚙️ Configuration Options

Search for Stealth Novel Mimic in VS Code settings, or configure directly in the control panel:

Setting Description Default
novelMimic.novelPath Absolute path to the novel text file (supports ~ expansion) Empty
novelMimic.displayLines Number of novel lines to display per page 8
novelMimic.wrapWidth Maximum characters per line before wrapping 64

⌨️ Default Keyboard Shortcuts

Function Windows/Linux macOS
Next Page Ctrl+Alt+] Cmd+Alt+]
Previous Page Ctrl+Alt+[ Cmd+Alt+[
Toggle Reader Ctrl+Alt+; Cmd+Alt+;
Open Reader Ctrl+Alt+' Cmd+Alt+'
Close Reader Ctrl+Alt+Shift+' Cmd+Alt+Shift+'
Quick Hide ESC (in reader or sidebar) ESC (in reader or sidebar)

Customize Shortcuts:

  • Run Stealth Novel: Configure Shortcuts in the command palette
  • Or click the "Shortcuts" button in the top-right corner of the sidebar panel
  • This will automatically open the keyboard shortcuts settings page and filter relevant commands

💡 Usage Tips

  1. Choose Appropriate Line Count: Adjust lines per page based on your screen size and reading preferences (5-15 lines recommended)
  2. Chapter Navigation: Quickly jump to any chapter using the chapter dropdown menu
  3. Page Navigation: After selecting a chapter, jump directly to any page within that chapter
  4. Emergency Hide: Remember the ESC shortcut for quick hiding in urgent situations

📝 Command List

Available commands in the command palette (Ctrl+Shift+P / Cmd+Shift+P):

  • Stealth Novel: Reload Chunk - Reload current content
  • Stealth Novel: Next Page - Go to next page
  • Stealth Novel: Previous Page - Go to previous page
  • Stealth Novel: Toggle Reader Tab - Toggle reader on/off
  • Stealth Novel: Open Reader Tab - Open reader
  • Stealth Novel: Close Reader Tab - Close reader
  • Stealth Novel: Quick Hide - Quick hide (close reader and sidebar)
  • Stealth Novel: Configure Shortcuts - Configure keyboard shortcuts

📄 License

MIT License


Back to Top

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft