Aximpool Language Support for VS Code
Aximpool is a unique programming language for building Android mobile applications. This extension provides language support for Visual Studio Code.
✨ Features
- 🎨 Syntax Highlighting — Full TextMate grammar for
.aximpool, .axp, and .axm files
- 🚨 Real-time Diagnostics — Errors and warnings shown inline as you type
- 📝 Code Snippets — Common patterns (canvas, frame, vault, pulse, surface, all widgets)
- 💡 Hover Documentation — Hover over keywords to see usage info
- 🔧 Auto-completion — Keyword suggestions as you type
📦 Installation
From VS Code Marketplace
- Open VS Code
- Press
Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (Mac) to open Extensions
- Search for "Aximpool"
- Click Install
From VSIX file
code --install-extension aximpool-1.4.0.vsix
🚀 Quick Start
1. Install the Aximpool CLI
The CLI is required to test and export Aximpool apps:
npm install -g aximpool
2. Create your first Aximpool app
Create a file named app.aximpool:
canvas "My First App" {
frame Main {
vault {
count = 0;
}
pulse increment() {
set count = count + 1;
}
surface {
stack {
label "Count: ${count}"
style { font-size: 32; text-align: center; padding: 24; }
tap "Tap me" -> increment
style {
background: #6200ee;
color: white;
padding: 14 24;
border-radius: 8;
}
}
}
}
}
test android-app;
3. Test your app
Run in the terminal:
aximpool test app.aximpool
Then open http://localhost:5020 in your browser.
4. Export as Android APK
Change the last line of your file to:
export android-app;
Then run:
aximpool export app.aximpool --name "MyApp" --id com.example.app
🎨 Language Overview
Aximpool uses the Reactive Surface Model paradigm:
| Keyword |
Purpose |
canvas |
Top-level app container |
frame |
A screen/page of the app |
vault |
State storage (variables with initial values) |
pulse |
Reactive event functions that mutate vault |
surface |
The visible UI tree |
route |
Navigation between frames |
Layouts: stack, lane, grid, scroll
Atoms: label, tap, input, image, divider, spacer, card, icon
File Endings
Every Aximpool file MUST end with one of:
test android-app; — for testing on localhost:5020
export android-app; — for exporting Android APK
📋 Commands
| Command |
Description |
Aximpool: Check for Errors |
Run diagnostics and show results |
Aximpool: Show Test Instructions |
Display terminal command for testing |
Aximpool: Show Export Instructions |
Display terminal command for APK export |
⚙️ Configuration
| Setting |
Default |
Description |
aximpool.diagnostics.enabled |
true |
Enable real-time error diagnostics |
aximpool.diagnostics.onSave |
false |
Only run diagnostics on save |
📄 License
MIT