梦相随1006

版权归 梦相随1006 所有,未经 https://www.cnblogs.com/xin1006 作者许可,严禁转载

导航

IntelliJ IDEA 2018.3.6 & 2019.2.2 & 2021.3.4 安装破解 与基本使用

1. 官网下载:

https://www.jetbrains.com/idea/download/other.html

选择 旗舰版IntelliJ IDEA Ultimate(收费版),它的功能比社区版Community(免费)要多很多

我这里下载的是旗舰版 2018.3.6 for Windows (exe)

安装下载的包,全部默认下一步下一步即可,注意先不要启动该软件.

破解包下载地址 

 

 用这款开发工具开发软件不用 Ctrl+S保存 它会自动保存代码

 

2. 将破解包拷贝到IDEA安装目录的bin下

 

 

 编辑bin目录下的文件 idea.exe.vmoptions idea64.exe.vmoptions 末尾追加

-javaagent:../bin/JetbrainsIdesCrack-4.2-release-sha1-jfiasf2134123n12342313.jar 这个字符串

 

 

将 idea64.exe 发送到桌面快捷方式

启动 idea64.exe, 选择不导入任何设置,跳过剩下的和选择默认,接着

在进入出现有active code选择界面的时候 写入下面注册代码:(到2099-12-31到期)

ThisCrackLicenseId-{
"licenseId":"ThisCrackLicenseId",
"licenseeName":"Candy",
"assigneeName":"",
"assigneeEmail":"Candy@qq.com",
"licenseRestriction":"For This Crack, Only Test! Please support genuine!!!",
"checkConcurrentUse":false,
"products":[
{"code":"II","paidUpTo":"2099-12-30"},
{"code":"DM","paidUpTo":"2099-12-30"},
{"code":"AC","paidUpTo":"2099-12-30"},
{"code":"RS0","paidUpTo":"2099-12-30"},
{"code":"WS","paidUpTo":"2099-12-30"},
{"code":"DPN","paidUpTo":"2099-12-30"},
{"code":"RC","paidUpTo":"2099-12-30"},
{"code":"PS","paidUpTo":"2099-12-30"},
{"code":"DC","paidUpTo":"2099-12-30"},
{"code":"RM","paidUpTo":"2099-12-30"},
{"code":"CL","paidUpTo":"2099-12-30"},
{"code":"PC","paidUpTo":"2099-12-30"}
],
"hash":"2911276/0",
"gracePeriodDays":7,
"autoProlongated":false}

 

 ==============================================华丽的分割线=================================================

1. 启动加载的时候就能看到已经注册到了 2099.12.31

 

============================+++++++++简单的基本常用设置++++++++==========================================

==> 设置字体: Editor--Font: 我这里字体大小选择16, 字体选择 Consolas

 ==> 设置编码: Editor--File Encodings: 这里将所有的设置为UTF-8

根本上解决编码问题:

 ==>  编辑安装目录下的 C:\Program Files\JetBrains\IntelliJ IDEA 2018.3.6\bin\idea64.exe.vmoptions idea.exe.vmoptions 

  增加 -Dfile.encoding=utf-8

 

 ==>  对引入的web项目的web容器设置 idea server编码。在菜单栏找到”run->editconfigration” 找到”server”选项卡 设置 vm option为 -Dfile.encoding=utf-8

 JavaScript ES6语法支持

设置IDEA自动导入包

File-->Settings-->Editor-->General-->Auto Import

 勾选标注第1个选项,IntelliJ IDEA 将在我们抒写代码的时候自动帮我们导入需要用到的包。但是对于那些同名的包,还是需要手动 Alt + Enter 进行手动导入的

 勾选标注 第2个选项,IntelliJ IDEA 将在我们抒写代码的时候自动帮我们优化导入的包,比如自动去掉一些没有用到的包。

 

==> 快捷键设置。。。

设置 自动补全快捷键 Keymap-->设置那个小图标,Duplicate... Default copy,然后在编辑
* Main menu --> Code --> Completion --> Basic 双击右边快捷键 删除原来的 Ctrl +空格
* 再双击打开,添加快捷键 输入 Alt + / ,保存 ,与下面的冲突不用管 按照提示删除即可

 设置 自动补全快捷键 Keymap-->设置那个小图标,Duplicate... Default copy,然后在编辑
* Main menu --> Code --> Generate...  双击右边快捷键 删除原来的Alt+Insert
* 再双击打开,添加快捷键 输入 Alt + I ,保存 

 ==> 设置 自己的Maven...

maven项目有时候不小心关闭了(没有了maven图标)?

pom.xml 右键--> Maven --> Unignore 即可恢复.

 

 安装Vue插件

解决IDEA无法安装插件的问题

如果按照此法还无法解决,建议通过浏览器访问 https://plugins.jetbrains.com/  然后搜索下载离线的插件(必须是适合你所使用的idea版本的插件才行,如我这个就必须选择 2018.3)。

最后 Settings--> Plugins -->设置图标里面点击 INstall Plugin from Disk...

 

idea 安装lombok插件,,即可消除get set log这些不识别问题

 

 

 

 IDEA显示工具栏:  在打开IDEA项目后,点击菜单上的View-->勾上 ToolBar  Tool Buttons

 

Spring的 @Autowired 使用后  当类名与属性名不一致时会出现红色的波浪线但不影响使用,如果嫌碍事想去除,

则如下图那样 在IDEA中右下角点击红圈圈起来的图标,再将滑块由最右边滑动到中间 即可。

=============================================华丽的分割线==========================================================

 

控制台显示出来 Alt+4
隐藏的话,控制台右上角的 - 符号

 

常用的一些快捷键
 Alt + Enter , 导入包自动修正代码; 重要的
 Ctrl + Y , 删除光标所在行;
Ctrl + D , 复制光标所在行并插入到光标位置下面;
Ctrl + Alt + L , 格式化代码; 重要的
Ctrl + / , 单行注释;
Ctrl + Shift + / , 多行注释;
Alt + Ins , 自动生成代码 如 get set toString等方法
Alt + Shift + 上下箭头 , 移动当前代码行

Ctrl + Shift + U  选中的内容 大小写转化

两次 Shift 搜索

Ctrl + H ,打开当前窗口类的继承结构 

Ctrl + Alt +B  查找接口有哪些实现类

Ctrl + P  方法参数提示

 Ctrl + Alt + O ,消除无效引用

 Ctrl +Alt + T ,  选中代码后,可以被surround with包裹

 Ctrl +Alt + 左箭头,一层层退到方法的调用者

 Ctrl + Shift + F ,全局搜索内容(类似于Eclipse的Ctrl+H),不过它通常被输入法占用了,可以改输入法,也可以改IDEA快捷键,我这里改的是IDEA快捷键为  Ctrl + Shift + Q 

 ==》 Keymap-->设置那个小图标,Duplicate... Default copy,然后在编辑
* Main menu --> Edit -->Find...Find in Path  双击右边快捷键 删除原来的
* 再双击打开,添加快捷键 输入 Ctrl + Shift + Q ,保存 

 

 

idea如何关闭让人眼花的mybatis xml文件警告

①去掉 No data sources configure 警告 

  • Settings ⇒ Editor ⇒ Inspections ⇒ SQL ⇒ No data sources configure。
  • 取消勾选,去掉这个检查,然后点击 OK 按钮即可

②去掉 SQL dialect is not configured 警告

  • Settings ⇒ Editor ⇒ Inspections ⇒ SQL ⇒ SQL dialect detection。
  • 取消勾选,去掉这个检查,然后点击 OK 按钮即可。

 

idea大量test做数据迁移产生日志导致硬盘空间不足

报 Low disk space on a Intelij IDEA system directory partition (磁盘空间不足)

 

解决办法1:  清理掉产生的大量日志文件 如我的在  C:\Users\Administrator\AppData\Local\Temp 

                                                                              C:\Users\Administrator\.IntelliJIdea2018.3\system\testHistory\**\*

解决办法2:  在idea的安装目录下找到idea64.exe.vmoptions文件:追加 -Didea.no.system.path.space.monitoring=true

 

 

项目的关闭与重新打开


 File -- Close Project 关闭 ,双击左侧的记录可以打开,若不小心删除了左侧的记录呢,此时需要 点击 Open 找到目录上有小黑点的那个即可

如何在当前项目下,在新建一个module呢? File -> New Modele... 比如我这里新建了一个 demo1
如何在项目中删除 demo1呢? 选中demo1,右键 找到 Remove Module(快捷键是 Delete键),这个demo1在硬盘上还存在着
如何导入一个 Module? File -> Project Structure... -> 打开窗口的左侧选中着Module,点击 + 符号,选择 import Module,
选择好我们刚才的demo1之后, 一路next 最后Finish即可

 

 

编译时报错不能使用diamond预算符

报错信息如下:Error:(16, 60) java: -source 1.5 中不支持 diamond 运算符(请使用 -source 7 或更高版本以启用 diamond 运算符)

解决方法: 1 选择 File --> project Structure --> Modules,选择项目修改 “Sources” 选项卡下的 “Language level” 及 “Dependencies”选项卡下的 “Module SDK

2 修改Java Compiler

File --> Settings --> Build,Execution,Deployment --> Compiler --> java Compiler

 设置控制台console日志输出到指定文件中 Edit Configurations... 选择项目 ...  Log页签 ... 填写路径

 

Scala SDK 下载地址:  https://scala-lang.org/download/

Scala Idea 插件下载地址: https://plugins.jetbrains.com/plugin/1347-scala/versions/stable  

 

 =============================================华丽的分割线==========================================================

 

2019.2.2版本的破解 (参考了文章: https://www.jiweichengzhu.com/article/93afbed1245d4ee69b82ed1b067f48a4 )

 

破解包下载地址

 

1.  安装完成之后,将破解包jetbrains-agent.jar拷贝到 C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.2\bin安装目录下

2.  进入目录 C:\Users\Administrator\.IntelliJIdea2019.2\config\ 下编辑文件 idea64.exe.vmoptions (注意与2018版本的不同) ,增加下面内容

若目录不存在,则可以先启动一次idea64.exe, 会帮我们生成这个目录,若相应的位置没有 idea64.exe.vmoptions,就把bin路径下的这个文件拷贝一份,然后添加如下行:

-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.2\bin\jetbrains-agent.jar

3. 打开idea64.exe ,输入激活码(以下三个任选一种一个)

 

KNBB2QUUR1-eyJsaWNlbnNlSWQiOiJLTkJCMlFVVVIxIiwibGljZW5zZWVOYW1lIjoiZ2hib2tlIiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IiIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2R1Y3RzIjpbeyJjb2RlIjoiSUkiLCJmYWxsYmFja0RhdGUiOiIyMDg5LTA3LTA3IiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiQUMiLCJmYWxsYmFja0RhdGUiOiIyMDg5LTA3LTA3IiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiRFBOIiwiZmFsbGJhY2tEYXRlIjoiMjA4OS0wNy0wNyIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IlBTIiwiZmFsbGJhY2tEYXRlIjoiMjA4OS0wNy0wNyIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IkdPIiwiZmFsbGJhY2tEYXRlIjoiMjA4OS0wNy0wNyIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IkRNIiwiZmFsbGJhY2tEYXRlIjoiMjA4OS0wNy0wNyIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IkNMIiwiZmFsbGJhY2tEYXRlIjoiMjA4OS0wNy0wNyIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IlJTMCIsImZhbGxiYWNrRGF0ZSI6IjIwODktMDctMDciLCJwYW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EjoXRTuj17mo8Q6M2SHOcwIDAQABo4GZMIGWMAkGA1UdEwQCMAAwHQYDVR0OBBYEFGEpG9oZGcfLMGNBkY7SgHiMGgTcMEgGA1UdIwRBMD+AFKOetkhnQhI2Qb1t4Lm0oFKLl/GzoRykGjAYMRYwFAYDVQQDDA1KZXRQcm9maWxlIENBggkA0myxg7KDeeEwEwYDVR0lBAwwCgYIKwYBBQUHAwEwCwYDVR0PBAQDAgWgMA0GCSqGSIb3DQEBCwUAA4ICAQBonMu8oa3vmNAa4RQP8gPGlX3SQaA3WCRUAj6Zrlk8AesKV1YSkh5D2l+yUk6njysgzfr1bIR5xF8eup5xXc4/G7NtVYRSMvrd6rfQcHOyK5UFJLm+8utmyMIDrZOzLQuTsT8NxFpbCVCfV5wNRu4rChrCuArYVGaKbmp9ymkw1PU6+HoO5i2wU3ikTmRv8IRjrlSStyNzXpnPTwt7bja19ousk56r40SmlmC04GdDHErr0ei2UbjUua5kw71Qn9g02tL9fERI2sSRjQrvPbn9INwRWl5+k05mlKekbtbu2ev2woJFZK4WEXAd/GaAdeZZdumv8T2idDFL7cAirJwcrbfpawPeXr52oKTPnXfi0l5+g9Gnt/wfiXCrPElX6ycTR6iL3GC2VR4jTz6YatT4Ntz59/THOT7NJQhr6AyLkhhJCdkzE2cob/KouVp4ivV7Q3Fc6HX7eepHAAF/DpxwgOrg9smX6coXLgfp0b1RU2u/tUNID04rpNxTMueTtrT8WSskqvaJd3RH8r7cnRj6Y2hltkja82HlpDURDxDTRvv+krbwMr26SB/40BjpMUrDRCeKuiBahC0DCoU/4+ze1l94wVUhdkCfL0GpJrMSCDEK+XEurU18Hb7WT+ThXbkdl6VpFdHsRvqAnhR2g4b+Qzgidmuky5NUZVfEaZqV/g==

激活结果:

 

 

project与module

idea的maven理念

在Idea中,没有工作空间的概念,每一个Project就是一个独立的文件夹,也是一个独立的窗口。然后我们可以在Project中创建多个Module。

是不是感觉与maven的项目结构完全一致?

说对了,idea就是完全贯彻了maven的理念

小技巧

熟悉eclipse的同学会觉得很不方便,无法在一个界面中创建很多的工程。

不过有一个取巧的办法:我们可以创建一个empty的工程

但是接下来,就不要再新建Project了,而是新建Module,Module就类似原来的工程的概念

 

打开springboot的run dashboard

先看下run dashboard是什么:

可以看到,这里可以同时显示多个springboot项目,非常方便。

默认情况下,idea的run dashboard是关闭的,当检测到你有多个springboot项目时会弹出提示框,询问是否打开。

 

如果我们想要自己打开,需要修改配置在你的idea的项目目录中,有一个.idea目录 其中,有一个workspace.xml

打开,搜索 Rundashboard,找到下面这段

 

然后在Component中添加下面的内容

  <option name="configurationTypes">
    <set>
    <option value="SpringBootApplicationConfigurationType" />
    </set>
  </option>

 

修改后的结果

 

 

修改后的效果:

 

附上 IDEA2020.3.4版的激活方式  https://www.openwebsite.cn/archives/746

大致步骤如下(亲测有效)

1, 先试用30天

2,安装插件 BetterIntelliJ.zip (前面有介绍如何安装本地插件到IDEA中)

3,重启IEDA

4,Help--> Register 添加激活码

BISACXYELK-eyJsaWNlbnNlSWQiOiJCSVNBQ1hZRUxLIiwibGljZW5zZWVOYW1lIjoiQ2hpbmFOQiIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiIiLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwicGFpZFVwVG8iOiIyMDk5LTEyLTMxIiwiZXh0ZW5kZWQiOmZhbHNlfSx7ImNvZGUiOiJBQyIsInBhaWRVcFRvIjoiMjA5OS0xMi0zMSIsImV4dGVuZGVkIjpmYWxzZX0seyJjb2RlIjoiRFBOIiwicGFpZFVwVG8iOiIyMDk5LTEyLTMxIiwiZXh0ZW5kZWQiOnRydWV9LHsiY29kZSI6IlJTQyIsInBhaWRVcFRvIjoiMjA5OS0xMi0zMSIsImV4dGVuZGVkIjp0cnVlfSx7ImNvZGUiOiJQUyIsInBhaWRVcFRvIjoiMjA5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SvIlkaj49SzbD9KuiTc77GHyFCTwYMz+qITgbDg3/ao/x/be4DD/k/byWqW4Rb8OSYCshX/fNI4Xu+hxazh179taHX4NaH92ReLVyXNYsooq7mE5YhR9Qsiy35ORviQLrgFrMCGCxT9DWlFBuiPWIOqN544sL9OzFMz+bjqjCoAE/xfIJjI7H7SqGFNrx/8/IuF0hvZbO3bLIz+BOR1L2O+qT728wK6womnp2LLANTPbwu7nf39rpP182WW+xw2z9MKYwwMDwGR1iTYnD4/Sjw=

即可注册到 2099年12月31日.

 

posted on 2019-08-26 19:01  梦相随1006  阅读(7848)  评论(0编辑  收藏  举报