当前位置:网站首页>Installation and usage skills of idea
Installation and usage skills of idea
2022-04-23 06:21:00 【Excellent face】
IDEA Installation and use skills of
List of articles
Installation and use
idea Official website :https://www.jetbrains.com/idea
Download... On the official website , I use 2019.3 This version .
Related documents , In my personal blog ( Excellent face ) see .
Blog address :http://goodysr.cn
First , We download the corresponding version on the official website IDEA, Double-click on the run , Click on Nest, Installation .

Select the directory to install , Be careful not to have Chinese , Existence of Chinese characters .

next step , Make the basic configuration .

Then install , Wait patiently .

Download complete , Click on finish. After that, we will have IDEA The icon , The installation is complete . We double-click to start IDEA Software , Conduct permanent use operation . Open software , choice Do not import settings.

If you come up, you need to register , Choose trial (Evaluate for free) Get into IDEA, And then click Evaluate, Get into .

Click on what you want to register IDEA menu :"Configure" or "Help" -> "Edit Custom VM Options ..."

Add at the end of the open window :jetbrains-agent.jar Path location of the package , This package can be obtained from my official account. . Choose according to different operating systems , I'm aiming at windows system operation .

Then restart your IDEA, Click on IDE menu “Help” -> “Register…” or “Configure” -> “Manage License…”. choice Activation code,
hold Code Copy the code on it , It can be used for a long time .

After the above operations are successful , open IDEA The appearance of :

IDEA Directory structure description :
After successful installation , stay IDEA Installation directory , find bin In the catalog idea64.exe.vmoptions file . This is 64 Bit IDEA Configuration information ,
Open this file , If you develop large projects , modify IDEA Default configuration .

If your computer is memory 16G, You can modify these values , Improve development efficiency . If it is 8G, Modification is not recommended .
First set the initial number of memory ( promote IDED The opening speed of ) Modifiable 500m
The second largest number of contents ( Reduce the frequency of garbage collection ) Modifiable 1500m
Size of the third reserved cache code Modifiable 500m
IDEA Common settings for :
Set the theme , The skin
menu bar - find - File - Setting Find the following position here , Modify the desired theme . If you choose more topics , You can go to IDEA Download... On the official website , Import corresponding jar, You can use .

Set the mouse hover prompt
When we look at the code , Hover the mouse over a class , Display the prompt information and description of this class .

Settings cancelled Tabs Single line labels
When too many files are opened ,Tab The label also displays an ellipsis … , Cancel this , Multiple lines of file labels are displayed .

Set file size
stay Font Set in the , File size and line spacing .
Set the document comment information of the class header
Creating a class , The document information of this class will be displayed .

Set the project file encoding

Set the point saving mode
This setting is generally not required , Will affect development efficiency . The code check is turned off , Tips .

### Plug in settings

Debug Set up
Shared memory yes Windows A unique property , Generally in Windows This setting is recommended under the system , Memory footprint is relatively small .

Maven Set up
Configure the relevant address
stay Importing Next Import Maven projects automatically To check , When pom File change auto import package .

### Cache and index cleanup stay File Next , find Invalidate ..., After entering Invalidate After button , Just recompile the index , Clean cache .

however , We have connections GIT, The history of our submission will also be cleared , Path in
C:\Users\ My own computer .IntelliJIdea2019.3\system\LocalHistory
If you don't want to be cleared , This directory needs to be backed up , Then after cleaning up , Just put it back .
Cancel IDEA Automatic update of

IDEA Shortcut key settings :
Shortcut key settings , You can select a shortcut key for a software .

IDEA Common shortcut keys :
Universal solution / Production return variable Alt + enter
Code prompt completion Alt + /
Return to the previous edit page Alt + Left
Return to the next edit page Alt + Right
The left window shows the structure of the current file Alt + 7
Find all references to your functions or variables or classes Alt + F7
View method parameters Ctrl+P
view classes 、 Method 、 Attribute note Ctrl+Q
Find the class Ctrl + N
Replace text with current window Ctrl + R
Select the code Ctrl + W
Delete row Ctrl + X
Copy line Ctrl + D
Display class structure chart Ctrl + H
Rewriting methods Ctrl + O
Implementation method Ctrl + I
Recently changed code Ctrl + E
Declaration of the current method Ctrl + Q
try Shortcut key Ctrl + Alt + T
formatting code Ctrl + Alt + L
toggle case Ctrl + Shift + U
Full text search Ctrl + Shift + F
Warning quick fix Shift + F2
View breakpoints Ctrl + Shift + F8
Stepping into F7
Smart walk in Shift + F7
Forced entry Alt + Shift + F7
Step over F8
Step out Shift + F8
Force to step over Alt + Shift + F8
Run to cursor Alt + F9
Force to cursor Ctrl + Alt + F9
Recovery procedure F9
Go to breakpoint Alt + F10
IDEA To configure tomcat:
Click on Run—EDit Configurations…

Click on the left side of the “+” Number , find Tomcat Server—Local
stay Tomcat Server -> Unnamed -> Server -> Application server Under the project , Click on Configuration , Find the local Tomcat The server , Click again OK Button .

Configuration complete , Just add the project to start .

If it is SpringBoot project , The development environment is started through built-in services , become involved war package , Need to get rid of it. springboot Built in tomcat package .
step 1:pom.xml file Import package ;
<!-- hit war package + -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
step 2:pom.xml Change to war;
<packaging>war</packaging>
step 3: Start class Inherit SpringBootServletInitializer class , rewrite configure Method ;
@SpringBootApplication
public class WechatApplication extends SpringBootServletInitializer {
public static void main(String[] args) {
SpringApplication.run(WechatApplication.class, args);
}
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
return builder.sources(WechatApplication.class);
}
}
IDEA Configuration database :
In the main interface , Click on... In the right sidebar Database , Click on + Corresponding database

fill Database Database name , In the input User and Password , Click on Test Connection
The initial connection will download some packages , Wait a while and you can connect to the database .
IDEA Generate Javadoc:
Tools Next Generated JavaDoc , Click to enter ;

Then fill in the exported path and coding information , Click on OK, You can generate doc.

版权声明
本文为[Excellent face]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220532446831.html
边栏推荐
- Usage scenario of copyonwritearraylist
- sklearn之 Gaussian Processes
- Solve the error: importerror: iprogress not found Please update jupyter and ipywidgets
- Automatic control (Han min version)
- 卡尔曼滤波与惯性组合导航
- Framework analysis 2 Source code - login authentication
- Collections multiple parameter sorting
- Fundamentals of digital image processing (Gonzalez) I
- 自动控制原理知识点整合归纳(韩敏版)
- Three ways to create threads
猜你喜欢
Algèbre linéaire chapitre 2 - matrice et son fonctionnement
Anaconda安装PyQt5 和 pyqt5-tools后没有出现designer.exe的问题解决
線性代數第二章-矩陣及其運算
lambda expressions
You cannot access this shared folder because your organization's security policy prevents unauthenticated guests from accessing it
检测技术与原理
Development environment EAS login license modification
Pytorch notes - observe dataloader & build lenet with torch to process cifar-10 complete code
Anaconda
Gaussian processes of sklearn
随机推荐
Numpy common function table sorting of data processing
在Jupyter notebook中用matplotlib.pyplot出现服务器挂掉、崩溃的问题
SQL optimization best practices
Fundamentals of digital image processing (Gonzalez) I
图像恢复论文——[RED-Net, NIPS16]Image Restoration Using Very Deep Convolutional Encoder-Decoder Networks wi
Fundamentals of digital image processing (Gonzalez) II: gray transformation and spatial filtering
Class loading and classloader understanding
自动控制原理知识点整合归纳(韩敏版)
Consistent hash algorithm used for redis cache load balancing
Write your own redistemplate
2. Average length of words
图解numpy数组矩阵
Optional best practices
The official website of UMI yarn create @ umijs / UMI app reports an error: the syntax of file name, directory name or volume label is incorrect
线性代数第一章-行列式
线性代数第三章-矩阵的初等变换与线性方程组
@Problems caused by internal dead loop of postconstruct method
Use Matplotlib. In Jupiter notebook Pyplot server hangs up and crashes
Pytorch learning record (XII): learning rate attenuation + regularization
The bottom implementation principle of thread - static agent mode