Chapter 7. Importing your Quarkus project into an IDE
Although it is possible to develop your Quarkus project in a text editor, you might find it easier to use an integrated development environment (IDE) to work on your project. The following instructions show you how to import your Quarkus project into specific IDEs.
Prerequisites
- You have a Quarkus Maven project.
Procedure
Complete the steps in one of the following sections:
CodeReady Studio or Eclipse
-
In CodeReady Studio or Eclipse, click File
Import. -
Select Maven
Existing Maven Project. - On the next screen, select the root location of the project. A list of the found modules appears.
- Select the generated project and click Finish.
To start your application, enter the following command in a new terminal window:
./mvnw compile quarkus:dev
./mvnw compile quarkus:devCopy to Clipboard Copied! Toggle word wrap Toggle overflow
IntelliJ
In IntelliJ, complete one of the following tasks:
-
Select File
New Project From Existing Sources. - On the Welcome page, select Import project.
-
Select File
- Select the project root directory.
- Select Import project from external model and then select Maven.
- Review the options and then click Next.
- Click Finish.
To start your application, enter the following command in a new terminal window:
./mvnw compile quarkus:dev
./mvnw compile quarkus:devCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Apache NetBeans
-
Select File
Open Project. -
Select the project
rootdirectory. - Click Open Project.
To start your application, enter the following command in a new terminal window:
./mvnw compile quarkus:dev
./mvnw compile quarkus:devCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Visual Studio Code
- Install the Java Extension Pack.
- In Visual Studio Code, open your project directory. The project loads as a Maven project.