1. Modify JVM Parameters (IntelliJ idea 10.0.1 contains the above version does not need to be set)
Modify the Idea.exe.vmoptions configuration file to adjust the following:
-xms256m
-xmx384m
-xx:maxpermsize=128m
-xx:newratio=4
-xss128k
-dsun.awt.keepworkingsetonminimize=true
-server
-xms256m set the initial amount of memory, you need to set a reasonable value, increase this value can increase the startup speed of the Java program. If your memory is large enough, such as 2G, you can set it to 400m.
-xmx384m sets the maximum amount of memory to increase this value, which reduces the frequency of memory garage collection and improves program performance.
-dsun.awt.keepworkingsetonminimize=true can keep idea in memory when it is minimized to the taskbar, and when you get back to idea, it can be quickly displayed, rather than being gradually exposed by the gray-white interface, Speed back to the original interface.
-server controls the way memory garage, so you don't have to wait for a minute or two in the Memory garage collection.
2. Optimized file saving and project loading
Cancel the selection of "Synchronize file on Frame activation" and "Save files on Framedeactivation"
At the same time we select "Save files automatically" and set it to 30 seconds, so idea can still automatically keep the file, so at each switch, you need to press Ctrl+s to save the file
How to make IntelliJ idea move without opening the project file: Settings->general remove reopen last project on startup
3. Mark the edited file with *
Editor–> Editor Tabs
—————————————–
In idea, you need to make the following settings so that the modified files will be marked with an * number, and you can save the relevant files in time. "Mark modifyied tabs with asterisk"
4. Display line Numbers
How to display line numbers: Settings->editor->appearance tab items, tick show lines numbers
5. Customizing keyboard shortcuts
If the default code hints and complement shortcut keys conflict with IME, how to resolve: Settings->keymap
6. How to make the cursor non-arbitrary positioning
Settings->editor remove allow placement of the caret after end of the line.
7. Chinese garbled problem
settings-> File encondings Select IDE encoding for GBK.
When you include a Chinese file name or a folder, will it appear?? Garbled, the workaround is as follows:
File menu->settings->colors & Fonts->editor font= song body, size=12, line spacing =1.0
Settings->appearance Check override default fonts by (not recommended), set Name:nsimsun,size:12
IntelliJ Idea Optimization Summary