Web IaC Editor
Edit Your Infrastructure as Code Directly in the Browser Cloudeval’s built-in web editor lets you edit ARM templates and Bicep files directly in your browser with syntax highlighting, auto-completion, error detection, and real-time diagram updates.Overview
The Web IaC Editor provides:- Syntax Highlighting - Color-coded ARM and Bicep syntax
- Auto-Completion - Intelligent code completion
- Error Detection - Real-time validation and error highlighting
- Multi-File Support - Edit multiple files in tabs
- Real-Time Updates - See diagram changes as you edit
- Format & Validate - Format code and validate templates
- Export Changes - Download updated files
Features
Syntax Highlighting
Full syntax highlighting for:- ARM Templates - JSON syntax with ARM-specific highlighting (Available now)
- Bicep Files - Bicep syntax with resource highlighting (Coming Early Feb 2026 - View roadmap)
- Parameter Files - Parameter-specific syntax
- Linked Templates - Template reference highlighting
- Resource types and properties
- Functions and expressions
- Parameters and variables
- Comments and documentation
- Strings, numbers, and booleans
Auto-Completion
Intelligent code completion: For ARM Templates:- Resource types and API versions
- Property names and values
- Template functions
- Parameter references
- Variable references
- Resource declarations
- Module references
- Built-in functions
- Decorators and metadata
- Output definitions
Ctrl+Space (or Cmd+Space on Mac) for suggestions
Error Detection
Real-time validation: Detects:- Syntax errors (JSON, Bicep)
- Missing required properties
- Invalid resource configurations
- Type mismatches
- Reference errors
- Red squiggly lines under errors
- Error messages on hover
- Error list in panel
- Quick fixes for common issues
Multi-File Editing
Edit multiple files simultaneously: Features:- Tabbed interface for multiple files
- Switch between files easily
- See all open files
- Save all or individual files
- Close tabs individually
- Main templates
- Linked templates
- Parameter files
- Module files (Bicep)
Real-Time Diagram Updates
See changes instantly:- Edit code in the editor
- Save changes (auto-save or manual)
- Diagram updates automatically
- View changes in real-time
- Auto - Updates on save
- Manual - Click “Refresh Diagram”
- Live - Updates as you type (optional)
Format & Validate
Built-in formatting and validation: Format Code:- Auto-format JSON (ARM templates)
- Format Bicep files
- Indentation and spacing
- Consistent style
- Check syntax
- Validate resource properties
- Verify parameter types
- Check references
Shift+Alt+F- Format documentCtrl+Shift+P- Command palette- “Format Document” - Format current file
- “Validate Template” - Run validation
Using the Editor
Opening the Editor
- Upload a template or open existing project
- Click “Edit Code” button
- Editor opens in split view or full screen
- Start editing your Infrastructure as Code
Editing Code
Basic Editing:- Type to add code
- Use standard shortcuts (Ctrl+C, Ctrl+V, etc.)
- Undo/Redo with Ctrl+Z / Ctrl+Y
- Find/Replace with Ctrl+F
- Multi-cursor editing (Alt+Click)
- Column selection (Shift+Alt+Drag)
- Go to line (Ctrl+G)
- Go to symbol (Ctrl+Shift+O)
Saving Changes
Save Options:- Auto-Save - Automatically saves as you type
- Manual Save - Ctrl+S to save
- Save All - Save all open files
- Save As - Save with new name
- Changes are applied to diagram
- Validation runs automatically
- Errors are highlighted
- Success notification appears
Exporting Changes
Download updated files:- Make changes in editor
- Save changes
- Click “Export” or “Download”
- Choose files to download
- Files download to your computer
Editor Shortcuts
Navigation
Ctrl+G- Go to lineCtrl+P- Quick open fileCtrl+Shift+O- Go to symbolF12- Go to definitionShift+F12- Find all references
Editing
Ctrl+Space- Trigger auto-completionShift+Alt+F- Format documentCtrl+/- Toggle line commentShift+Alt+A- Toggle block commentAlt+Up/Down- Move line up/down
Selection
Ctrl+D- Select next occurrenceCtrl+Shift+L- Select all occurrencesAlt+Click- Add cursorCtrl+Alt+Up/Down- Add cursor above/below
View
Ctrl+B- Toggle sidebarCtrl+\- Split editorF11- Toggle full screenCtrl+- Zoom inCtrl-- Zoom out
Best Practices
Code Organization
- Use Comments - Document complex logic
- Consistent Formatting - Use format command regularly
- Modular Structure - Break into linked templates/modules
- Clear Naming - Use descriptive names
Validation
- Validate Often - Check for errors frequently
- Fix Errors First - Address errors before continuing
- Test Changes - Verify diagram updates correctly
- Review Before Export - Double-check before downloading
Collaboration
- Use Comments - Add comments for team members
- Version Control - Export and commit changes
- Share Changes - Use collaboration features
- Document Changes - Note what changed and why
Limitations
Current Limitations
- Browser-Based - Requires internet connection
- File Size - Very large files may be slow
- Offline Mode - Limited offline functionality
- Advanced Features - Some IDE features not available
Coming Soon
- Offline Editing - Full offline support
- Git Integration - Direct Git commit/push
- Advanced Refactoring - Code refactoring tools
- Custom Snippets - User-defined code snippets
Troubleshooting
Editor Won’t Open
Problem: Editor doesn’t open when clicking “Edit Code” Solutions:- Refresh the page
- Check browser console for errors
- Try different browser
- Clear browser cache
Auto-Completion Not Working
Problem: Code completion doesn’t appear Solutions:- Press
Ctrl+Spacemanually - Check if language is detected correctly
- Verify file extension (.json, .bicep)
- Refresh editor
Changes Not Saving
Problem: Changes are lost after refresh Solutions:- Enable auto-save
- Manually save with Ctrl+S
- Check browser storage permissions
- Export changes before closing
Diagram Not Updating
Problem: Diagram doesn’t reflect code changes Solutions:- Save the file (Ctrl+S)
- Click “Refresh Diagram”
- Check for syntax errors
- Validate template
Next Steps
- Getting Started - Learn the basics
- ARM Templates - ARM template guide
- Bicep Files - Bicep file guide
- Export & Share - Share your changes
Need help? Contact support or join our community
