idea常用插件分享
本文主要推荐几款idea常用的插件,在日常开发中不仅可以装逼,还可以适当的提升开发效率。 注意:下载plugins失败或超时情况下,请勾选掉 settings --> Appearance&Behavior --> System Settings --> updates --> Use secure connection 1、activate-power-mode 根据Atom的插件activate-power-mode的效果移植到IDEA上 1.gif 2、Alibaba Java Coding Guidelines 阿里巴巴编码规约插件,极力推荐 2.gif 3、Background Image Plus idea背景修改插件,让你的idea与众不同,狂拽酷炫吊炸天。 4、Free Mybatis plugin mybatis 插件,让你的mybatis.xml像java代码一样编辑。 5、Grep console 自定义日志颜色 6、String Manipulation 强大的字符串转换工具。使用快捷键,Alt+m image.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 快速定位代码。右侧小地图。 697635-0450282604ad3e48.gif 10、Gsonformat 可根据json数据快速生成java实体类 697635-5a07f838223baaae.gif 11、Properties to YAML Converter Properties 转 YAML 格式插件 12、HighlightBracketPair image.png 13、findBugs 检查bug 14、MyBatis Log Plugin 显示mybatis的sql image.png image.png 15、restfultookit 16、Material Theme UI 强大的主题插件 image.png 17、GenerateAllSetter 一键生成一个对象的set方法并且赋予默认值 在对象字段多的时候非常方便 111.gif 18、VisualVM Launcher 运行java程序的时候启动visualvm,方便查看jvm的情况 比如堆内存大小的分配 某个对象占用了多大的内存,jvm调优必备工具 image.png 222.gif 19、Jrebel jreble最大的优点就是当你做任何项目中内容修改的时候只需要build一下,对应的资源直接加载到jvm中,不需要重启。 image.png 20、xrebel-微服务场景下性能问题排查神器 image.png 参考文章:https://juejin.im/entry/59fa8e5df265da43062a1aed