Support for Hydra inside IntelliJ IDEA is available starting with IntelliJ IDEA 2018.3.
Upgrade or download the latest IntelliJ IDEA (minimum version 2018.3).
Install the Triplequote Hydra plugin via "Preferences > Plugins", click on the "Markeplace" tab and search for "Triplequote Hydra".
- Restart IDEA when the installation is completed.
Open the "Hydra Compiler" settings by navigating to "Preferences > Build, Execution, Deployment" > "Compiler" > "Scala Compiler" > "Hydra Compiler".
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.
Try to rebuild the project and check the "Messages" view
Keep in mind that the number of Hydra workers used may vary depending on your machine's hardware and the number of compiled sources.