Difference between revisions of "IDE setup"

From Freeplane - free mind mapping and knowledge management software
m (Dimitry moved page Setup IDE for coding to IDE setup without leaving a redirect)
m (IntelliJ)
Line 14: Line 14:
 
   
 
   
 
==IntelliJ==
 
==IntelliJ==
IntelliJ can directly import gradle files. After the import run configuration directory <code>freeplane_debughelper/idea/runConfigurations</code>  containing run configuration files should be copied into directory <code>.idea</code> created by IntelliJ in project root  
+
IntelliJ can directly import gradle files. After the import directory <code>freeplane_debughelper/idea/runConfigurations</code>  containing run configuration files should be copied into directory <code>.idea</code> created by IntelliJ in project root
  
 
==Netbeans==
 
==Netbeans==

Revision as of 17:41, 10 December 2018

Pre-requisites

Freeplane can be developed in Eclipse, IntelliJ and Netbeans and directly imported from gradle files. Configuration and manifest files needed for debugging are created when gradle build is executed.

If you executed gradle builds for previous Freeplane versions, you should manually delete all MANIFEST.MF files which were generated by build scripts, they are not needed any more.

Eclipse

Eclipse can directly import gradle files using buildship plugin. Alternatively eclipse project files can be generated by gradle running command

gradle eclipse

Project freeplane_mac should be only included on Macs.

After direct import project freeplane_root should be removed.

There are eclipse launch configurations for debugging in project freeplane_debughelper. Configuration freeplane_debughelper/eclipse/freeplane.launch is the most useful one, configurations freeplane_debughelper/eclipse/freeplane dist.launch and freeplane_debughelper/eclipse/freeplane dist mac.launch are used to launch binary distributions created by gradle build.

IntelliJ

IntelliJ can directly import gradle files. After the import directory freeplane_debughelper/idea/runConfigurations containing run configuration files should be copied into directory .idea created by IntelliJ in project root

Netbeans

Netbeans can directly import gradle files using its Gradle support plug-in. Gradle tasks needed for running and debugging from the IDE are defined in freeplane_debughelper/build.gradle