本文主要是介绍IDEA新装 优化过程,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
下载
https://www.jetbrains.com/idea/download/
安装 并激活
https://zhile.io/2018/08/25/jetbrains-license-server-crack.html
通过 jetbrains-agent.jar 激活 ,请支持正版
优化配置
打开安装目录/bin/idea.properties 配置新的配置文件路径
idea.config.path=D:/devp/idea_config/config
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.system.path=${user.home}/.IntelliJIdea/system
idea.system.path=D:/devp/idea_config/system#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.plugins.path=${idea.config.path}/plugins
idea.plugins.path=D:/devp/idea_config/plugins#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.log.path=${idea.system.path}/log
idea.log.path=D:/devp/idea_config/log
配置 idea64.exe.vmoptions
-Xms2048m
-Xmx2048m
-XX:MaxMetaspaceSize=512m
-XX:MetaspaceSize=512m
-XX:InitialBootClassLoaderMetaspaceSize=64M
-XX:NewRatio=2
-XX:SurvivorRatio=8
-XX:MaxTenuringThreshold=6
-XX:+UseConcMarkSweepGC
-XX:CMSFullGCsBeforeCompaction=5
-XX:+CMSParallelRemarkEnabled
-XX:+CMSClassUnloadingEnabled
-Xss1024k
-XX:+DisableExplicitGC
-XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses
-XX:ReservedCodeCacheSize=240m
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-Xloggc:D:/devp/idea_config/log
-XX:+PrintHeapAtGC
配置开发环境
打开 Configure 点击 setting
搜索maven 配置maven
搜索jdk 配置jdk
这篇关于IDEA新装 优化过程的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!