本文主要推荐几款idea常用的插件,在日常开发中不仅可以装逼
,还可以适当的提升开发效率
。
注意:下载plugins失败或超时情况下,请勾选掉 settings --> Appearance&Behavior --> System Settings --> updates --> Use secure connection
1、activate-power-mode
根据Atom的插件activate-power-mode的效果移植到IDEA上
![](https://img.haomeiwen.com/i3710706/c7185de2f098d768.gif)
2、Alibaba Java Coding Guidelines
阿里巴巴编码规约插件,极力推荐
![](https://img.haomeiwen.com/i3710706/b9a3f3382f0847a6.gif)
3、Background Image Plus
idea背景修改插件,让你的idea与众不同,狂拽酷炫吊炸天。
4、Free Mybatis plugin
mybatis 插件,让你的mybatis.xml像java代码一样编辑。
5、Grep console
自定义日志颜色
6、String Manipulation
强大的字符串转换工具。使用快捷键,Alt+m
![](https://img.haomeiwen.com/i3710706/c057ed7c42a554fb.png)
- Toggle style (camelCase, hyphen-lowercase, HYPHEN-UPPERCASE, snake_case, SCREAMING_SNAKE_CASE, dot.case, words lowercase, Words Capitalized, PascalCase)
- To SCREAMING_SNAKE_CASE (or to camelCase)
- To snake_case (or to camelCase)
- To dot.case (or to camelCase)
- To hyphen-case (or to camelCase)
- To hyphen-case (or to snake_case)
- To camelCase (or to words)
- To PascalCase (or to camelCase)
- Capitalize selected text
7、LomBok Plugin
A plugin that adds first-class support for Project Lombok Features
- @Getter and @Setter
- @ToString
- @EqualsAndHashCode
- @AllArgsConstructor,
- @RequiredArgsConstructor
eg: @RequiredArgsConstructor(onConstructor = @__(@Autowired))
- @NoArgsConstructor
- @Log, @Log4j, @Log4j2, @Slf4j, @XSlf4j, @CommonsLog, @JBossLog
- @Data
- @Builder (eg: User.builder.name("jackcooper").age(24).build(); )
- @Singular
- @Delegate
- @Value
- @Accessors
- @Wither
- @SneakyThrows
- from Intellij 14.1 @val
- from Intellij 14.1 @var
- from Intellij 2016.2 @UtilityClass
- Lombok config system
- Code inspections
- Refactoring actions (lombok and delombok)
8、Key promoter
快捷键提示插件
9、CodeGlance
快速定位代码。右侧小地图。
![](https://img.haomeiwen.com/i3710706/28964ccb0111dc51.gif)
10、Gsonformat
可根据json数据快速生成java实体类
![](https://img.haomeiwen.com/i3710706/679c2e8dc02ffd5f.gif)
11、Properties to YAML Converter
Properties 转 YAML 格式插件
12、HighlightBracketPair
![](https://img.haomeiwen.com/i3710706/9f5f747391434d7f.png)
13、findBugs 检查bug
14、MyBatis Log Plugin 显示mybatis的sql
![](https://img.haomeiwen.com/i3710706/dc1a9bd9b2769309.png)
![](https://img.haomeiwen.com/i3710706/0302c98cf7fcb3b9.png)
15、restfultookit
16、Material Theme UI 强大的主题插件
![](https://img.haomeiwen.com/i3710706/ee943fd5bb8e863a.png)
17、GenerateAllSetter
一键生成一个对象的set方法并且赋予默认值 在对象字段多的时候非常方便
![](https://img.haomeiwen.com/i3710706/09e1fec0be0d5d2b.gif)
18、VisualVM Launcher
运行java程序的时候启动visualvm,方便查看jvm的情况 比如堆内存大小的分配
某个对象占用了多大的内存,jvm调优必备工具
![](https://img.haomeiwen.com/i3710706/9ad6c3917b682057.png)
![](https://img.haomeiwen.com/i3710706/6a776b17b1b841a0.gif)
19、Jrebel
jreble最大的优点就是当你做任何项目中内容修改的时候只需要build一下,对应的资源直接加载到jvm中,不需要重启。
![](https://img.haomeiwen.com/i3710706/490e69422dcaaa72.png)
20、xrebel-微服务场景下性能问题排查神器
![](https://img.haomeiwen.com/i3710706/79e69f065ee056b7.png)
网友评论