IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Quarkus

Last modified: 10 August 2022

Required plugin: Quarkus (bundled)

Quarkus is a Kubernetes-native Java framework mainly aimed at building microservices. IntelliJ IDEA provides the following:

  • Coding assistance specific to Quarkus.

  • Integration with the Bean Validation, CDI, and Endpoints tool windows.

  • A dedicated project creation wizard based on code.quarkus.io.

  • A dedicated run configuration for Quarkus applications.

If you have selected the Add sample code option in the New Project wizard, the generated project will contain a REST endpoint named ExampleResource with the following code:

You can open the Endpoints tool window (View | Tool Windows | Endpoints) and see this endpoint:

ExampleResource endpoint in the Endpoints tool window

The default configuration runs your Quarkus application in development mode, which enables background compilation. For example, you can change the string returned by the hello() method in the ExampleResource class to Hello from a modified Quarkus endpoint and you will see this new string after you refresh http://localhost:8080/hello without restarting your application.