Skip to content

openrndr/openrndr-intellij

Repository files navigation

OPENRNDR Plugin for IntelliJ

Install it on the JetBrains Marketplace

Support for the OPENRNDR framework in Kotlin.

Features

  • ColorRGBa preview and color picker in the editor gutter
  • ColorRGBa preview in the debugger view and autocomplete dialog

ColorRGBa preview in the editor

ColorRGBa preview in the editor

ColorRGBa preview in the debugger

ColorRGBa preview in the autocomplete dialog

java_2022-07-06_16-59-14.webm

Building the plugin

  1. Open the project
  2. Run the buildPlugin Gradle task
  3. Open your IntelliJ plugins menu and find the option "Install Plugin from Disk..." and point it to the zip file within build/distributions/ in the project directory

Running the tests

The plugin tests have a dependency on openrndr-color which unfortunately means intellij-community sources will be needed to run the tests.

Make sure you check out intellij-community repository to the same tag you're trying to build the plugin against. So for example, if this plugin is targeting 232.10227.8, you will need to run git switch --detach idea/232.10227.8.

Clone https://github.com/JetBrains/intellij-community (consult their README) in a directory adjacent to where you cloned this project so the resulting directory layout looks like the following.

/projects/
├───intellij-community
└───openrndr-intellij

Now you can run the Gradle test task.