IDEA enter settings. Both methods;
1,File -> Settings
2, there is a toolbar tool buttons next point (if not the toolbar, View -> By Toolbar)
Enter the settings page, top to bottom, mainly the appearance and behavior, keyboard shortcuts, edit, plug-in, version control, build the implementation of the deployment settings, languages and frameworks, tools;
First, the theme settings,
When installing IDEA we had selected the theme, if want to change the words of the late
Appearance&Behavior -> Appearance
Here you can choose their own;
Second, set the mouse prompt suspension
Eclipse again, we move the mouse over a class, the class of the document will be prompted to interpret information;
IDEA is not in default under way, we need to set up;
Editor->General
Here then we have to check, the back of the set is the default delay time half a second;
Once set, we move the mouse to see if the class;
Tips come;
Three: display method delimiter
Editor->General ->Appearance
Show method separators check under
In this case, between the method, the upper and lower separator there occurs, the code for easy viewing;
Four: Ignore case Tips
IDEA default prompt is case-sensitive, such as the input string, not prompted String Class; settings where
Editor->General ->Code Completion
This hook can be removed;
In this case also prompted enter lower case, more cool
Fifth, automatic guided package
By default, including finished Eclipse classes, is the need to manually import the package, but the package guide IDEA provides automatic setting
Editor->general->Auto Import
All selected from the pull-down can then check the next pair;
Not only can automatically lead pack, the next test will know their own, can automatically go package;
Six: Cancel one-line display Tabs
Tab If a plurality of codes, the following defaults:
But sometimes you want to see more code files, we want to display multiple lines:
You can configure under:
Editor->General ->Editor Tabs
Hook can be removed;
Then is the effect of multiple lines of fast hardware;
Seven, set the font
Editor->Font
Here you can according to their preferences, set the font style, font size, including high line; the Size Recommendation 14
Eight Configuration documentation templates annotations
New class does not default document annotation information, we generally developed under must engage in, easy to find someone;
Editor->File and Code Templates 然后Includes File Header
We add:
/**
@author java1234_ Xiaofeng
@site www.java1234.com
@company Network Technology Co., Ltd. Nantong Xiaofeng
@create ${YEAR}-${MONTH}-${DAY} ${TIME}
*/
This creates a class effect is as follows:
Nine: Set file encoding
All of our places are set to UTF-8 Unity
Editor -> File Encodings
X: Set up automatic compilation
Then Eclipse, the project is automatically compiled, IDEA is not in default, we need configuration;
Build, Execution, Deployment -> the two check Compiler, compiled automatically setting items, comprising a plurality of modules automatically compiled parallel structures;
XI: horizontal or vertical display Code
We sometimes in order to align or parameter code, the code required to make a horizontal or vertical display, Eclipse, we can directly drag;
IDEA, we have the right file Tab, shown below:
They are separated by horizontal and vertical separation;
Results are as follows: