1. Ignore case when automatically prompted; just uncheck it
2. Turn off automatic updates
3. Automatically guide the package (configure according to custom)
4. It is forbidden to automatically open the last project (configure according to custom)
5. Create a template for the header of the Java file
/**
* @Description: TODO
* @Author DingJiaNan
* @Date ${DATE}
* @Version V1.0
**/
6. Change the code (must change)
7. Hide unused configuration files, such as .idea, .iml, etc.
8. Display services
9. Remove the automatic closing function of too many open files
10. Display the memory occupied by the current project
Generally the default is up to 750M, even if the occupancy is exceeded, it will be compressed, which will eventually lead to poor performance; it also consumes hardware
Modify memory configuration
idea.vmoptions file in the bin directory
-Xms1024m //默认最小内存 默认为128M,已修改为1G
-Xmx1500m //默认最大内存 默认为750M,已修改为2G
//默认预留代码缓存的大小 默认为240M,已修改为1G
-XX:ReservedCodeCacheSize=1024m
-XX:+UseCompressedOops
-Dfile.encoding=UTF-8
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Xverify:none
-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
If the memory usage is too high, you can use the activity monitor to view it, and then modify it to a memory size suitable for your computer and usage habits
11. Idea serialization quick settings
12. Install the mybatisx plugin
Support one-click jump from mapper.java to mapper.xml after installation
13. Add Maven to optimize parameters
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
14. Ctrl+wheel to adjust the code font size