软件篇:JAVA保姆->IntelliJ IDEA
软件篇:JAVA保姆->IntelliJ IDEA
idea是什么?
IDEA 全称 IntelliJ IDEA,是java语言开发的集成环境,IntelliJ在业界被公认为最好的java开发工具之一。
Intellij IDEA 最突出的功能自然是调试(Debug),可以对Java代码,JavaScript,JQuery,Ajax等技术进行调试。
如果没有idea!
对我而言工作效率至少下降30%,工作效率=休息时间=工资!
举个简单的例子,不能来和大家一起聊技术了呢,没时间了- -!
1 下载地址
百度网盘地址:https://pan.baidu.com/s/18cpuAKCcklnbuk-36SKO3A
2 安装
-
傻瓜式安装完成(进入破解步骤)
-
修改hosts文件的位置:C:\WINDOWS\system32\drivers\etc\hosts 添加如下内容
-
0.0.0.0 account.jetbrains.com 0.0.0.0 www.jetbrains.com
-
-
将下载的 JetbrainsCrack.jar放在了安装目录下bin目录下,例如:E:\javasoft\idea2019\IntelliJ IDEA 2019.1.2\bin
-
修改配置文件,不能直接在bin目录下直接修改,先打开idea试用30天,然后点击:“Configure” -> “Edit Custom VM Options …”,如果提示是否要创建文件,请点"是|Yes"。
-
在打开的vmoptions编辑窗口末行添加:-javaagent:E:\javasoft\idea2019\IntelliJ IDEA 2019.1.2\bin\JetbrainsCrack.jar
-
重新启动IDEA。
-
注册"Configure" -> “Manager License..”,选择License server方式,地址填入:http://jetbrains-license-server
-
重新启动IDEA。
-
看到Licensed to 用户名,即激活成功
-
如果不行可以直接使用注册码
A82DEE284F-eyJsaWNlbnNlSWQiOiJBODJERUUyODRGIiwibGljZW5zZWVOYW1lIjoiaHR0cHM6Ly96aGlsZS5pbyIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJVbmxpbWl0ZWQgbGljZW5zZSB0aWxsIGVuZCBvZiB0aGUgY2VudHVyeS4iLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwicGFpZFVwVG8iOi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Aa4RQP8gPGlX3SQaA3WCRUAj6Zrlk8AesKV1YSkh5D2l+yUk6njysgzfr1bIR5xF8eup5xXc4/G7NtVYRSMvrd6rfQcHOyK5UFJLm+8utmyMIDrZOzLQuTsT8NxFpbCVCfV5wNRu4rChrCuArYVGaKbmp9ymkw1PU6+HoO5i2wU3ikTmRv8IRjrlSStyNzXpnPTwt7bja19ousk56r40SmlmC04GdDHErr0ei2UbjUua5kw71Qn9g02tL9fERI2sSRjQrvPbn9INwRWl5+k05mlKekbtbu2ev2woJFZK4WEXAd/GaAdeZZdumv8T2idDFL7cAirJwcrbfpawPeXr52oKTPnXfi0l5+g9Gnt/wfiXCrPElX6ycTR6iL3GC2VR4jTz6YatT4Ntz59/THOT7NJQhr6AyLkhhJCdkzE2cob/KouVp4ivV7Q3Fc6HX7eepHAAF/DpxwgOrg9smX6coXLgfp0b1RU2u/tUNID04rpNxTMueTtrT8WSskqvaJd3RH8r7cnRj6Y2hltkja82HlpDURDxDTRvv+krbwMr26SB/40BjpMUrDRCeKuiBahC0DCoU/4+ze1l94wVUhdkCfL0GpJrMSCDEK+XEurU18Hb7WT+ThXbkdl6VpFdHsRvqAnhR2g4b+Qzgidmuky5NUZVfEaZqV/g
3 修改中文乱码问题
-
找到IDEA安装目录下的bin文件夹,例如: E:\javasoft\idea2019\IntelliJ IDEA 2019.1.2\bin
-
编辑 idea64.exe.vmoptions 文件,在最后添加一行-Dfile.encoding=UTF-8
4 IDEA常用插件
在线插件安装:进入IDEA,点击File-->Settings-->plugins-->找到对应的插件-->install
-
彩虹括号 Rainbow Brackets
-
翻译 Translation
-
阿里规约 Alibaba Java Coding Guidelines
-
阿里工具 Alibaba Cloud Toolkit
-
小辣椒 Lombok
-
Mybatis插件 Mybatis Plugin
-
Maven助手 Maven Helper
-
git忽略插件 .ignore
5 常用配置
1 IDEA 风格及字体
2 IDEA 自动编译
3 IDEA 设置大小写不区分联想
4 IDEA 自动导包
5 IDEA 悬浮提示
6 IDEA 取消单行显示tabls操作
7 IDEA项目文件编码设置
8 IDEA代码行号显示
9 IDEA设置注释
- 方法命名**
**
* @param $params$
* @return $returns$
* @describe X
*/
- 使用自定义的方法注释模板
- 在方法上输入 /** TAB键即可出现自定义方法注释
- 类命名*
**
* @author Heaton
* @email tzy70416450@163.com
* @date $date$ $time$
* @describe X
*/
- 使用自定义的类注释模板
- 在类上输入 /* TAB键即可出现自定义类注释
- 注意
10 模版注释
-
新建类的时候自动帮我们打上类注释
/** * @author Heaton * @email tzy70416450@163.com * @date ${DATE} ${TIME} * @describe X */
11 IDEA jar包导入
- 然后选择jar包导入
您的资助是我最大的动力!
金额随意,欢迎来赏!