To get started, follow instruction from README to install all the tools you will need.
For IntelliJ, you will need our custom code style. To set it up, download happening-settings.zip
file and use Import Settings
action in IntelliJ to import it. After that, go to Settings -> Editor -> Code Style
and select Happening-Java
scheme to set correct code style. Also,
go to Settings -> Editor -> Inspections
and select Happening-Java
scheme to set correct inspections.
For VSCode, there's already project-specific configuration set up in .vscode
folder. For this to work, you will also need Java Language Support extension or you can follow an official guide and install the whole pack suggested by Microsoft.
Since we are using Spotless with Eclipse XML configuration you can simply run mvn spotless:check
to verify that the formatting is correct or mvn spotless:apply
to fix it.