Categories

Versions

Using Eclipse

Installing Java

The first step of setting up your development environment is installing Java, if you haven't already. You can download Java here.

Downloading and installing IntelliJ IDEA

To work with IntelliJ IDEA:

  1. Go to the Jetbrains IntelliJ IDEA website and download the installer for your operating system.
  2. Execute the installer and follow the instructions.
  3. Launch IntelliJ IDEA (via direct launch or Jetbrains Toolbox) and follow the instructions until you see the welcome screen. ../img/jetbrains-toolbox.png ../img/intellij-welcome.png
  • Code completion supports camel case patterns (for example, entering ‘NPE’ will propose NullPointerException).
  • Type /** and press enter to automatically add a JavaDoc comment stub.
  • Press Ctrl+Alt+O to organize all imports automatically.
  • Press Alt+Enter to show possible fixes for a problem or possible actions.

Importing the extension template

To import the template:

  1. Open the Altair RapidMiner GitHub page in your browser.
  2. Select the repository rapidminer-extension-template.
  3. Clone the repository or download and unpack the .zip file to a directory of your choice.
  4. Open IntelliJ, click on Open and select the folder of the template (the unzipped or cloned folder from the previous step). ../img/intellij-welcome-open.png
  5. If not loading automatically, you will find a popup saying a gradle build script was found in the lower right corner. Click on Load and wait for IntelliJ to finish importing.

    ../img/intellij-gradle-load.png

Using build.gradle

You can now see the imported project in the Project view.

../img/intellij-open-build-gradle.png

Open the file build.gradle, and proceed to the next step - giving your extension an individual name and settings.