7 IntelliJ IDEA plug-ins necessary to improve coding efficiency

 

 

 

 

 

1. FindBugs-IDEA

effect:

Detecting a bug in the code and the possible irregular positions, after the detection of the code written to avoid lower bug.

Static analysis tools commitment without requiring developers to code much effort to find out the existing defects. Of course, if you have many years of experience writing, we know that these commitments are not necessarily fulfilled.

Symbol of success:

After the restart idea if the plug-in is loaded successfully lower left corner:

2. Maven Helper

effect:

A key to view the maven dependency, see the dependency conflict, a key to exclude dependence

Very convenient for large projects

Symbol of success:

After the restart idea if the plug-in is loaded successfully open the file pom lower left corner:

Practical application:

Dependency Analyzer handover attempt to operate accordingly:

  1. Conflicts (see conflict)

  2. All Dependencies as List (a list View all dependent)

  3. All Dependencies as Tree (tree form View all dependent)

 

You can select the right Exclude friends, want to use other versions of the 1.2 Exclude put out, want to use version 1.1.3 of Exclude put the other away, very convenient.

 

3. VisualVM Launcher

effect:

The case when running java program starts visualvm, easy viewing of jvm heap allocation such as memory size

An object takes up much memory, jvm tuning necessary tools

Symbol of success:

After the restart idea if the plug-in is loaded successfully appears upper right corner:

 

 

 

Practical application:

First, the need for a client

The client decompression

Open the settings configuration panel

Configuration excutable === "to select the bin directory of the client's file visualvm.exe

 

Then click ok. Apply to apply what

 

Right use VM plug-in starts

 

 Then the program will automatically load:

Jvm can view the status, then you can debug their own strategy:

4. GenerateAllSetter

effect:

All set a key method calls an object and assign default values ​​are very convenient and more time in the target field

 

Practical application:

By alt + enter default values ​​for generating a class setter methods.

When two objects have the same field transducer to generate a set method thereof; returnType when the default value is generated List Set Map.

5. Rainbow Brackets

effect:

彩虹颜色的括号 看着很舒服 敲代码效率变高。清除分清括号个数,防止括号错乱

实际应用:

最近括号内容高亮效果:ctrl+鼠标右键单击

最近括号内容外暗淡效果:alt+鼠标右键单击

6. P3c

Alibaba Java Coding Guidelines

作用:
阿里巴巴出品的java代码规范插件,可以扫描整个项目找到不规范的地方 并且大部分可以自动修复 。虽说检测功能没有findbugs强大,但是可以自动修复,阿里巴巴Java编码指南插件支持。

 

成功标志:

点击上方tools,出现阿里编码制约

实际应用:

右键,点击编码制约规范,下方出现:

 

7. Translation

作用:

最好用的翻译插件,功能很强大,界面很漂亮

特征:

多个翻译引擎。多种语言的互译。

Guess you like

Origin www.cnblogs.com/xyj179/p/11119450.html