安装
官网下载, 选择windows旗舰版(Ultimate)的zip格式下载解压, 双击打开[bin]目录下的[idea64.exe]即可运行
激活: [http://idea.lanyus.com][http://www.cnblogs.com/zqr99/p/8708069.html]
idea 2018.1.x 激活
1.补丁:http://idea.lanyus.com/jar/JetbrainsCrack-2.7-release-str.jar
2.补丁放在[idea/bin]路径下, 在同目录下的[idea.exe.vmoptions]和[ea64.exe.vmoptions]文件末尾添加[-javaagent:补丁位置], 如[D:/develop/idea/bin/JetbrainsCrack-2.7-release-str.jar], 注意斜杠方向
3.打开idea, 选择[Activation Code]激活, 填写如下code
BIG3CLIK6F-eyJsaWNlbnNlSWQiOiJCSUczQ0xJSzZGIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2R1Y3RzIjpbeyJjb2RlIjoiQUMiLCJwYWlkVXBUbyI6IjIwMTctMTEtMjMifSx7ImNvZGUiOiJETSIsInBhaWRVcFRvIjoiMjAxNy0xMS0yMyJ9LHsiY29kZSI6IklJIiwicGFpZFVwVG8iOiIyMDE3LTExLTIzIn0seyJjb2RlIjoiUlMwIiwicGFpZFVwVG8iOiIyMDE3LTExLTIzIn0seyJjb2RlIjoiV1MiLCJwYWlkVXBUbyI6IjIwMTctMTEtMjMifSx7ImNvZGUiOiJEUE4iLCJwYWlkVXBUbyI6IjIwMTctMTEtMjMifSx7ImNvZGUiOiJSQyIsInBhaWRVcFRvIjoiMjAxNy0xMS0yMyJ9LHsiY29kZSI6IlBTIiwicGFpZFVwVG8iOiIyMDE3LTExLTIzIn0seyJjb2RlIjoiREMiLCJwYWlkVXBUbyI6IjIwMTctMTEtMjMifSx7ImNvZGUiOiJEQiIsInBhaWRVcFRvIjoiMjAxNy0xMS0yMyJ9LHs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qgR8gyG8oiNDyNEoAbsR3lOpI7grUYSvkB/xVy/VoklPCK2h0f0GJxFjnye8NT1PAywoyl7RmiAVRE/EKwIDAQABo4GZMIGWMAkGA1UdEwQCMAAwHQYDVR0OBBYEFGEpG9oZGcfLMGNBkY7SgHiMGgTcMEgGA1UdIwRBMD+AFKOetkhnQhI2Qb1t4Lm0oFKLl/GzoRykGjAYMRYwFAYDVQQDDA1KZXRQcm9maWxlIENBggkA0myxg7KDeeEwEwYDVR0lBAwwCgYIKwYBBQUHAwEwCwYDVR0PBAQDAgWgMA0GCSqGSIb3DQEBCwUAA4ICAQC9WZuYgQedSuOc5TOUSrRigMw4/+wuC5EtZBfvdl4HT/8vzMW/oUlIP4YCvA0XKyBaCJ2iX+ZCDKoPfiYXiaSiH+HxAPV6J79vvouxKrWg2XV6ShFtPLP+0gPdGq3x9R3+kJbmAm8w+FOdlWqAfJrLvpzMGNeDU14YGXiZ9bVzmIQbwrBA+c/F4tlK/DV07dsNExihqFoibnqDiVNTGombaU2dDup2gwKdL81ua8EIcGNExHe82kjF4zwfadHk3bQVvbfdAwxcDy4xBjs3L4raPLU3yenSzr/OEur1+jfOxnQSmEcMXKXgrAQ9U55gwjcOFKrgOxEdek/Sk1VfOjvS+nuM4eyEruFMfaZHzoQiuw4IqgGc45ohFH0UUyjYcuFxxDSU9lMCv8qdHKm+wnPRb0l9l5vXsCBDuhAGYD6ss+Ga+aDY6f/qXZuUCEUOH3QUNbbCUlviSz6+GiRnt1kA9N2Qachl+2yBfaqUqr8h7Z2gsx5LcIf5kYNsqJ0GavXTVyWh7PYiKX4bs354ZQLUwwa/cG++2+wNWP+HtBhVxMRNTdVhSm38AknZlD+PTAsWGu9GyLmhti2EnVwGybSD2Dxmhxk3IPCkhKAK+pl0eWYGZWG3tJ9mZ7SowcXLWDFAk0lRJnKGFMTggrWjV8GYpw5bq23VmIqqDLgkNzuoog== 激活码
激活成功
全局设置
在初次打开Idea的欢迎页点击[Configure]-[Settings], 或在项目中点击[File]-[Other Setting]-[Default Settings]
https://blog.csdn.net/qq_27093465/article/details/52918873
http://wiki.jikexueyuan.com/project/intellij-idea-tutorial/settings-introduce-1.html
Default Setting Appearance & Behavior System Settings 去除 Reopen last project on startup 的勾, 并改选 Open project in a new window 勾选 Open project in new window Updates 取消勾选 Automatically check updates for 和 Use secure connection keymap 选 Eclipse 快捷键, 然后复制一份, 因为有些快捷键还是要做些修改的 Editor General 勾选 Change font size (Zoom) with Ctrl + Mouse Wheel 勾选 Show quick documentation on mouse move Auto Import Insert imports on paste 切换为 All 勾选 Add unambiguous imports on the fly 和 Optimize imports on the fly Appearance 勾选 Show method separators (方法分割线) 取消勾选 Show parameter name hints (形参名显示) Code Complation Case sensitive complation 选择 None(代码提示不区分大小写)(2018.3.2里面可能没有这个配置了) 取消勾选 Match case Editor Tabs Placement 选 Left Tab limit 改成100 Font 选择 Courier New, 16 Code Style 勾选 Wrap on typing Java Tabs and Indents 勾选 Use tab character (使用Tab缩进) Wrapping and Braces 勾选 Simple blocks in one line, Simple methods in one line, Simple lambdas in one line, Simple classes in one line 勾选 Ensure rigth margin is not exceeded (格式化时确保长度不超过120, 简单粗暴, 未必是想要的结果) Inspections 去掉 spelling 的勾(关闭拼写检查) 去掉 unused declaration 的勾 (关闭提示class Xxxx never used) 去掉 Java | Declaration redundancy | Declaration access can be weaker 的勾(关闭提示 access can be private) 去掉 Java | Declaration redundancy | Unused declaration 的勾(关闭提示 xxx is naver used) 添加 Java | Serialization issues | Serializable class without 'serialVersionID' 的勾,并设置为Error级别 File Encoding Project Encoding 设成 UTF8, Properties Files 设成 UTF8, 勾选 Transparent native to ascii conversion Build, Execution, Deployment Build Tools Maven Maven Home Directory 和 User Setting File 改成自己的, 确认 Local repository 正确 Compiler 勾选 Build project automatically Java Compiler Addtional command line parameters 填写 -parameters (开启JDK1.8反射获取方法参数名的功能) Tools SSH Terminal Default encoding 改成 UTF8 (不然 SSH Terminal 连接 Linux 中文乱码)
需要安装的插件: lombok, Translation(翻译,TOOLS INTEGRATION), CodeGlance(右侧代码地图), Maven Helper, Free Mybatis plugin(Mapper和xml互跳), Rainbow Brackets(多彩括号),.ignore(创建版本控制忽略文件), Alibaba Java Coding Guidelines(代码规范)