Skip to content

Latest commit

 

History

History
85 lines (38 loc) · 2.65 KB

01_ide-configuration.md

File metadata and controls

85 lines (38 loc) · 2.65 KB

Intellij IDEA Configuration

IJ initial screen

SDK

Configure->Project Defaults-->Project structure

Add JDK 8

SDK Configuration screen

Set default SDK for new projects

Default SDK Configuration screen

Hotelbeds code style

Configure->Project Defaults-->Settings

Import java code style xml file. You can use this file

Code Style Configuration screen

Maven

Configure your maven installation

Maven Configuration screen

Version control configuration

Git

GIT Configuration screen

Connect GitHub account

GitHub Account Configuration screen

Issue navigation

Issue navidator configuration screen

Commit dialog

Commit dialog configuration screen

Background tasks

Version control background tasks configuration screen

Lombok plugin

To work with the lombok annotations, we need to install the lombok support plugin in the IDE

IDE Lombok plugin configuration screen

SonarLint plugin

SonarLint is an IDE extension that helps you detect and fix quality issues as you write code. Like a spell checker, SonarLint squiggles flaws so they can be fixed before committing code. If your project is analyzed on SonarQube or on SonarCloud, SonarLint can connect to the server to retrieve the appropriate quality profiles and settings for that project. Java 8 is required to run SonarLint.

Install SonarLint plugin and configure a SonarQube Server.

IDE SonarLint plugin configuration screen

This token is valid for hotelbeds developers (74edabe75ebbe6b95142be71f75347bdcfda5581). The sonarqube server is only accessible from the internal network.

IDE SonarLint plugin token configuration screen

This plugin will accompany you in all your developments, so it is important to take a look at the documentation to know its use.

Next lab

Quickstart Springboot project