ActionScript & MXML extension for Visual Studio Code
This README file is intended for contributors to the extension. If you simply want to install the latest stable version of the extension, please visit the Visual Studio Marketplace. For help using the extension, visit the wiki for detailed instructions.
This project is divided into several modules.
language-server provides ActionScript and MXML code intelligence for Visual Studio Code or another editor that supports the Language Server Protocol. It integrates with the compiler from Apache Royale and is written in Java.
swf-debugger provides SWF debugging for Visual Studio Code or another editor that supports the VSCode Debugging Protocol. It integrates with the debugger from Apache Royale and is written in Java.
asconfigc parses asconfig.json and executes the compiler with the specified options.
check-java-version creates an executable JAR file that will verify that the current version of Java meets the minimum requirements for the language server.
check-royale-version creates an executable JAR file that will verify that the current version of Apache Royale meets the minimum requirements for the language server.
vscode-extension initializes the Java language-server process from inside Visual Studio Code and handles a few features that the Language Server Protocol does not support.
distribution packages everything together to create the final extension that is compatible with Visual Studio Code.
mvn clean package -s settings-template.xml
The extension will be generated in distribution/target/vscode-nextgenas/vscode-nextgenas. This directory may be run inside Visual Studio Code's extension host. Additionally, a .vsix file will be generated that may be installed in Visual Studio Code.
Tests are run in the Visual Studio Code extension host.
- Open the root of this repository in Visual Studio Code.
- Goto the View menu, and select Debug.
- Choose the Launch Tests configuration.
- Goto the Debug menu and select Start Debugging.
Results will appear in the Output view.
Note: If the extension cannot find Apache Royale on your system automatically, you may need to configure the
as3mxml.sdk.editor setting in vscode-extension/src/test/application_workspace/.vscode/settings.json.
Support this project
The ActionScript & MXML extension for Visual Studio Code is developed by Josh Tynjala with the support of community members like you.
Special thanks to the following sponsors for their generous support: