4.设置idea tomcat的内存大小:
-mx2048m -XX:MaxPermSize=2048m -Drebel.spring_plugin=true
3.设置idea使用的内存,打开bin下的idea.exe.vmoptions:
将其内存进行设置大些,这样idea使用更加快速一些:
-server -Xms1024m -Xmx2048m -XX:ReservedCodeCacheSize=1024m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow
1.修改idea中git提交的用户名称:
在Terminal中输入git config user.name获取当前的用户名 修改用户名输入git config --global user.name "用户名"2.Intellij - Unable to use newer Java 8 classes - Error : “Usage of API documented as @since 1.6+..”
使用的jdk版本不对。解决: File -> Project Structure -> Project Settings -> Modules -> "Your Module Name" -> Sources -> Language Level参考的url:来源
3.IDEA运行控制台出现乱码:
A.setting-->Editor-->Encoding设置UTF-8
B.将项目的.idea目录下的encodings.xml下的gbk编码的内容的全部删掉,重启就哦了