Quick installation scripts for Dana Language Support in VS Code.
./bin/vscode/install.shbin\vscode\install.bat./bin/vscode/uninstall.sh- Node.js - Download from nodejs.org
- VS Code - Download from code.visualstudio.com
Note: The extension automatically detects and uses the local bin/dana CLI when you're in the Dana project, otherwise it looks for dana in your PATH.
After installation:
- ✅
.nafiles recognized as Dana language - ✅ Syntax highlighting for Dana code (keywords, strings, comments)
- ✅ F5 to run Dana files instantly
- ✅ Right-click "Run Dana File" command
- ✅ Smart Dana CLI detection (local
bin/danaor PATH) - ✅ Welcome messages and helpful tips
If the scripts don't work, you can install manually:
-
Navigate to the extension directory:
cd dana/integrations/vscode -
Install dependencies and build:
npm install npm run compile npx vsce package --allow-missing-repository
-
Install the generated .vsix file:
code --install-extension dana-language-*.vsix
"dana command not found":
- If working in the Dana project: Make sure
bin/danaexists and is executable - If working elsewhere: Make sure Dana CLI is installed and in your PATH
"npm not found": Install Node.js from nodejs.org.
"code not found": Install command line tools via Command Palette → "Shell Command: Install 'code' command in PATH"
Extension not working: Try restarting VS Code after installation.
F5 runs wrong Dana: The extension prioritizes bin/dana in the workspace root, then falls back to PATH.
The installation creates extension files in ~/.vscode/extensions/aitomatic.dana-language-*
No other system modifications are made.
To update the extension:
- Pull latest changes from the repository
- Run the install script again
- The new version will replace the old one
Copyright © 2025 Aitomatic, Inc. Licensed under the MIT License.
https://aitomatic.com
