Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Rohas dslNew to Visual Studio Code? Get it now.
Rohas dsl

Rohas dsl

Rohas

|
1 install
| (0) | Free
Language support for Rohas - A scripting language for LLM-powered workflows
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Rohas DSL Language VSCode Extension

VSCode extension for the Rohas language, providing syntax highlighting, snippets, and integrated commands.

Features

  • ✨ Syntax Highlighting - Full syntax highlighting for Rohas files (.ro)
  • 📝 Code Snippets - Pre-built snippets for common patterns
  • 🔍 Analyze Command - Analyze Rohas files for errors
  • ▶️ Run Command - Execute Rohas files directly from VSCode
  • ⚡ Optimize Command - Optimize Rohas files for token usage
  • 🎨 Language Support - Full language configuration with auto-closing brackets, comments, etc.

Installation

From Source

  1. Clone the repository
  2. Navigate to the vscode-extension directory
  3. Install dependencies: npm install
  4. Compile: npm run compile
  5. Press F5 to open a new VSCode window with the extension loaded

Package Extension

  1. Install vsce: npm install -g @vscode/vsce
  2. Package the extension: vsce package
  3. Install the .vsix file in VSCode

Usage

Commands

  • Rohas: Analyze - Analyze the current Rohas file for errors
  • Rohas: Run - Execute the current Rohas file
  • Rohas: Optimize - Optimize the current Rohas file for token usage

Configuration

Configure the extension in VSCode settings:

{
  "rohas.llmProvider": "openai",
  "rohas.apiKey": "your-api-key",
  "rohas.baseUrl": "",
  "rohas.defaultModel": "gpt-4"
}

Requirements

  • VSCode 1.74.0 or higher
  • Rust and Cargo installed (for running Rohas files)
  • Rohas CLI built and available

Development

  1. Install dependencies: npm install
  2. Compile TypeScript: npm run compile
  3. Watch for changes: npm run watch
  4. Press F5 to debug the extension

License

MIT OR Apache-2.0

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