Bala Programming Language - VS Code Extension
Features
- ✨ Professional syntax highlighting for
.bala files
- 🚀 Integrated execution support
- 🎨 Custom file icon for Windows Explorer
Installation
From VS Code Marketplace
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "BalaLang"
- Click Install
File Icon Setup (Windows)
The extension will automatically try to register the .bala file icon when installed. If it doesn't work automatically, run one of these:
Option 1: PowerShell (Recommended)
- Open PowerShell as Administrator
- Run:
cd "path\to\bala-extension"
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
.\install-file-association.ps1
Option 2: Batch File
- Right-click
install-file-association.bat
- Select "Run as Administrator"
Option 3: Registry File
- Right-click
register-bala-extension.reg
- Select "Merge" or "Merge with Registry"
- Click "Yes" to confirm
Verification
After installation:
- Create a new file with
.bala extension
- Check if the Bala icon appears
- Double-click to open it in VS Code
If icon doesn't appear:
- Restart Windows File Explorer (Ctrl+Shift+Esc, find explorer.exe and end task)
- Or restart your computer
Configuration
The extension works with the Bala compiler. Ensure bala command is available in your system PATH.
Support
For issues or feedback, visit the extension repository.
| |