Skip to content

IDE Setup & Configuration

CIS projects make extensive use of code generation via Lombok and MapStruct. Proper IDE configuration ensures smooth compile-on-save and auto-completion.


IntelliJ IDEA Setup

1. Enable Annotation Processing

MapStruct and Lombok generate code during compilation: 1. Open Settings / Preferences (Ctrl + Alt + S). 2. Navigate to Build, Execution, Deployment > Compiler > Annotation Processors. 3. Check Enable annotation processing. 4. Set Store generated sources relative to: Module content root.

2. Configure JDK 25

  1. Navigate to File > Project Structure > Project.
  2. Set SDK to Java 25.
  3. Set Language Level to 25.

3. Gradle Runner Configuration

  1. Navigate to Settings > Build, Execution, Deployment > Build Tools > Gradle.
  2. Under Build and run using:, select Gradle (Default).
  3. Under Run tests using:, select Gradle (Default).
  4. Set Gradle JVM: Project SDK (25).

Visual Studio Code Setup

If working in VS Code, install the recommended extensions: - Extension Pack for Java (vscjava.vscode-java-pack) - Gradle for Java (vscjava.vscode-gradle) - Spring Boot Extension Pack (vmware.vscode-spring-boot) - Lombok Annotations Support (gayanm.ms-vscode-lombok)

Add the following to .vscode/settings.json:

{
  "java.configuration.runtimes": [
    {
      "name": "JavaSE-25",
      "path": "C:\\Program Files\\Java\\jdk-25",
      "default": true
    }
  ]
}