2. Interface Font Size setting
File menu->settings->appearance->override default fonts by (not recommended):
Name: Song Body (Chinese is recommended to prevent garbled characters in Chinese.) The original Chinese font name is blank, just pull the list box to the end of a random selection and then apply, the Chinese font name appears, and then select the font you like. )
Size:18
3. Code Font Size setting
File menu->settings->editor->color&font->font
First click "Save As ..." Saved as custom font settings, and then modify the size size:18
4, solve the code Chinese garbled
Click gbk-in the lower right corner of the status bar to select UTF-8, then select "Reload" or "convert" as appropriate.
5, Code display line number
File menu->settings->editor-appearance:show Line numbers
6. set IntelliJ IDEA smart hint ignore case
Editor-code Completion page has a case sensitive completion, can be set only the first letter sensitive, completely sensitive or insensitive.
7. Add custom code completion
File menu->settings->live Templates
Change the "By default expand with Tab" to "Space", which is more in line with the VS habit.
Click "+" on the right to create a new templategroup with the name user.
Then add the custom livetemplate under the user group:
For
[Java] view plain copy for (int $INDEX $ = 0; $INDEX $ < $LIMIT $; $INDEX $++) {$END $}
If
[Java] view plain Copy if ($END $) {}
St
[Java] view plain copy String
Try
[Java] view plain copy try {$END $} catch (Exception e) {e.printstacktrace (); }
Print
SYSTEM.OUT.PRINTLN ($END $);
while
while ($END $) {
}
8, change the file automatic comment, the default generated file comments are:
[Java] view plain copy/** * Created by ${user} on ${date}. */
Change method:
Open Menu: file-settings Open the option settings and locate the File and Code templates--includes--file Header, modified to:
[Java] view plain copy/** * Created by sing on ${date}. * Desc: */
Select Templates-class, modify:
[Java] view plain copy