This is the fifth day of my participation in the More text Challenge. For details, see more text Challenge

This article recommends some good idea plug-ins.

1.Git Commit Template

Before installing the plugin, use the Commit function provided by IDEA:

After using the plugin, it looks like this, providing an input field for the commit information template:

The finished result looks like this:

2.FindBugs-IDEA

The simple way to do this is to finbugs multiple levels of content

When the analysis is complete, a view prompts you with a detailed description of the problem.

Follow the prompts to resolve the problem and then run findBug to see what’s going on.

3.GsonForma

In practical development, it is often necessary to convert json format content into Object, and GsonFormat plug-in can achieve this function. Create a custom Javabeans (nothing, just an empty class), copy the JSON you want to parse, and Alt + INSERT to bring up the following interface or use Alt + S to bring up the plugin by shortcut

Formatted json

Generate the following

4.CodeGlance: CodeGlance

Provides a minimap of the code to help you quickly locate where you want to go when you have a lot of analogies. This plugin is not useful for everyday development purposes, but it is useful when you read the source code, as shown below:

5.SequenceDiagram: one-click generation of SequenceDiagram

A prerequisite for an IDEA plug-in, very practical. I usually use it to generate a simple method sequence diagram to make it easier to read code, especially if the code is more hierarchically called. Simply select the method name (not the class name), right click and select the Sequence Diagram option!

After configuring some basic options such as calling depth, click OK! In the figure above we have generated a sequence diagram between calls to methods.

After the sequence diagram is generated, you can export it as an image or text file. You can also use the generated sequence diagram to locate the relevant code, which is especially helpful when reading the source code!

6.GrepConsole

Filter out the log you want to see, you can set the color

Configure the foreground color of logs at all levels

Results the following

7.Alibaba Java Coding Guidelines

Alibaba Java code specification plug-in. After the plug-in is installed, if the code exceeds 80 lines or the thread pool is manually created, the IDEA will warn you if the code is inconsistent with the specification in the Manual. I recommend that you install this plugin, it will help you to detect a lot of problems, and encourage you to write more standard code.

Prompt as you write code

8.Java Stream Debugger

Stream is very useful and can manipulate data flexibly, but for many new people, it is difficult to understand. So Java Stream Debugger this artifact IDEA can help you. It can visualize the operation steps of Stream, which is very helpful for our learning.

9.Rainbow Brackets

Because many people do not develop a good coding style, do not follow the format code habit, even some colleagues will write more than a few hundred lines of code, it will be very painful to read. One of the reasons for the pain is to find the context, where the plug-in is very helpful because there are too many parentheses and you are not sure if the current line of code belongs to a block of code.

10.Auto filling Java call arguments

In development, we usually call other functions that have already been written and need to fill in the parameters after the call, but in most cases, the variable name passed in is the same as the parameter name of the function. When there are many parameters, it is a waste of time to manually fill in a single parameter. This plugin can help you solve this problem. After installing the plug-in, call a function and use the Alt+Enter key combination to call “Auto Fill Call Parameters “to automatically fill in the parameter names defined by the function.

11.Material Theme UI

For many people, writing code can be a little boring, but being able to install your favorite theme can be a little fun. IDEA supports various Theme plug-ins, the most famous of which is the Material Theme UI.