IDEA, or IntelliJ, is an integrated development tool from JetBrains. It is one of the most advanced Java development tools available to rapidly develop our Java-related projects. Compared to other development tools, IDEA provides more powerful hints, comprehensive shortcuts, template code, and fast resource integration.

Download and installation preparations Hardware requirements 1) memory 8 gb or more 2) hard disk free space more than 5GB, preferably a solid state drive.

Software requirements 1)Microsoft Windows 8 or Later 2)macOS 10.13 or later 3)Any Linux distribution 4)Set Up and Config JDK1.8

Download the IDEA tool. Download the IDEA from the following website:

https://www.jetbrains.com/idea/ according to the different operating system, can choose different platform of the IDEA, for example: image. PNG

Note: As for the community version (limited function free version)/ commercial version (trial) at your discretion.

IDEA Tool Installation After the IDEA is downloaded, install it for use. If you only download the decompressed version, you can copy it to a non-Chinese directory, and then directly decompress the application. If the downloaded executable program (such as Windows platform. Exe file) directly start the executable program, and then follow the prompts, step by step to install.

IDEA Official help Documents Refer to the following:

https://www.jetbrains.com/hel… Start IDEA tool, find the root directory of IDEA decompressed or installed, and then go to bin directory to find idea.bat or idea64.exe file, and then double-click directly to start, the first startup welcome interface is as shown in the figure:

image.png

During the presentation of the first interface, the bottom layer of IDEA is actually initiating and initializing. If it is the first startup, the second interface will be entered after a while, for example:

image.png

In the second interface, we first select “Create New Project”, and then enter the interface of “Create Project”. Here we first select “Create empty Project”, as shown in the picture:

image.png

After selecting Empty Project, click Next to enter the design of the Project, as shown in the picture:

image.png

In the above picture, click The Finish button to complete the creation of the project and enter the project working window of IDEA, as shown in the picture:

image.png

IDEA Basic configuration Appearance(display) Theme configuration image.png

KeyMap(shortcut key) configures image.png

Editor configuration General Configuration Scroll to change the font size configuration, as shown in the image: image.png

Package import configuration, as shown in figure image.png

The line number and method separator are configured as shown in the image: image.png

The code prompts configuration, as shown in the image: image.png

Code completion configuration, as shown in the image: image.png

Font configuration Code edit area Font configuration, as shown in the figure: image.png

Console font configuration, as shown in the image: image.png

The comment Color configuration in the Color configuration code, as shown in the image: image.png

File encoding Configures image.png

The automatic compilation configuration (optional) can be slow when selected, as shown in the image

Go to the Maven root directory on your disk and open the conf directory to settings. XML. Then perform the following configuration:

${user.home}/.m5/repository Configure the Maven private server (inside the mirrors TAB).

<id>aliyun</id>
<name>aliyun for maven</name>
<mirrorOf>*</mirrorOf>
<url>https://maven.aliyun.com/repository/public</url>

Configure the profile in Maven (configured inside the Profiles TAB) and set the JDK compile and run version. < profile > < id > JDK 1.8 < / id > < activation >

The < activeByDefault > true < / activeByDefault > < JDK > 1.8 < / JDK >

</activation>

<properties>

Piler < maven.com. Source > 1.8 < / maven.com piler. Source > < maven.com piler. Target > 1.8 < / maven.com piler. Target > The < maven.compiler.com pilerVersion > 1.8 < / maven.compiler.com pilerVersion >

Find the Build Tools/Maven option and then integrate the local Maven configuration in IDEA. As shown in the figure:

image.png

This section mainly introduces the IDEA development tool briefly, and then makes a preliminary configuration based on the application we will do in the future. Based on this configuration, we can better develop the project creation and test in the future.