Documentation
Codepurify Docs
Learn how to define typed domain configs, infer metadata, and generate architecture artifacts with Codepurify.
Installation
Install Codepurify CLI and VS Code extension
Syntax
Codepurify template syntax reference
Arrays & Iteration
Working with array contexts and iteration
Control Flow
Conditional logic and iteration in templates
Names & Casing System
String transformation and naming conventions
Variables & Context
Understanding variable paths and resolution
Context Overview
Understanding Codepurify's structured context system
Entity Context
Working with entity-level data in templates
Field Context
Working with field-level data in templates
Global Context
Working with system-wide context data
Relation Context
Working with entity relations in templates
DTO Example
Complete Create DTO template with real-world usage
Raw Blocks
Escaping template delimiters in special cases
Writing Templates
How to create Codepurify templates from scratch
Autocomplete
Intelligent autocomplete for template variables and keywords
Diagnostics
Real-time error detection and validation
Syntax Highlighting
Code highlighting for Codepurify templates
Install via VSIX
Install Codepurify extension from VSIX file
Package Extension
Build and package the Codepurify extension for distribution
Publish to Open VSX
Publish Codepurify extension to Open VSX registry
Context Validation
Validating context data in Codepurify
Custom Generators
Building custom code generators for Codepurify
Extending the Language
Adding custom syntax and helpers to Codepurify
Performance & Scaling
Optimizing Codepurify for large-scale generation
Best Practices
Guidelines for writing clean and maintainable templates
Casing Reference
Complete list of string casing transformations
Context Reference
Complete reference of available context paths
Keywords Reference
Complete list of supported template keywords
Quick Guide
Get started with Codepurify templates and syntax