T4Editor brings professional-grade syntax highlighting, IntelliSense, and advanced editing features to T4 (Text Template Transformation Toolkit) files in Visual Studio. Whether you're working with code generation, automated documentation, or template-based development, T4Editor transforms your T4 editing experience.
Key Features
Advanced Syntax Highlighting
Smart T4 Block Recognition: Distinct colors for all T4 block types
Control Blocks (<#...#>) - For C# statements and control flow
Class Feature Blocks (<#+...#>) - For methods, properties, and class-level features
Expression Blocks (<#=...#>) - For value output expressions
Directive Blocks (<#@...#>) - For template directives and imports
Output Blocks - Static text content outside T4 tags
T4 Tags - The delimiters themselves (<#, #>, etc.)
Intelligent IntelliSense
Context-Aware Code Completion: Smart suggestions for T4 syntax elements
Predefined T4 Constructs: Quick insertion of common patterns
Control block templates
Class feature block scaffolding
Expression block helpers
Import and include directive snippets
Advanced Editor Features
Smart Brace Matching: Highlights matching braces, brackets, parentheses, and quotes
Code Outlining: Collapsible regions for T4 blocks to manage large templates
Block Navigation: Easily navigate between related T4 constructs
Visual Studio Integration
Theme Awareness: Automatically adapts to Visual Studio's light and dark themes
Customizable Colors: Full control over syntax highlighting colors