当前位置:网站首页>告别996,IDEA中必装插件有哪些?
告别996,IDEA中必装插件有哪些?
2022-07-02 06:33:00 【_时光煮雨】
IDEA必装插件
1、Maven Helper
推荐指数:*****
Maven Helper 是解决 Maven 依赖冲突的利器,可以快速查找项目中的依赖冲突。安装后打开 pom 文件,底部有 Dependency Analyzer 视图。显示红色表示存在依赖冲突,点进去直接在包上右键 Exclude 排除,pom 文件中会做出相应排除包的操作。
此外,该插件还具有以下功能:
Conflicts(查看冲突)
All Dependencies as List(列表形式查看所有依赖)
All Dependencies as Tree(树形式查看所有依赖)
2、Lombok
推荐指数:*****
Lombok 插件应该比较熟,它替我们解决了那些繁琐又重复的代码,比如Setter、Getter、toString、equals等方法。
3、GenerateAllSetter
推荐指数:*****
实际的开发中,可能会经常为某个对象中多个属性进行 set 赋值,尽管可以用BeanUtil.copyProperties()方式批量赋值,但这种方式有一些弊端,存在属性值覆盖的问题,所以不少场景还是需要手动 set。如果一个对象属性太多 set 起来也很痛苦,GenerateAllSetter可以一键将对象属性都 set 出来。
4、Alibaba Java Coding Guidelines
推荐指数:*****
阿里出品的《Java 开发手册》时下已经成为了很多公司新员工入职必读的手册,前一段阿里发布了《Java 开发手册(泰山版)》, 又一次对Java开发规范做了完善。不过,又臭又长的手册背下来是不可能的,但集成到IDEA开发工具中就方便很多。
例如:手册中开发规范要求:
集成插件后会再去使用Executors去创建线程池会有如下的提示:
5、Restfultoolkit
推荐指数:*****
阿里出Restfultoolkit一套RESTful服务开发辅助工具集,维护项目通常会涉及到查找一个请求所对应的类,一般用ctrl + shift + f进行全局搜索,但是如果项目文件太多,这种查找方式的效率就很低。
Restfultoolkit管理项目中全部的请求链接,可以使用快捷键:ctrl+ alt + n快速查找。
插件安装后,IDEA右侧会出现一栏RestServices,这里有整个项目的http请求,还会显示每个请求的入参、出参JSON数据,同时可以进行简单的模拟请求。
6、Free MyBatis Plugin
推荐指数:*****
在使用MyBatis 作为持久框架时有一个尴尬的问题:SQL xml文件和定义的Java接口无法相互跳转,不能像Java接口间调用那样,只能全局搜索稍显麻烦。Free MyBatis Plugin将两者之间进行关联。
7、Translation
推荐指数:*****
Translation一个很方便的翻译插件,比如选中代码、控制台的报错信息可直接翻译。
其他常用插件
1、开发常用插件
推荐指数:*****
aiXcoder:代码补全、预测;
Codota:代码智能提示;
Properties to YAML Converter:Properties转yaml格式
SequenceDiagram:调用链路自动生成时序图;
CodeGlance:代码缩略图;
Leetcode Editor:Leetcode刷题;
Java Stream Debugger:Java8的Stream 代码调试;
easy_javadoc:快速为类、方法、属性加注释;
CheckStyle:Java代码格式规范;
Key promoter X:快捷键提示工具;
SonarLint:代码质量检查工具;
JUnitGenerator:单元测试测试生成工具;
GsonFormat:JSON转领域对象工具;
String Manipulation:字符串工具;
Iedis:Redis可视化;
Kubernetes:K8s工具;
Presentation Assistant:快捷键展示。
2、主题特效插件
推荐指数:*****
Material Theme UI:idea主题插件;
Power Mode II:打字时特效;
activate-power-mode:码字酷炫特效;
Background Image Plus +:更换IDEA背景
Rainbow Brackets:彩虹颜色括号;
HighlightBracketPair:括号开始结尾 高亮显示;
Nyan progress bar:彩虹进度条
Grep Console:控制台日志高亮。
另外,下面这个网站也有很多程序员来说很实用的工具:
程序员965-程序员都在看的工具站http://www.cxy965.com/
插件安装
进入 IDEA 菜单栏点击 Setting 按钮,选择Plugins,即可进入 idea 插件市场,搜索或选择需要的插件,点击后面的 Install 按钮即可安装:
需要注意的是,插件是为了协助我们提高工作效率的,但也并不是装的越多越好,否则可能会得不偿失,只需要选择使用频率最高的安装即可。
END
转发,点赞,在看,安排一下?
边栏推荐
- Don't spend money, spend an hour to build your own blog website
- 图像变换,转置
- Solution and analysis of Hanoi Tower problem
- Leetcode sword finger offer brush questions - day 22
- [staff] time sign and note duration (full note | half note | quarter note | eighth note | sixteenth note | thirty second note)
- Oracle修改表空间名称以及数据文件
- How to realize asynchronous programming in a synchronous way?
- 【Go实战基础】gin 如何验证请求参数
- 寻找链表中值域最小的节点并移到链表的最前面
- Taking the upgrade of ByteDance internal data catalog architecture as an example, talk about the performance optimization of business system
猜你喜欢
cmd窗口中中文呈现乱码解决方法
Troubleshooting and handling of an online problem caused by redis zadd
一篇详解带你再次重现《统计学习方法》——第二章、感知机模型
History of Web Technology
Microservice practice | load balancing component and source code analysis
【Go实战基础】如何安装和使用 gin
Jd.com interviewer asked: what is the difference between using on or where in the left join association table and conditions
数构(C语言)——第四章、矩阵的压缩存储(下)
Win10 uses docker to pull the redis image and reports an error read only file system: unknown
The channel cannot be viewed when the queue manager is running
随机推荐
Micro service practice | introduction and practice of zuul, a micro service gateway
Pyspark de duplication dropduplicates, distinct; withColumn、lit、col; unionByName、groupBy
Cloudreve自建云盘实践,我说了没人能限制得了我的容量和速度
QT drag event
Multi version concurrency control mvcc of MySQL
Npoi export word font size correspondence
Cartoon rendering - average normal stroke
Pdf document of distributed service architecture: principle + Design + practice, (collect and see again)
队列的基本概念介绍以及典型应用示例
NPOI 导出Word 字号对应
Win10 uses docker to pull the redis image and reports an error read only file system: unknown
西瓜书--第六章.支持向量机(SVM)
我服了,MySQL表500W行,居然有人不做分区?
Matplotlib剑客行——没有工具用代码也能画图的造型师
AMQ 4043 solution for errors when using IBM MQ remote connection
Sentinel reports failed to fetch metric connection timeout and connection rejection
「Redis源码系列」关于源码阅读的学习与思考
"Redis source code series" learning and thinking about source code reading
How to realize asynchronous programming in a synchronous way?
Image transformation, transpose