Take the following steps to integrate Studio with IntelliJ IDEA or Eclipse:
-
Open or create a new project in the Studio.
-
Switch to Project properties section and click . Select the required Java IDE by checking or .
-
Select
> in the Studio menu. The corresponding files will be created in the project directory. -
For IntelliJ IDEA 12+ integration:
-
Run IntelliJ IDEA 12+ and install CUBA Framework Integration plugin, from the plugin repository: .
-
Find CUBA in the Languages and Frameworks section of the menu. Check Enabled on the Studio integration panel and click .
-
-
For Eclipse 4.3 integration:
-
Run Eclipse, open
, addhttp://files.cuba-platform.com/eclipse-update-site
repository and install the CUBA Plugin. -
In the CUBA section of the menu, check Studio Integration Enabled, and click .
-
Please note that IDE: on port 48561 label has appeared in the bottom left corner of the Studio. Now the corresponding source code files will be opened in IDE when you click IDE buttons in the Studio.