VS Code Extension
Edit and manage ChapterWise Codex files with powerful VS Code integration
ChapterWise Codex VS Code Extension
The ChapterWise Codex extension brings the full power of the Codex format directly into your code editor. Edit .codex.yaml and .codex.json files with syntax highlighting, real-time validation, and powerful transformation commands.
Why Use the Extension?
Native Editor Experience
Work with Codex files in the same environment where you write code. No context switching between applications.
Real-Time Validation
Catch errors as you type with intelligent schema validation and inline diagnostics.
Powerful Commands
Transform your codex files with commands like Explode, Implode, Word Count, and Tag Generation.
Tree Navigation
Visualize your entire codex structure in a hierarchical tree view for easy navigation.
Git-Friendly Workflows
The extension's modularization features (Explode/Implode) are designed for version control and collaboration.
Key Features
| Feature | Description |
|---|---|
| Syntax Highlighting | Full support for .codex.yaml and .codex.json |
| Tree View | Navigate complex codex hierarchies visually |
| Schema Validation | Real-time error detection with helpful messages |
| Explode Codex | Split large files into modular includes |
| Implode Codex | Merge included files back together |
| Word Count | Track word counts across your manuscript |
| Generate Tags | AI-powered tag extraction from content |
| Writer's View | Focused, distraction-free writing mode |
| Auto-Fix | Automatic resolution of common issues |
Getting Started
- Install the Extension — Set up the extension in VS Code or Cursor
- Explore Features — Learn what you can do with the extension
- Open a Codex File — Start editing and see validation in action
Quick Demo
Open any .codex.yaml file and you'll immediately see:
- Syntax highlighting with Codex-aware colors
- Tree view in the sidebar showing your document structure
- Validation warnings for missing required fields
- Command palette access to all Codex commands (
Cmd/Ctrl+Shift+P)
Compatibility
The extension works with: - Visual Studio Code (1.85.0 or later) - Cursor (all versions)
Both editors provide the full feature set with identical functionality.
Ready to get started? Head to the Installation Guide to set up the extension.