- The Flash/Flex Support plugin. This plugin is bundled with the IDE and must be enabled.
- A dedicated module type (Flash).
- Build configurations for the various target platforms (Web, Desktop and Mobile) and output types (SWF and SWC).
- Dedicated run/debug configuration types (Flash App, FlexUnit and Flash Remote Debug).
- The ActionScript Profiler and Flash UI Designer plugins. These plugins are available for download from the JetBrains repository. For more information, see Profiling CPU in Flash and Flex Applications. See also, Installing, Updating and Uninstalling Repository Plugins.
In this section:
- Preparing for ActionScript or Flex Application Development
- Creating and Editing ActionScript and Flex Application Elements
- Working with Build Configurations
- Configuring Dependencies for Modular Applications
- Building ActionScript and Flex Applications
- Running and Debugging ActionScript and Flex Applications
- Packaging AIR Applications
- Importing Adobe Flash Builder Projects
- Testing ActionScript and Flex Applications
- ActionScript-Specific Refactorings
On this page:
ActionScript and Flex Support
ActionScript and Flex support includes:
- 10.0+ Code completion, including completion of statements (Ctrl+Shift+EnterCtrl+Shift+EnterCtrl+Shift+EnterCtrl+Shift+EnterCtrl+Shift+EnterCtrl+Shift+EnterCtrl+Shift+EnterCtrl+Shift+Enter or Ctrl+SemicolonCtrl+Shift+EnterShift Command EnterShift Command EnterShift Command Enter) and Smart Type completion (Ctrl+Shift+SpaceCtrl+Shift+SpaceCtrl+Shift+SpaceCtrl+Shift+SpaceCtrl+Shift+Space or Ctrl+Alt+SlashCtrl+Shift+SpaceShift+Alt+SpaceCtrl+Shift+Space or Ctrl+Shift+Back SlashShift+Alt+SpaceControl Shift SpaceControl Shift SpaceShift Alt Space).
- Error and syntax highlighting.
ActionScript and Flex code refactorings:
- Change Method Signature.
- Delegate Methods.
- Extract Interface.
- Extract Method.
- Extract Superclass.
- Introduce Constant.
- Introduce Field.
- Extract Parameter.
- Introduce Variable.
- Move a class or an interface to a package.
- Move Inner to Upper Level for moving classes, functions, variables, constants and namespaces declared outside of packages into a package.
- Move/Copy a file.
- Move Static Members.
- Pull Members Up, Push Members Down.
- Rename a file, function, variable, parameter, property or label (both directly and via references).
- Safe Delete a file.
- ActionScript and Flex code inspections and quick-fixes.
- Intention Actions for creating various application elements.
- Code formatting and folding.
- Advanced Search and Navigation, plus Structure View.
- Enhanced navigation with gutter icons.
- Navigation from CSS properties and selectors to their declarations in ActionScript (Ctrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+Alt+G, Escape, Period, Alt+Period or Ctrl+Button1 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickF12, Shift+F2, Ctrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickF3 or Ctrl+Button1 ClickCommand B, Command Button1 Click or Button2 ClickCommand B, Command Button1 Click or Button2 ClickF3 or Control Button1 Click).
- Possibility to build ActionScript and Flex applications using various compiler shells and compilation options.
- Support for breakpoints and specific run/debug configurations for debugging ActionScript and Flex applications directly from IntelliJ IDEA.
- ActionScript and Flex-aware debugger that lets you execute applications step by step, evaluate expressions, examine related information and find runtime bugs.
- 9.0+ Quick Javadoc (Ctrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+QCtrl+Q or Alt+Button2 ClickAlt+Button2 Click, Ctrl+Shift+Space or F2F1, Control J or Control Button2 ClickControl J or Control Button2 ClickAlt Button2 Click or F2) for AsDoc.
- BlazeDS support.
- 10.5+ AIR application development support at all stages of application development cycle. Development of AIR applications for mobile devices is also supported. For basic how-to information, see New in IntelliJ IDEA 10.5: Develop Mobile AIR Applications for Android.
- Possibility to create pure ActionScript applications.
- Ability to wrap and unwrap code constructs in ActionScript and MXML (Ctrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+T or Ctrl+Shift+CCtrl+Alt+TCtrl+Alt+TShift+Alt+Z or Ctrl+Alt+TAlt Command TAlt Command TAlt Command Z and Ctrl+Shift+DeleteCtrl+Shift+DeleteCtrl+Shift+DeleteCtrl+Shift+DeleteCtrl+Shift+DeleteCtrl+Shift+DeleteCtrl+Shift+DeleteCtrl+Shift+DeleteAlt+RShift Command DeleteShift Command DeleteShift Command Delete).
- 9.0+ Type Hierarchy (Ctrl+HCtrl+HCtrl+HCtrl+HCtrl+HCtrl+HAlt+HShift+Alt+F12F4Control HControl HF4), Method Hierarchy (Ctrl+Shift+HCtrl+Shift+HCtrl+Shift+HCtrl+Shift+HCtrl+Shift+HCtrl+Shift+HCtrl+Shift+HCtrl+Shift+HCtrl+Shift+HShift Command HShift Command HShift Command H) and Call Hierarchy (Ctrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HControl Alt HControl Alt HControl Alt H) for Flex sources (*.mxml and *.as files).
- 9.0+ Easy import of Flex projects created in Adobe Flash Builder.
- Import of Flexmojos projects. See Working with Flexmojos projects in IntelliJ IDEA. See the description of related import setting.
- 10.0+ ActionScript and Flex UML class diagrams. Among the features is the ability to view changes in ActionScript source files in a structured visual form.
IntelliJ IDEA supports the versions 0.9 and 4 of FlexUnit, a unit testing framework for Flex and ActionScript applications and libraries.
FlexUnit support includes:
- Dedicated FlexUnit run/debug configurations to run a single test method, test suite, all methods in a certain test class, or all test classes in a given package.
- Ability to perform the tests both in the run and the debug modes.
- Support for Flunit tests via FlexUnit 4 test runner.
- FlexUnit-aware code inspections (turned off by default).
- Developing, running and packaging AIR mobile applications for Android
- The Extract Interface and Extract Superclass refactorings for Flex and ActionScript
- The Change Method Signature refactoring for ActionScript and Flex
- Working with Flexmojos projects in IntelliJ IDEA
- New in IntelliJ IDEA 10.5: Develop Mobile AIR Applications for Android
- Profiling CPU in Flash and Flex Applications