1.idea 2017下载地址: http://how2j.cn/k/idea/idea-download-install/1348.html
激活: https://blog.csdn.net/wangyuanjun008/article/details/79233491
2.建立HelloWord程序:http://how2j.cn/k/idea/idea-java-project/1351.html
3.设置lib为Add as Library:http://how2j.cn/k/idea/idea-import-jar/1357.html
4.建立web工程,Web Application(3.1):http://how2j.cn/k/idea/idea-web-project/1352.html
5.idea的tomcat配置:http://how2j.cn/k/idea/idea-tomcat/1361.html
6.基础快捷键:http://how2j.cn/k/idea/idea-hotkey/1358.html
6.1自己常用
异常捕获: 光标移到该代码行,Alt+Enter
删除选中行 : Ctrl + x
字体修改:https://blog.csdn.net/qq_36787030/article/details/82457165
包的自动导入: Settings→Editor→General→Auto Import ,然后勾选Add unambiguous imports on the fly以及Optimize imports on the fly 手动导入:Alt+Enter
代码格式化:在菜单栏中点击【Code】>【Reformat Code】;快捷键【Ctrl】+【Alt】+【L】
ctrl+k 提交代码到SVN或者git等
使用eclipse的快捷键: File --> settings --> keymap --> 在下来框中选中Eclipse
模板代码定义: https://www.cnblogs.com/jylzj/p/9818211.html Setting-Editor-LiveTemplates
查看方法的调用被调用处: Ctrl+Alt+H , Navigate-Call Hierarchy ,右键-find usages
编码设置: https://www.jianshu.com/p/f4c9963a0bb5
控制台乱码:-Dfile.encoding=UTF-8
取消参数提示方法: “File” -> “Settings”->“Editor” -> “General” -> “Appearance” https://www.cnblogs.com/RookieSky/p/11062167.html
6.2网站收集
双击shift:在项目的所有目录查找
ctrl+f:当前文件查找特定内容
ctrl+shift+f:当前项目查找包含特定内容的文件
ctrl+n:查找类
ctrl+shift+n:查找文件
ctrl+e:最近的文件
alt+F7:可以帮你找到你的函数或者变量或者类的所有引用到的地方
ctrl+r 当前文件替换特定内容 ctrl+shift+r 当前项目替换特定内容
shift+F6 可以重命名你的类、方法、变量等等,而且这个重命名甚至可以选择替换掉注释中的内容
ctrl+d 复制当前行到下一行 ctrl+x 剪切当前行 ctrl+c \ ctrl+v
ctrl+z撤销 ctrl+shift+z取消撤销
ctrl+k 提交代码到SVN或者git等
alt+insert 可以自动生成构造器、getter/setter等等常用方法
alt+enter 自动修复
ctrl+alt+L 格式化
7,其他功能: 修改字体,设置包自动导入,设置tomcat自动编译
8.maven配置:http://how2j.cn/k/idea/idea-maven-config/1353.html
9.常见maven的web项目,java,resources,webapp文件夹设置:http://how2j.cn/k/idea/idea-resources/2130.html
maven-quickstart项目:http://how2j.cn/k/idea/idea-maven-project/1354.html
maven-web项目:http://how2j.cn/k/idea/idea-maven-web/1356.html
不能创建servlet的处理:http://how2j.cn/k/idea/idea-maven-web/1356.html#nowhere
10.idea-maven父子聚合项目的构建:http://how2j.cn/k/idea/idea-parent-child/2051.html
11.idea-git插件的配置,github账号的绑定:http://how2j.cn/k/idea/idea-git-config/1362.html
ignore插件(不提交指定格式文件): https://blog.csdn.net/geng31/article/details/80170018
.project .settings target out /src/test/
12.github项目上pull项目: http://how2j.cn/k/idea/idea-pull/1363.html
13.本地项目发布到github以及更新提交:http://how2j.cn/k/idea/idea-create/1364.html
14.idea创建maven风格的ssm项目: http://how2j.cn/k/idea/idea-maven-idea-ssm-create/1397.html
15.idea导入maven风格的ssm项目: http://how2j.cn/k/idea/idea-maven-idea-ssm-import/1398.html
16.idea断点调试:http://how2j.cn/k/idea/idea-debug/1392.html
17.破解IntelliJ IDEA 2017.2
a.https://download.csdn.net/my下载 JetbrainsCrack-2.7.zip后进行解压,放入idea安装目录bin下;
b.打开idea的bin目录,打开 idea64.exe.vmoptions 以及 idea.exe.vmoptions文件,在最后边添加:
-javaagent:D:\Program Files\JetBrains\IntelliJ IDEA 2017.2\bin\JetbrainsCrack-2.7.jar
c.打开ides,进入Activation Code,粘贴如下部分代码
d.打开即可。
ThisCrackLicenseId-{ "licenseId":"ThisCrackLicenseId", "licenseeName":"lidada你想要的用户名", "assigneeName":"", "assigneeEmail":"[email protected]随便填一个邮箱(我填的:[email protected])", "licenseRestriction":"For This Crack, Only Test! Please support genuine!!!", "checkConcurrentUse":false, "products":[ {"code":"II","paidUpTo":"2099-12-31"}, {"code":"DM","paidUpTo":"2099-12-31"}, {"code":"AC","paidUpTo":"2099-12-31"}, {"code":"RS0","paidUpTo":"2099-12-31"}, {"code":"WS","paidUpTo":"2099-12-31"}, {"code":"DPN","paidUpTo":"2099-12-31"}, {"code":"RC","paidUpTo":"2099-12-31"}, {"code":"PS","paidUpTo":"2099-12-31"}, {"code":"DC","paidUpTo":"2099-12-31"}, {"code":"RM","paidUpTo":"2099-12-31"}, {"code":"CL","paidUpTo":"2099-12-31"}, {"code":"PC","paidUpTo":"2099-12-31"} ], "hash":"2911276/0", "gracePeriodDays":7, "autoProlongated":false}