当前位置:网站首页>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

边栏推荐
- [UVM practice] Chapter 2: a simple UVM verification platform (4) the ultimate masterpiece of UVM: sequence
- Getdrawingcache of view is empty. Solution: interview questions for Android audio and video development
- Web technology sharing | webrtc recording video stream
- Median segmentation (find rules) - Niuke
- Data governance: from top project to data culture!
- Leetcode topic [array] -11- containers with the most rainwater
- Redis (5) -- Talking about compressed list
- Chapter 4 (functions and preprocessing)
- Es performance tuning and other features
- Here is the command to display the disk space usage. Go ahead and pay attention to more wonderful things!
猜你喜欢

Hand drawn style chart library chart Implementation principle of xkcd

Opencv鼠标事件+界面交互之绘制矩形多边形选取感兴趣区域ROI

Attention mechanism yyds, AI editor finally bid farewell to P and destroyed the whole picture

Google Earth engine (GEE) 02 basic knowledge and learning resources

Google Earth Engine(GEE) 01-中输入提示快捷键Ctrl+space无法使用的问题

Nine hours, nine people and nine doors (01 backpack deformation) - Niuke

Chapter II (summary)

arduino——ATtiny85 SSD1306 + DHT

Okhttp3 source code explanation (IV) cache strategy, disadvantages of Android mixed development

What are the key points of turnover box management in warehouse management
随机推荐
You can command Siri without making a sound! The Chinese team of Cornell University developed the silent language recognition necklace. Chinese and English are OK
Database learning notes II
Chapter VIII (classes and objects)
技术分享 | MySQL:caching_sha2_password 快速问答
Technology sharing | mysql:caching_ sha2_ Password quick Q & A
[NLP] vector retrieval model landing: Bottleneck and solution!
Can the warehouse management system help enterprises reduce storage costs
QT之一个UI里边多界面切换
Ping An technology's practice of migrating from Oracle to ubisql
Use intent to shuttle between activities -- use implicit intent
Leetcode topic [array] -11- containers with the most rainwater
Database learning notes I
OSPF design principles, commands take H3C as an example
Orderly arrangement
C#/. Net phase VI 01C Foundation_ 02:vs2019 basic operations, excluding code files, smart tips, data types, differences between float and double, and differences between string and string
Quickly upload data sets and other files to Google colab ------ solve the problem of slow uploading colab files
Getdrawingcache of view is empty. Solution: interview questions for Android audio and video development
花指令wp
2: String insert
WiFi-802.11 2.4G频段 5G频段 信道频率分配表