ActionScript & MXML language extension for Visual Studio Code
Provides code intelligence for the ActionScript & MXML programming languages. Supports projects built with a variety of SDKs and tools — including Adobe AIR, Adobe Animate, the classic Apache Flex and Adobe Flex SDKs, Apache Royale, and the Feathers SDK. Runs on Windows, macOS, and Linux.
Extension created and maintained by Josh Tynjala. By becoming a patron, you can directly support the ongoing development of this project.
- Syntax Highlighting for ActionScript, MXML, and JSFL files.
- IntelliSense completion for classes and interfaces, imports, properties, methods, and more.
- Signature Help shows a list of a function's parameters when you call it.
- Errors and Warnings are updated in real time as you type (or on save only, if you prefer).
- Hover over a symbol to see more details such as types, namespaces, documentation, and more.
- Go to Definition with
Ctrl+Click on any usage of a symbol to open the file where it is defined. Can be used to see the public API of classes from compiled .swc libraries too.
- Find All References for any symbol in the project across all source files.
- Rename Symbol for classes, interfaces, methods, and variables.
- Organize Imports sorts imports alphabetically, removes unused imports, and adds missing imports.
- Quick Fixes to add missing imports, generate missing variables or methods, or convert variables to getters/setters.
- Outline view lists all symbols from the current file in a hierarchical tree.
- Go to Symbol in Workspace with
Ctrl+T and type the name of any symbol to search for it in the workspace.
- Build Tasks can compile a project or package an Adobe AIR app with
- Adobe Animate integration includes Test Movie, Debug Movie, and Publish.
- Import Projects from Adobe Flash Builder or FlashDevelop.
Help and Support
- Visual Studio Code 1.60
- Java 8 Runtime
Add a file named asconfig.json to the root of your project to enable the ActionScript & MXML extension.
A sample asconfig.json file for an Apache Royale project appears below:
Here's another sample asconfig.json file for a pure ActionScript project targeting Adobe AIR on mobile:
Debug and Run
Debug and run SWF projects in Adobe AIR or Flash Player by installing the separate Debugger for SWF extension.
source-map compiler option in your asconfig.json file so that you may add breakpoints and step through your original .as or .mxml class files.
Support this project
The ActionScript & MXML language extension for Visual Studio Code is developed by Josh Tynjala — thanks to the generous support of developers and small businesses in the community. Folks just like you! By becoming a patron, you can join them in supporting the ongoing development of this project.
Support Josh Tynjala on Patreon
Special thanks to the following sponsors for their generous support: