Intellij IDEA utility plug recommend

1 Introduction

In 2020 JVM ecology report can be seen Intellij IDEA now sit tight in the Java IDE top spot. And statistics obtained subscribers has more than eighty percent (foreign statistics). IDEA 's design ensures excellent programming productivity, but also one of whom I would rather pay for software. Today, some plug-ins I often use the show to share a wave.

2. IDEA plug-in

Before we look at sharing its plug system. Intellij IDEA most of the functionality is integrated by plug-ins come in. By default, it has integrated a lot of plug-ins. You can Preferences view:

image-20200305155759834

Intellij IDEA criticized the performance issues, we can disable some of us do not have the burden that comes with plug-ins. Then I took my share out the necessary plug-ins.

3. common plug-ins

You can figure Plugins tab, enter a keyword search plug-in to search for them.

3.1 Key promoter X

Many people are reluctant to switch IDE is a matter of habit because shortcuts. This plugin can just remind shortcuts, there is a sense of substitution, the more you will be reminded of. For starters recommend installing familiarize yourself with shortcut keys.

3.2 Maven Helper

Ultimate is the paid version comes with Maven module, but if you are a free community edition is the only alternative to this, so you have a dependency analysis and conflict ability to quickly resolve dependencies.

3.3 IDEA Mind Map

思维导图对于我们需求分析和知识库关系梳理十分重要。有了这个插件以后 IDEA 也可以画思维导图了。而且功能还十分强大,贴图啥的应有尽有。

Screenshot 1

3.4 CodeGlance

代码编辑区迷你缩放插件,可以进行代码的全局预览。来看看效果吧。

3.5 CamelCase

命名风格转换插件,可以在 kebab-case,SNAKE_CASE,PascalCase,camelCase,snake_case 和 空格风格之间切换。快捷键苹果为 ⇧+⌥+ U ,windows 下为 Shift + Alt +U

3.6 MybatisX

Mybatis-plus 团队为 Mybatis 开发的插件,提供了 Mapper 接口和 XML之间的跳转和自动生成模版的功能。另外这个名字是我起的,嘿嘿!

3.7 MyBatis Log Plugin

另一款国人关于 Mybatis 的作品,评分也很高,作用是将 Mybatis 生成的 sql 还原为原始整个 sql。方便在开发中从日志中跟踪调试 sql语句。

3.8 JavaDoc

快速生成 java 注释的插件有很多,评分比较高的就是 JavaDoc ,注意作者为 Sergey Timofiychuk 。通过快捷 就可以生成注释。 mac 的快捷键需要自己去设置, windows 快捷键如下:

  • 要为活动元素生成 javadocs,请按 shift + alt + G
  • 要为当前 java 文件中的所有元素生成 javadocs,请按 shift + ctrl + alt + G
  • 删除当前/选定元素上的 javadocs 请按 shift + alt + Z
  • 删除当前类所有元素上的 javadocs:请按 shift + ctrl + alt + Z

然后自己根据实际简单改动即可,配置你可以在下面的设置面板中找到:

3.9 Git Commit Template

老是有人吐槽你提交的 Git 不规范?你可以试试这个插件。它提供了很好的 Git 格式化模版,你可以按照实际情况格式化你的提交信息。

3.10 Extra Icons

最后是一个美化插件,为一些文件类型提供官方没有的图标。来看看效果吧。

4. 总结

其它也有很好用的插件其他人已经发文安利了,我这里就不介绍了。实在不行自己写插件,官方提供了 Intellij Platform Plugin SDK 感兴趣的可以研究一下搞个有用的插件玩玩,说不定一举成名也未可知啊。如果你发现有好用的、好玩的插件可以通过留言分享出来。

Guess you like

Origin juejin.im/post/5e61ae9d6fb9a07c9f3fe871