Common basic settings of IDEA series

Common basic settings of IDEA series


In the course of teaching Java classes to students recently, some students started to use the IDEA compiler, but it seems that it is only used to catch up with the wind, and it will only use some basic knocking code operations. For some basic settings do not understand, then today week brother to everyone in here is part of the common summed up the basic settings
first to enter the settings interface
the upper left corner File , then select Settings or use the shortcut keys Ctrl + Alt + S , as shown
Insert picture description here
to the directory structure setting interface as shown below
Insert picture description here
to set a theme
Insert picture description here
Or
Insert picture description here
set the mouse scroll wheel to modify the font size (the scroll wheel pushes the font forward to increase the font size, and then pulls the font back to reduce the size) to
Insert picture description here
set the automatic package guide
Insert picture description here

Add unambiguous imports on the fly:自动导入不明确的结构
Optimize imports on the fly:自动帮我们优化导入的包

Set the dividing line between the display line number and the method
Insert picture description here

如上图红圈所示,可以勾选 Show line numbers:显示行数。我建议一般这个要勾选上。
如上图红圈所示,可以勾选 Show method separators:显示方法分隔线。这种线有助于我们区分开方法,可以选择勾选上。

Set the default font, font size, font line spacing and
Insert picture description here
modify the font color of comments in the code
Insert picture description here

Doc Comment –> Text:修改文档注释的字体颜色
Block comment:修改多行注释的字体颜色
Line comment:修改当行注释的字体颜色

Set the project file to encode
Insert picture description here
some of the more common settings for the above knowledge. I hope to help everyone. Of course, IDEA has many more settings. If you need to know, you can pay attention to Brother Zhou. would like to remind everyone that the compiler is just a development tool, not necessarily say what kind of compiler best, each have their own advantages, I hope you correctly deal
more attention to the use of IDEA weeks brother
IDEA import third-party jar package : Link .
IDEA custom background settings: link .

Published 7 original articles · liked 0 · visits 253

Guess you like

Origin blog.csdn.net/qq_36188663/article/details/105609251