Air Manager Lua Support for VS Code
Language support for Sim Innovations Air Manager instrument scripts (.lua).
Based on the official API reference: https://wiki.siminnovations.com/index.php/API
(Last edited 20 January 2026)
Features
- Autocomplete / IntelliSense for ~150 Air Manager API functions
- Hover documentation with signatures, descriptions, and version info
- Snippets for the most common functions
- Organized by category (X-Plane, MSFS, Hardware, Canvas, etc.)
Install (compiled version — recommended)
- Download the latest
.vsix from Releases.
- Open VS Code.
- Open the Extensions view (
Ctrl+Shift+X / Cmd+Shift+X).
- Click the
⋯ menu at the top of the Extensions panel.
- Choose Install from VSIX…
- Select the downloaded
.vsix file.
- Reload VS Code if prompted.
Open any .lua file and start typing Air Manager functions (e.g. img_add, xpl_dataref_subscribe).
Usage
- Works in normal VS Code windows after install (no F5 / Extension Development Host needed).
- Provides completions and hover info for Air Manager API functions.
Build from source (optional)
Only needed if you want to modify the extension:
npm install
npm run compile
npx vsce package
Coverage
| Category |
Status |
| X-Plane |
Full |
| FSX / Prepar3D |
Full |
| MSFS (unified + 2020 + 2024) |
Full |
| Inter-instrument (SI variables/commands) |
Full |
| External data (Professional) |
Full |
| Layer / Node |
Full |
| Image / Text / Button / Switch / Dial |
Full |
| Slider / Scroll wheel |
Full |
| Map + NAV layers |
Full |
| Video stream |
Full |
| Canvas + all draw helpers |
Full |
| Scene (3D) |
Full |
| Group (deprecated) |
Included |
| Instrument (panel scripts) |
Full |
| Hardware (button, LED, switch, dial, ADC, DAC, PWM, character display, button array, stepper, message port) |
Full |
| Timer / Persistence |
Full |
| User properties |
Full |
| Static data / Sound |
Full |
| Game controller |
Full |
| Navigation data |
Full |
| Device / Flight Illusion |
Full |
| Helpers |
Full |
Notes
- Completions appear while typing in Lua files
- Hover over any known function for signature + docs
- Snippets are also available via the standard snippet system
- The official Air Manager built-in editor still has the most accurate live API context; this extension is for external editing in VS Code
License
MIT
Support
If this saves you time: Buy me a coffee
| |