Optimization commonly provided IDEA

1, a mouse prompt suspension

Editor->General 

To check under here, set behind a half-second delay default; After setting, we move the mouse to the class to see;

 

2, the display method delimiter

Editor->General ->Appearance

The Show method separators hook

 

In this case, between the method, the upper and lower separator there occurs, the code for easy viewing; 

3, suggesting ignore case

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; so enter lowercase also suggest that more cool.

4, 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 drop-down option and then check under the following two can be; not only automatically guide the package that he will try to know, can automatically go package;

5, the abolition of single-line display Tabs 

If you open multiple tab is this; convenient viewing.

But sometimes you want to see more code files, we want to display multiple lines:

You can configure under:

Editor->General ->Editor Tabs

Remove the hook; then much better.

 

6, configuration, document annotation information templates

New class is no default document annotation information, coupled with the general is somewhat better;

Editor->File and Code Templates 然后Includes File Header

Red box to add a comment. Results are as follows:

 

7, set the file encoding

All of our places are set to UTF-8 Unity

Editor -> File Encodings

8, use Alt + / Tips

In Eclipse Alt + / is prompt, but the IDEA is not, we set about;

The shortcut keys before Basic into Alt + / to;

 

Guess you like

Origin www.cnblogs.com/tang-hao-/p/11872557.html