VS Code Extension
Echo DSL language support for VS Code
VS Code Extension
Full language support for .pdk, .echo, .eval, and .dset files β syntax highlighting, diagnostics, autocomplete, and integrated CLI commands.
Installation
Search for βEcho PDKβ in the VS Code Extensions marketplace, or:
bash
code --install-extension goreal-ai.echo-pdkSyntax Highlighting
- Variables:
{{name}},{{user.role:text}},{{image:file}} - Conditionals:
[#IF],[ELSE],[END IF] - Sections:
[#SECTION],[#INCLUDE],[#IMPORT] - Operators:
#equals(...),#ai_gate(...), etc.
Real-Time Diagnostics
- Unclosed blocks (
[#IF]without[END IF]) - Unknown or deprecated operators
- Undefined variables
- Invalid variable types and context paths
- Unused sections
- Eval file validation (missing suite/target, invalid assertions)
Autocomplete
Context-aware completions triggered by:
#β Operators:#equals,#contains,#ai_gate, etc.[β Control structures:[#IF],[#SECTION],[#IMPORT]:β Variable types::text,:boolean,:number,:file
Prompt Explorer Sidebar
The Echo PDK activity bar panel provides a tree view of local and remote prompts. Browse, open, and manage prompts directly from the sidebar.
Commands
Access via Command Palette (Cmd+Shift+P):
- Initialize Workspace β Create
echo.workspace.yaml - New Prompt / Eval / Dataset β Scaffold files
- Validate / Render Preview / Run with LLM
- Pull / Push to PLP β Sync with your PLP server
- Browse Versions / Publish / Deploy
- Run Eval on PLP β Execute eval remotely
- Upload Asset / Manage Context
Settings
echoPdk.cliPathβ Path to CLI (auto-detected)echoPdk.plp.serverUrlβ PLP server URLechoPdk.plp.apiKeyβ PLP API key (or useECHO_PLP_TOKENenv var)