:You must change these eight configurations of IDEA!-empirical point of view免费ppt模版下载-道格办公

You must change these eight configurations of IDEA!

I didn't want to write an article like this, so I wrote it. This is an article about the configuration of JetBrains IntelliJ IDEA. IDEA is a very powerful Java development tool, but the default configuration may not be suitable for everyone. Here are eigh

Source| ZRJ who does odd jobs | Author| Lonely smoke Write less articles of this type of operation. Because there is nothing new in this kind of article, everyone's operation steps must be the same. However, I promised my colleague Xiaoyang to write an article for her! After all, people plan to switch from Eclipse to IDEA, so as a sign of encouragement, write an article for her!
So which eight configurations must be changed! I didn't list the shortcut keys because IDEA's native shortcut keys are easy to use, so I don't think it must be changed!

  • Automatic compilation switch

  • Ignore case switch

  • Smart package switch

  • Suspended reminder switch

  • Cancel the operation of displaying tabs in a single line

  • Project file encoding

  • Modify the font size with the scroll wheel

  • Set line number display

Text

Automatic compilation switch

The automatic compilation switch is turned on in Eclipse, as shown below:

So, in IDEA, it is very important to open it manually! As follows:

Ignore case switch

IDEA defaults to matching case, if this switch is not closed . The characters you enter must match uppercase and lowercase. For example, if you type string, there will be no code prompts or smart supplements.
However, if you turn on this switch, no matter you enter String or string, there will be code prompts or smart supplements!

Smart package guide switch

As shown in the figure below, set

  • Automatically import ambiguous structures

  • Smart Optimization Package

Check these two options. So what is the effect?
When you are in the code, as long as you type list, a prompt will appear, and the class
java.util.List will be automatically imported. And this feature, in eclipse, cannot be done. As shown below:

Suspended reminder switch

This is easy to understand, after turning on this switch. As long as you put the mouse on the corresponding class, a prompt will appear, as shown in the figure below:

Cancel the operation of displaying tabs in a single line

As shown in the figure below, remove the button :

So what is the effect after removing it?
When opening multiple files, it will be displayed in a new line, which is very intuitive. Greatly improve efficiency!

Project file encoding

Set as shown below:

Transparent native-to-ascii conversion means: automatically convert ASCII encoding.
Its working principle is: when entering text in a file, it will automatically convert to Unicode encoding, and then when the file is opened in idea, it will automatically convert back to text for display.
This is done to prevent file garbled characters.
In this way, your properties files will generally not appear Chinese garbled characters!

The scroll wheel modifies the font size

This is how I usually write code . It is all set to hold down Ctrl+scroll to modify the font size of the editor, which is actually very convenient, you may wish to try it.
As shown below:

Set line number display

The importance of this needless to say, check it In the following code, the number of lines will be displayed!


Top content:

1, The boss asked me not to change a line of code to position the online performance question!

2,What kind of resume will not be thrown into the recycle bin!

3.After completing 500 high-frequency interview questions, can I go to interview with a big factory?

4,Yes, the boss asked me to write a BUG!

5. Want to clear the distributed system "current limiting problem"? Only this one!

6、Why do microservices have to use Docker?

7,Overcoming all difficulties, I finally entered the pit of programmers!

8. 17 key issues buried in MySQL database applications!

Articles are uploaded by users and are for non-commercial browsing only. Posted by: Lomu, please indicate the source: https://www.daogebangong.com/en/articles/detail/You%20must%20change%20these%20eight%20configurations%20of%20IDEA.html

Like (810)
Reward 支付宝扫一扫 支付宝扫一扫
single-end

Related Suggestion