Skip to content

Extension settings

Josh Tynjala edited this page Jul 12, 2017 · 38 revisions

To configure the NextGen ActionScript extension for Visual Studio Code, open the File menu (On macOS, open the Code application menu) and go to PreferencesWorkspace Settings. Alternatively, you may manually create a file named settings.json inside your project's .vscode/ directory.

Settings

nextgenas.sdk.framework

Specifies the folder path of an ActionScript SDK to load a different framework than the one in the Apache FlexJS SDK. This setting may be optionally used to create a project using the Feathers SDK or the classic Apache Flex SDK.

{
	"nextgenas.sdk.framework": "/path/to/sdk"
}

nextgenas.sdk.editor

The path to an Apache FlexJS SDK. The ActionScript extension uses this SDK to power the code intelligence features of Visual Studio Code. By default, the extension will attempt to locate an Apache FlexJS SDK using the FLEX_HOME and PATH environment variables. You may use this setting to specify the path to a specific SDK, if necessary.

{
	"nextgenas.sdk.editor": "/path/to/sdk"
}

Note: Projects are not required to compile using the Apache FlexJS SDK specified by the nextgenas.sdk.editor setting. Other SDKs may be used to compile instead, if needed. To learn how to compile your project, see Create tasks.json to compile an ActionScript project.

nextgenas.java

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:

{
	"nextgenas.java": "c:\\Program Files\\Java\\jre1.8.0_131\\bin\\java.exe"
}
Clone this wiki locally