当前位置:网站首页>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
边栏推荐
- 6.Reversal
- Pytorch learning record (XII): learning rate attenuation + regularization
- The problem that the page will refresh automatically after clicking the submit button on the form is solved
- The bottom implementation principle of thread - static agent mode
- Anaconda安装PyQt5 和 pyqt5-tools后没有出现designer.exe的问题解决
- In depth source code analysis servlet first program
- 治療TensorFlow後遺症——簡單例子記錄torch.utils.data.dataset.Dataset重寫時的圖片維度問題
- Automatic control (Han min version)
- 9.Life, the Universe, and Everything
- 线性代数第一章-行列式
猜你喜欢

Pyqy5 learning (III): qlineedit + qtextedit

List segmentation best practices

检测技术与原理

Font shape `OMX/cmex/m/n‘ in size <10.53937> not available (Font) size <10.95> substituted.

深入理解去噪论文——FFDNet和CBDNet中noise level与噪声方差之间的关系探索

Algèbre linéaire chapitre 1 - déterminants
![Unsupervised denoising - [tmi2022] ISCL: dependent self cooperative learning for unpaired image denoising](/img/cd/10793445e6867eeee613b6ba4b85cf.png)
Unsupervised denoising - [tmi2022] ISCL: dependent self cooperative learning for unpaired image denoising

Pyqy5 learning (4): qabstractbutton + qradiobutton + qcheckbox

Fundamentals of digital image processing (Gonzalez) II: gray transformation and spatial filtering

Pytorch learning record (7): skills in processing data and training models
随机推荐
Optional best practices
The bottom implementation principle of thread - static agent mode
Create binary tree
Write your own redistemplate
Custom exception class
Practical operation - Nacos installation and configuration
C3p0 database connection pool usage
自动控制(韩敏版)
How does MySQL convert stored seconds into dates
In depth source code analysis servlet first program
Consistent hash algorithm used for redis cache load balancing
JDBC operation transaction
Illustrate the significance of hashcode
Anaconda installed pyqt5 and pyqt5 tools without designer Exe problem solving
Paper on LDCT image reconstruction: edge enhancement based transformer for medical image denoising
对比学习论文——[MoCo,CVPR2020]Momentum Contrast for Unsupervised Visual Representation Learning
Kibana search syntax
Customized communication between threads (reentrantlock)
12. Monkeys climb mountains
Chapter 4 of line generation - linear correlation of vector systems