-
-
Notifications
You must be signed in to change notification settings - Fork 41
Extension settings
To configure the ActionScript & MXML extension for Visual Studio Code, open the File menu (On macOS, open the Code application menu) and go to Preferences → Workspace Settings.
Alternatively, you may manually create a file named
settings.json
inside your workspace's.vscode/
directory (you'll need to create this directory, if it doesn't exist in your workspace yet).
Specifies the folder path of the ActionScript SDK used by the current workspace. Supports Apache FlexJS, the Adobe AIR SDK & Compiler, the Apache Flex SDK, Adobe Flex SDK, and the Feathers SDK.
{
"nextgenas.sdk.framework": "/path/to/sdk"
}
This setting may also be customized by clicking the name of the currently selected SDK in the status bar to open the SDK picker.
Specifies a folder path containing one or more SDKs to add as custom options in the SDK picker.
{
"nextgenas.sdk.searchPaths": "/path/to/custom/sdks"
}
Alternatively, you can use an array of paths, if you happen store SDKs in more than one location:
{
"nextgenas.sdk.searchPaths": [
"/path/to/custom/sdks",
"/more/custom/sdks"
]
}
(Advanced) Indicates if the extension will use the bundled version of asconfigc or a different version that is installed on the system path.
If you have the npm version of asconfigc installed globally, and you'd prefer to use that version of asconfigc instead of the version that is bundled with the extension, change the value of this setting to false
.
{
"nextgenas.asconfigc.useBundled": false
}
(Advanced) If the extension cannot find Java automatically, this setting may be used to specify the exact path to the java
executable that the extension should use (Note: it must be an executable, and not directory).
On macOS or Linux, you might specify a path like this:
{
"nextgenas.java": "/usr/bin/java"
}
On Windows, you should specify the path to java.exe
(the exact path may be different on your system):
{
"nextgenas.java": "c:\\Program Files\\Java\\jre1.8.0_131\\bin\\java.exe"
}
(Advanced) Specifies the folder path of the Apache FlexJS SDK used internally by the extension for code intelligence. Unless you know what you're doing, you should probably set nextgenas.sdk.framework
instead.
{
"nextgenas.sdk.editor": "/path/to/sdk"
}
If you are using a pre-release nightly build of Apache FlexJS, you may need to use the
nextgenas.sdk.editor
setting.
- Adobe AIR (Mobile)
- Adobe AIR (Desktop)
- Adobe Flash Player
- Apache Royale
- HTML and JS (no framework)
- Node.js
- Feathers SDK
- Adobe Animate
- Classic Flex SDK
- Library (SWC)
- Royale Library (SWC)