Skip to content

Latest commit

 

History

History
75 lines (41 loc) · 3.86 KB

IDE_INSTRUCTIONS.md

File metadata and controls

75 lines (41 loc) · 3.86 KB

IDE Instructions

Import Maven Project into IDE

Note: We assume you already cloned the corresponding application and have the source code on your local file system. We further assume that you installed Java and Maven on your system.

IntelliJ IDEA

In IDEA you can import an existing Maven project with File -> Open.... A dialog opens on which you can choose the directory of your project (for example ~/source/LakesideMutual to import all projects at once).

A pop-up opens to inform you about "Maven build scripts found" that you can then import by clicking load:

Choose Maven in IntelliJ IDEA Import Dialog

Visual Studio (VS) Code

Preconditions: in VS Code you will need a few extensions for Java development. We recommend to install the Java Extension Pack which also includes support for Maven.

Use File -> Open Folder... to open the folder of the corresponding project in VS Code.

Open Folder in Visual Studio Code

VS Code asks you if you want to import the Java project; say yes or always:

Import Java Project in VS Code

After opening the folder and enabling the Java project you should be ready to work on the application. With the Maven panel (on the left side at the bottom of the explorer) you can also run Maven goals, such as spring-boot:start:

Run Spring Boot Application in VS Code

Eclipse / Spring Tool Suite (STS)

In case you use Eclipse, ensure that you use Eclipse IDE for Java Developers, Eclipse IDE for Enterprise Java Developers, or Spring Tools 4 for Eclipse (STS). Those versions of Eclipse include required plugins such as the Maven plugin.

You can import a Maven project via File -> Import... and then choose Maven -> Existing Maven Projects.

Import Project in Eclipse

Import Existing Maven Project in Eclipse

Set the directory of the project as root path and press Finish:

Choose Existing Maven Project in Eclipse

Import Node App into IDE

Our frontend applications (or the risk management server in LakesideMutual) typically use Node.js. For these apps, we recommend to use Visual Studio Code.

VS Code

Use File -> Open Folder... to open the folder of the corresponding project in VS Code.

Open Folder in Visual Studio Code

IntelliJ IDEA

In IDEA you can import an existing Node.js project with File -> New -> Project From Existing Sources...:

Create Project from existing sources

Choose the directory of the Node project you want to import:

Choose existing node project

Choose to create a new project:

Choose to create a new project

After that, press two times Next and then Finish.

Your node project is imported and ready to run. With a right-click to the package.json file you can show npm scripts or run npm install directly:

Run npm scripts in IntelliJ IDEA

If you click Show npm Scripts, you can also start the application easily:

Start Node.js application in IntelliJ IDEA

Eclipse

There might be plugins around to develop Node.js applications in Eclipse, but we do not really recommend this path.