当前位置:网站首页>Getting started with idea
Getting started with idea
2022-06-26 08:02:00 【qq_ forty-five million seven hundred and thirty-two thousand fi】
1. Install and download
Download address :
https://www.jetbrains.com/idea/
As for the Community Edition / It's up to the commercial version to decide 
2. Create project
2.1 establish JT project

2.2 choice maven

2.3 choice jar Package version

2.4 Project initialization format

3. IDEA To configure
3.1 Install Chinese plug-ins ( Optional packaging )
For starters , Many IDEA Configuration of , I'm not very familiar with English . So the official provided a Chinese patch , Since then, there is no pressure to use , I feel it's easy to use .
contain chinese and lombok Install them all . Restart after installation IDEA that will do .
3.2 Configure the key position
Set the key position of the shortcut key choice eclipse
3.3 Set the letter size

3.4 Match case prompt

3.5 Set auto compilation

3.6 To configure maven

3.7 Set auto save

3.8 The construction method prompts

4. Configure Jingtao project
4.1 Configure the parent project jt
4.1.1 modify POM.xml file

4.1.2 add to jar Package file
<!-- utilize parent label ,springBoot The project integrates the packages and specific configurations of other frameworks parent Is defined in . Defines the version package information . -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.2.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<!-- At present maven Configuration information -->
<properties>
<java.version>1.8</java.version>
<!-- Appoint maven The plug-in version -->
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<!-- Skip test class packaging -->
<skipTests>true</skipTests>
</properties>
<!-- Project dependency information . Maven: jar Packages have dependencies A ~~~~ B ~~~~~C Import A when BC Will automatically import . -->
<dependencies>
<dependency>
<!-- Group ID: General company domain name inverted -->
<groupId>org.springframework.boot</groupId>
<!-- Project name -->
<!--SpringMVC Configuration information jar The configuration file Out of the box effects Definition -->
<artifactId>spring-boot-starter-web</artifactId>
<!-- Project version No -->
<!-- <version> Defined in the parent </version> -->
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Add property Injection -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<!-- Support hot deployment -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>
<!-- Introducing plug-ins lombok automatic set/get/ Build method plug-ins -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<!-- Introduce database driver -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<!--springBoot Database connection -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<!--spring Integrate mybatis-plus -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.2.0</version>
</dependency>
<!--springBoot Integrate JSP Add dependency -->
<!--servlet rely on -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>
<!--jstl rely on -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
</dependency>
<!-- send jsp Page effective -->
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
</dependency>
<!-- add to httpClient jar package -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
<!-- introduce dubbo To configure -->
<!--
<dependency>
<groupId>com.alibaba.boot</groupId>
<artifactId>dubbo-spring-boot-starter</artifactId>
version>0.2.0</version>
</dependency>
-->
<!-- add to Quartz Support for -->
<!-- <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-quartz</artifactId>
</dependency> -->
<!-- introduce aop Support -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<!--spring Integrate redis -->
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-redis</artifactId>
</dependency>
</dependencies>
4.2 establish jt-common project
4.2.1 Create a new module

4.2.2 Select the project type by default jar package


4.2.3 Import jt-common project

4.3 establish jt-manager project
4.3.1 Create project

4.3.2 establish jt-manager project

4.3.3 Modify the packing method / Add dependency information / Add the plug-in
<parent>
<artifactId>jt</artifactId>
<groupId>com.jt</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jt-manager</artifactId>
<packaging>war</packaging>
<!-- Add dependency information -->
<dependencies>
<dependency>
<groupId>com.jt</groupId>
<artifactId>jt-common</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
<!-- Add the plug-in -->
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
4.3.4 Import jt-manager src file
explain : In the original project before class src The file can be imported 
4.3.5 Configure startup items


4.3.6 Start the effect test

4.3.7 take jt-common pack

5. About IDEA To configure
5.1 About IDEA Bean Automatic injection error description
modify IDEA data verification take √ No. can be removed .
The configuration of Chinese version is shown in the figure .
5.2 IDEA Hot deployment configuration
1. Modify auto save configuration 
2. Add autoconfiguration registration
ctrl +alt + shift +/ Shortcut key Call out the registration operation 
3. Will automatically register to tick .
5.3 IDEA Shortcut key settings

5.3 IDEA Plug in installation
5.3.1 Plug in website
url : https://plugins.jetbrains.com/
5.3.2 Manually search for plug-ins

5.3.2 Manually import plug-ins

6 LOMBOK Introducing problems
6.1 Installing a plug-in

6.2 Check LOMBOK Whether the package is downloaded normally

6.3 Start annotation processing

边栏推荐
- Jz-063- median in data stream
- Pycharm settings
- JMeter performance testing - Basic Concepts
- Xiaosha's counting (bit operation, Combinatorial Mathematics) - Niuke
- 指南针炒股软件开户是合法的吗?安全吗
- Basic use of swiperefreshlayout, local refresh of flutterprovider
- Uniapp uses uviewui
- 2021 project improvement
- Google Earth engine (GEE) 02 basic knowledge and learning resources
- Gavin teacher's insight on transformer live class - multi state transition of financial BOT and rasa interactive behavior analysis of Rasa project (52)
猜你喜欢

The difference between setstoragesync and setstorage

Gavin teacher's insight on transformer live class - multi state transition of financial BOT and rasa interactive behavior analysis of Rasa project (52)

Chapter VI (pointer)

ASP. Net and Net framework and C #

Can the warehouse management system help enterprises reduce storage costs

Household enterprises use WMS warehouse management system. What are the changes

Uniapp uses uviewui

PCB miscellaneous mail

Automatic backup of MySQL database in the early morning with Linux

Record the dependent installation problems encountered in building the web assets when developing pgadmin
随机推荐
Exploration and practice of incremental data Lake in station B
What is Wi Fi 6 (802.11ax)? Why is Wi Fi 6 important?
Uni app is similar to Taobao in selecting multiple specifications of commodities (inventory judgment)
Project management learning
Children play games (greed, prefix and) - Niuke winter vacation training camp
Real machine debugging of uniapp custom base
Chapter 3 (data types and expressions)
Data governance: from top project to data culture!
ASP. Net and Net framework and C #
Jz-063- median in data stream
Okhttp3 source code explanation (IV) cache strategy, disadvantages of Android mixed development
Wifi-802.11 2.4G band 5g band channel frequency allocation table
Arrangement and insertion structure
[UVM practice] Chapter 3: UVM Fundamentals (3) field automation mechanism
[SystemVerilog basics] post_ Randomize function record
Detailed explanation of the generate go file command of import in golang (absolute detail)
记一次开发 pgadmin 时执行 Building the Web Assets 遇到的依赖安装问题
QT之一个UI里边多界面切换
2: String insert
PyTorch-12 GAN、WGAN