You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Follow these instructions to use IntelliJ IDEA for developing FlexJS applications.  

Basically, at the moment, there is no specific plugin in IntelliJ IDEA use FlexJS, therefore, the idea is to setup a standard Apache Flex Project and add FlexJS as a library on this project, also, given there's no specific compiler integration, we will use the IntelliJ external tools feature to call it.

 

I will assume you have installed, at least one Apache Flex SDK and the last FlexJS SDK, if not, as a quick reminder see Using FlexJS with Adobe Flash Builder where 2 ways are described, hence, I advice you to use the http://flex.apache.org/installer.html

 

We will use an existing FlexJS example to start and play with, DataBindingTest from he <FlexJS SDK>\examples\DataBindingTest, so, in IntelliJ:

 

1- Create a new Flash project

2- Tick "Create sample app" and enter "DataBindingTest.mxml"

3- Untick "Create HTML wrapper template".

 

4- Select the Apache Flex SDK you have downloaded, in the illustration, I choose the Apache Flex SDK 4.10.0

If you don't have yet configured in IntelliJ a SDK, you will need to create and select one, see the above illustration

 

5- Name your project DataBindingTest

6- The project will open, IntelliJ will index the SDK files, wait a bit and got to file/project structure, then module and dependecies, you should see something like the illustration below

7- 

  • No labels