cpCodePurify
FeaturesPipelineExamplesDocumentation
Links
GitHubNPMVSCode
Theme
Codepurify LogoCodePurify
FeaturesPipelineExamplesDocs
GitHubNPMVSCode

Getting Started

Installation
Syntax

Core

Arrays & Iteration
Control Flow
Names & Casing System
Variables & Context

Context

Context Overview
Entity Context
Field Context
Global Context
Relation Context

Templates

DTO Example
Raw Blocks
Writing Templates

Tooling

Autocomplete
Diagnostics
Syntax Highlighting

Publishing

Install via VSIX
Package Extension
Publish to Open VSX

Advanced

Context Validation
Custom Generators
Extending the Language
Performance & Scaling

Reference

Best Practices
Casing Reference
Context Reference
Keywords Reference

Quick Guide

Quick Guide

Custom Generators

Create custom generators to extend Codepurify's capabilities.

Generator Structure

Registration

Context Access

Generators receive full context access:

Output Types

Async Operations

Generators support async operations:

Context Validation
Previous
Extending the Language
Next
2026 Codepurify · MIT License
GitHubDocsnpm