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

Read doc

Syntax

Codepurify template syntax reference

Read doc

Arrays & Iteration

Working with array contexts and iteration

Read doc

Control Flow

Conditional logic and iteration in templates

Read doc

Names & Casing System

String transformation and naming conventions

Read doc

Variables & Context

Understanding variable paths and resolution

Read doc

Context Overview

Understanding Codepurify's structured context system

Read doc

Entity Context

Working with entity-level data in templates

Read doc

Field Context

Working with field-level data in templates

Read doc

Global Context

Working with system-wide context data

Read doc

Relation Context

Working with entity relations in templates

Read doc

DTO Example

Complete Create DTO template with real-world usage

Read doc

Raw Blocks

Escaping template delimiters in special cases

Read doc

Writing Templates

How to create Codepurify templates from scratch

Read doc

Autocomplete

Intelligent autocomplete for template variables and keywords

Read doc

Diagnostics

Real-time error detection and validation

Read doc

Syntax Highlighting

Code highlighting for Codepurify templates

Read doc

Install via VSIX

Install Codepurify extension from VSIX file

Read doc

Package Extension

Build and package the Codepurify extension for distribution

Read doc

Publish to Open VSX

Publish Codepurify extension to Open VSX registry

Read doc

Context Validation

Validating context data in Codepurify

Read doc

Custom Generators

Building custom code generators for Codepurify

Read doc

Extending the Language

Adding custom syntax and helpers to Codepurify

Read doc

Performance & Scaling

Optimizing Codepurify for large-scale generation

Read doc

Best Practices

Guidelines for writing clean and maintainable templates

Read doc

Casing Reference

Complete list of string casing transformations

Read doc

Context Reference

Complete reference of available context paths

Read doc

Keywords Reference

Complete list of supported template keywords

Read doc

Quick Guide

Get started with Codepurify templates and syntax

Read doc