Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>TRX SyntaxNew to Visual Studio Code? Get it now.
TRX Syntax

TRX Syntax

Trivx AI

|
2 installs
| (0) | Free
Syntax highlighting support for .trx files used in Trivx AI platform.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TRX Syntax Highlighting for VS Code

Official VS Code extension for .trx file syntax highlighting - the Trivx Infrastructure & Workflow Definition Language.

Features

  • 🎨 Complete syntax highlighting for all TRX keywords and sections
  • 💬 Comment support with #
  • 🔤 Keyword highlighting for core sections: app, infra, pipeline, env, monitoring, ai, self_heal, sre, metadata
  • 🌐 Provider highlighting for cloud providers: aws, gcp, azure
  • 🔧 Runtime highlighting for docker, container, serverless, vm
  • 🚀 Framework highlighting for popular frameworks: express, nextjs, fastapi, flask, etc.
  • 📦 Strategy highlighting for deployment strategies: rolling, blue-green, canary
  • ✨ Auto-closing pairs for brackets and quotes
  • 📐 Proper indentation and folding support

Supported File Extensions

  • .trx

Installation

From VSIX

  1. Download the .vsix file
  2. Open VS Code
  3. Go to Extensions (Ctrl+Shift+X)
  4. Click on the ... menu → "Install from VSIX..."
  5. Select the downloaded .vsix file

From Source

cd vscode-trx-syntax
npm install -g vsce
vsce package

This generates a .vsix file that can be installed in VS Code.

Usage

Simply open any .trx file in VS Code and syntax highlighting will automatically activate.

Example

version: 1.0.0

app:
  name: my-app
  framework: express
  runtime: node
  ports: [3000]

infra:
  provider: aws
  region: us-east-1
  runtime: docker
  autoscaling: true

pipeline:
  build:
    command: npm run build
  deploy:
    strategy: rolling
    trigger: on-merge

Contributing

Found a bug or want to suggest an improvement? Please open an issue!

License

MIT


Enjoy coding with TRX! 🚀

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft