此教程已支持最新2019.2版本
3.修改配置文件
进入到项目界面后,点击Idea最上面的菜单栏中的 “Help” -> “Edit Custom VM Options …”,如果提示是否要创建文件,请点”Yes”。
在打开的vmoptions编辑窗口末行添加:-javaagent:你idea的安装目录\jetbrains-agent.jar
"C:\Users\llskj\AppData\Roaming\JetBrains\IntelliJIdea2020.1\idea64.exe.vmoptions"
-javaagent:你idea的安装目录\jetbrains-agent.jar
-javaagent:C:\key\jetbrains-agent.jar 目录不能有空格或中文,
# custom IntelliJ IDEA VM options
-Xms128m
-Xmx2048m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-XX:CICompilerCount=2
-Dsun.io.useCanonPrefixCache=false
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Djdk.attach.allowAttachSelf=true
-Dkotlinx.coroutines.debug=off
-Djdk.module.illegalAccess.silent=true
-javaagent:C:\key\jetbrains-agent.jar
请仔细检查补丁路径是否正确,如果错误则会出现Idea打不开的情况,这时候可以删除用户配置目录下的Idea文件夹:
windwos:C:\Users\llskj\AppData\Roaming\JetBrains
修改完配置文件之后重启Idea
4.输入激活码
重启Idea之后,点击菜单栏中的 “Help” -> “Register …”,这里有两种激活方式:
选择Activation code方式激活,复制下面激活码即可
E70JHCOV2H-eyJsaWNlbnNlSWQiOiJFNzBKSENPVjJIIiwibGljZW5zZWVOYW1lIjoi5bGx5Lic55CG5bel5aSn5a2mIiwiYXNzaWduZWVOYW1lIjoi55So5oi35pWw5o2uIOW8uuWItuWFseS6qyIsImFzc2lnbmVlRW1haWwiOiJndW9rZXBpQDEyNi5jb20iLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJGb3IgZWR1Y2F0aW9uYWwgdXNlIG9ubHkiLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwicG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wSh3OUIvYwKNVeoBY+KwOJ7WnuTCUq1meE6GkKc4D/cXmgpOyW/1SmBz3XjVIi/zprZ0zf3qH5mkphtg6ksjKgKjmx1cXfZAAX6wcDBNaCL+Ortep1Dh8xDUbqbBVNBL4jbiL3i3xsfNiyJgaZ5sX7i8tmStEpLbPwvHcByuf59qJhV/bZOl8KqJBETCDJcY6O2aqhTUy+9x93ThKs1GKrRPePrWPluud7ttlgtRveit/pcBrnQcXOl1rHq7ByB8CFAxNotRUYL9IF5n3wJOgkPojMy6jetQA5Ogc8Sm7RG6vg1yow==
5.查看有效期
链接: https://pan.baidu.com/s/1BFXPwlROEF03BkhGzGIgEA 提取码: dib3
来源:oschina
链接:https://my.oschina.net/u/4320183/blog/3432277