自用插件列表
1.Alibaba Java Coding Guidelines
2.Bytecode Editor
3.Bytecode Viewer
4.Grep Console
5.Java Bytecode Decompiler
6.Jrebl
7.Lombok
8.Maven Helper
9.Mybatis Log Plugin
10.MybatisCodeHelperPro
11.RestfulToolkit
12.Translation
13.Maven Integration
14.Codota
15.SearchOverflow
16.GsonFormat
17.Codota //一个语法显示工具,常见new 对象方式 Android中用的比较多哈
18.CamelCase 驼峰转换共计 ctrl+shift+u
19.FindBugs-IDEA
20.String Manipulation // Alt+m 字符串日常开发中经常用到的,但是不同的字符串类型在不同的地方可能有一些不同的规则,比如类名要用驼峰形式、常量需要全部大写等,有时候还需要进行编码解码等。这里推荐一款强大的字符串转换工具——String Manipulation。
21..ignore
22.Key promoter X
23.AceJump // ctrl +;
24.activate-power-mode //一款无聊的屏幕按键抖动
25.VisualVM Launcher java对象内存占用
26.jclasslib bytecode viewer
27.Auto filling Java call arguments Alt+Enter 组合键,调出 "Auto fill call parameters" 自动使用该函数定义的参数名填充
28.GenerateO2O
29.GenerateAllSetter
30.SequenceDiagram 某个类的某个函数中,右键 --> Sequence Diagaram 即可调出
31.Stack trace to UML 打开方式 Analyze > Open Stack trace to UML plugin + Generate UML diagrams from stacktrace from debug
32.Java Stream Debugger Debug时 Trace Current Stream 这个需要自己安装 官方商店没有
33.JOL Java Object Layout
34.Alibaba Cloud Toolkit 阿里一键部署出去
35.Bash Support
36.Gitee 分享到gitee
37.Protobuf Support grpc protobuf 支持插件
38.SonarLint linkSonar 代码检测
39.leetcode editor leetcode练习
40. YapiUpload 上传接口到yapi
41. Package Search (需要在idea最新版本)
42. Code Stream (具体实战怎么用不太清楚)
43. Git Flow (最新版本不能用)
more and more
不常用但有用的快捷键
描述 | 快捷键 |
---|---|
知道类名查找类 | Ctrl +Shift +Alt +N |
查找接口的实现类: | Ctrl + Alt +B |
查看类或接口的继承关系 | Ctrl + H |
Actions | Ctrl +Shift +A |
粘贴板历史 | Ctrl +Shift +V |
Smart Step Into | Shift +F7 |
Find Function | Ctrl +F12 |
查看说明 | Ctrl + Q |
查看参数定义 | Ctrl +Shift +I |
查看类的继承关系 | 鼠标右键 Diagrams |
前往当前光标所在的方法的父类的方法 / 接口定义 | Ctrl + U |
Idea 自带快捷键 在Idea 安装目录下的help目录下,放到桌面上随时看看。
随时 Ctrl
+ Q
查看类说明
好用的操作
Maven 自动下载源码
在 设置中 maven -> import source document
无法下载源码
可能是maven用的版本太新了 Link 用3.5.4试下哈
Maven乱码解决
增加 -Dfile.encoding=GB2312
代码提示忽略大小写
Settings: Code Completion
Match case :
代码tab设置
这样设置的目的是可以使用idea的双屏幕代码显示,之前一直是把tab关掉
Jrebel 激活
http://www.boommanpro.cn:8085/2475a295-cf38-44af-b440-1ffa98d9bed8
自动补全如何移动
只能用方向键吗?现在很多 IDE 都有自动补全功能,你输入一个左括号,右括号就帮你自动补全了,然后你输入完成之后,还要在右括号后面输入点东西,怎么把光标移动过去呢?
其他的不了解,jetbrains 系的可以 tab 出去
windows10无法取消固定
路径X(系统盘符):\Users\(当前用户名)\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar 删除快捷方式,然后在任务栏点下图标,跳出对话框后点确定
Web项目启动打印url地址
ConfigurableApplicationContext context = new SpringApplication(CrawlerFruitApplication.class).run();
try {
String host = InetAddress.getLocalHost().getHostAddress();
TomcatServletWebServerFactory tomcatServletWebServerFactory = (TomcatServletWebServerFactory) context.getBean("tomcatServletWebServerFactory");
int port = tomcatServletWebServerFactory.getPort();
String contextPath = tomcatServletWebServerFactory.getContextPath();
log.info("<------------------------------------------ http://{}:{}{}/ ------------------------------------------>", host, port, contextPath);
} catch (UnknownHostException e) {
log.error("项目启动异常", e);
}
log.info("{}系统启动成功", CrawlerFruitApplication.class.getSimpleName());
Windows Docker配置
mysql安装
docker pull mysql
docker run --name pwc-mysql -e MYSQL_ROOT_PASSWORD=123456 -p 3306:3306 -d mysql
redis安装
docker pull redis
docker run -p 6379:6379 -d redis redis-server
docker 阿里云源
{
"registry-mirrors": [
"https://euc6prvp.mirror.aliyuncs.com"
]
}
elasticsearch
docker run -it --name elasticsearch -d -p 9200:9200 -p 9300:9300 -p 5601:5601 elasticsearch
kibana安装
docker run -p 8888:8888 -d -v /c/Users/BoomManPro/docker/logstash:/docker/logstash logstash -f /docker/logstash/logstash.config
kibana 版本需要和es版本一致才能启动成功
Logstash config
input
{
tcp
{
port => 8888
codec => json
}
}
output
{
elasticsearch{
hosts => "172.17.0.2:9200"
index => "indextest"
}
stdout{
codec => rubydebug
}
}
docker安装地址:
新版本idea
链接:https://pan.baidu.com/s/12SzrkRR2AuRUpTa1pAPUnw
提取码:tmms
Help -> Edit Custom Vm Option
-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2019.1\bin\JetbrainsIdesCrack-4.2.jar
code:
A82DEE284F-eyJsaWNlbnNlSWQiOiJBODJERUUyODRGIiwibGljZW5zZWVOYW1lIjoiaHR0cHM6Ly96aGlsZS5pbyIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJVbmxpbWl0ZWQgbGljZW5zZSB0aWxsIGVuZCBvZiB0aGUgY2VudHVyeS4iLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiUlMwIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiV1MiLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJSRCIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IlJDIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiREMiLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJEQiIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZS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