Skip to content

Support for Hydra inside IntelliJ IDEA is available starting with IntelliJ IDEA 2018.3.

Download

  1. Upgrade or download the latest IntelliJ IDEA (minimum version 2018.3).

  2. Install the Triplequote Hydra plugin via "Preferences > Plugins", click on the "Markeplace" tab and search for "Triplequote Hydra".

Install Triplequote Hydra IDEA plugin

  1. Restart IDEA when the installation is completed.

Enable Hydra

Hydra settings panel

  1. Open the "Hydra Compiler" settings by navigating to "Preferences > Build, Execution, Deployment" > "Compiler" > "Scala Compiler" > "Hydra Compiler".

  2. Tick "Enable Hydra", and set the version of Hydra you would like to use. Then, click on the "Download" button. This will retrieve the required dependencies to compile your Scala project with Hydra.

Note Mind that Hydra needs to be explicitly enabled on each imported project.

Compile

Try to rebuild the project and check the "Messages" view

Hydra compilation

Keep in mind that the number of Hydra workers used may vary depending on your machine's hardware and the number of compiled sources.