The use of idea plugin

Use of plugins

Plugin settings

In the installation explanation of IntelliJ IDEA, we actually already know that many functions of IntelliJ IDEA are also implemented through plug-ins, but IntelliJ IDEA itself is the largest developer of its own plug-in platform, and has developed many excellent plug-ins. .

Plugin settings

  • As shown in callout 1 above, IntelliJ IDEA has a good classification of plugins:
  • All plugins Show all plugins.
  • Enabled Displays all currently enabled plugins.
  • Disabled Displays all disabled plugins for the current period.
  • Bundled Displays all plugins that come with IntelliJ IDEA.
  • Custom Show all the plugins we installed by ourselves. If you have installed plugins many times, this option will be used more.
  • As shown in Figure 2 above, the enabled plug-in is checked. If you want to disable a plug-in, just remove the check.
  • As shown in Figure 3 above, a list of plug-in repositories developed by IntelliJ IDEA will pop up for download and installation.
  • As shown in Figure 4 above, a list of all plug-ins in the plug-in repository will pop up for download and installation.
  • As shown in Figure 5 above, browse the local plug-in file to install it instead of downloading and installing it from the server.
  • It is important to note that: in the domestic network, it is very often that the list of plug-ins cannot be displayed, or the list of plug-ins is displayed and cannot be downloaded and installed. At this time, please open the VPN yourself, which can usually be solved.

Plugin settings

Plugin settings

  • As shown in the red circle in the figure above, if IntelliJ IDEA opens a file type that it can recognize and support, it will prompt you that it has corresponding plug-ins to support it, and you can install the corresponding plug-ins to be compatible with such files.

Plugin installation

Plugin installation

  • As shown in the Gif above, install the plugins in the IntelliJ IDEA plugin library online.

Plugin installation

  • As shown in the Gif above, install the local plug-in file offline.

Plugin recommendation

plugin name Plugin introduction Official website address
Gitee Open source China's code cloud plug-in https://plugins.jetbrains.com/plugin/8383-gitee
Alibaba Java Coding Guidelines Code specification check plugin from Alibaba https://plugins.jetbrains.com/plugin/10046-alibaba-java-coding-guidelines
IDE Features Trainer IntelliJ IDEA's official learning aid plugin https://plugins.jetbrains.com/plugin/8554?pr=idea
Key promoter Shortcut Tips https://plugins.jetbrains.com/plugin/4455?pr=idea
Grep Console Customize the console output color https://plugins.jetbrains.com/idea/plugin/7125-grep-console
String Manipulation Alternating camel case and underscore names https://plugins.jetbrains.com/plugin/2162?pr=idea
CheckStyle-IDEA code specification check https://plugins.jetbrains.com/plugin/1065?pr=idea
FindBugs-IDEA Potential bug check https://plugins.jetbrains.com/plugin/3847?pr=idea
MetricsReloaded code complexity check https://plugins.jetbrains.com/plugin/93?pr=idea
Statistic Code Statistics https://plugins.jetbrains.com/plugin/4509?pr=idea
JRebel Plugin hot deployment https://plugins.jetbrains.com/plugin/?id=4441
CodeGlance On the far right of the editing code, a small code map is displayed https://plugins.jetbrains.com/plugin/7275?pr=idea
GsonFormat Instantiate a JSON string directly into a class https://plugins.jetbrains.com/plugin/7654?pr=idea
Markdown Navigator 书写 Markdown 文章 https://plugins.jetbrains.com/plugin/7896?pr=idea
Eclipse Code Formatter 使用 Eclipse 的代码格式化风格,在一个团队中如果公司有规定格式化风格,这个可以使用。 https://plugins.jetbrains.com/plugin/6546?pr=idea
Jindent-Source Code Formatter 自定义类、方法、doc、变量注释模板 http://plugins.jetbrains.com/plugin/2170?pr=idea
Translation 翻译插件 https://github.com/YiiGuxing/TranslationPlugin
Maven Helper Maven 辅助插件 https://plugins.jetbrains.com/plugin/7179-maven-helper
Properties to YAML Converter 把 Properties 的配置格式改为 YAML 格式 https://plugins.jetbrains.com/plugin/8000-properties-to-yaml-converter
Git Flow Integration Git Flow 的图形界面操作 https://plugins.jetbrains.com/plugin/7315-git-flow-integration
Rainbow Brackets 对各个对称括号进行着色,方便查看 https://github.com/izhangzhihao/intellij-rainbow-brackets
MybatisX mybatis 框架辅助(免费) https://plugins.jetbrains.com/plugin/10119-mybatisx
Lombok Plugin Lombok function helper plugin https://plugins.jetbrains.com/plugin/6317-lombok-plugin
.ignore Various version control ignore file generation tools https://plugins.jetbrains.com/plugin/7495--ignore

Using the lombok plugin

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324609921&siteId=291194637