The most complete plug-in of idea is recommended. It’s really cool

Time:2022-5-3

Plug in installation

Settings – > plugins – > marketplace / installed

Switch to the marketplace, enter the name of the plug-in to be installed in the search box, click Install after searching, and finally click restart idea after installation. Click restart idea to complete the plug-in installation.

The most complete plug-in of idea is recommended. It's really cool

1、Alibaba Java Coding Guidelines

Alibaba java coding specification check plug-in, no rules, no radius, check whether there are problems in the code and whether it meets the specification

Use: in the class, right-click and select code protocol scanning. The scanning protocol and prompt are displayed below

The most complete plug-in of idea is recommended. It's really cool
The most complete plug-in of idea is recommended. It's really cool

2、Lombok

Set get toString can be omitted through the plug-in, and the code is refreshed instantly

POM needs to introduce dependencies

< pre data tool = “mdnice editor” style = “margin: 10px 0px; padding: 0px; max width: 100%; overflow Wrap: break word! Important; box sizing: border box! Important; border radius: 5px; box shadow: RGBA (0, 0, 0, 0.55) 0px 2px 10px;” ><dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> </dependency> </pre>

The most complete plug-in of idea is recommended. It's really cool
The most complete plug-in of idea is recommended. It's really cool

3、Free Mybatis plugin

Quickly jump from code to mapper and return code from mapper. Click the green arrow to jump with one button, which is much more convenient

The most complete plug-in of idea is recommended. It's really cool
The most complete plug-in of idea is recommended. It's really cool

4、Codota

Intelligent code prompt, quick step

The most complete plug-in of idea is recommended. It's really cool

For example, if you enter string, you will be prompted automatically and the usage rate of each result will be given. You can decide which method to use according to the usage rate

The most complete plug-in of idea is recommended. It's really cool

5、SonarLint

A code check similar to Alibaba will provide the correct writing method. Another inspection team will come

The most complete plug-in of idea is recommended. It's really cool
The most complete plug-in of idea is recommended. It's really cool

6、Mybatis log plugin

Automatically help us splice SQL and parameters, which can be directly copied and executed. It’s too convenient to splice SQL parameters by ourselves

How to open the console: Tools – > mybatis log plugin, and the SQL console will be displayed below

The most complete plug-in of idea is recommended. It's really cool
The most complete plug-in of idea is recommended. It's really cool

7、Java bean to json

Convert the bean into JSON string, right-click converttojson in the bean file to get the JSON string. When calling the interface, directly copy and paste the JSON parameters into the body, and there is no need to write parameters one by one.

The most complete plug-in of idea is recommended. It's really cool
The most complete plug-in of idea is recommended. It's really cool

8、GsonFormat

With bean to JSON, of course, there is also the automatic generation of entity class parameters according to JSON string, and the new class, gsonformat

Right click in the blank space of the blank class, generate – > gsonformat, paste the JSON string, and click OK to generate parameters

The most complete plug-in of idea is recommended. It's really cool

<figcaption style=”margin: 5px 0px 0px; padding: 0px; max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important; text-align: center; color: rgb(136, 136, 136); font-size: 14px;”>img</figcaption>

9、RestfulToolkit

When encountering problems, we often need to find the class in which the interface is located. If we search globally, it is sometimes difficult to find it. At this time, restful toolkit can let you quickly find the class in which the interface is located

Use the shortcut key Ctrl + \, and then enter the interface URL to automatically display the interface location and similar interfaces. Click directly to jump to the class where the interface is located

The most complete plug-in of idea is recommended. It's really cool
The most complete plug-in of idea is recommended. It's really cool

10. Rainbow brackets

It can realize the same color of paired brackets and highlight the code of the selected area.

The most complete plug-in of idea is recommended. It's really cool
The most complete plug-in of idea is recommended. It's really cool

11、CodeGlance

Code thumbnail can quickly locate the code, which is more convenient to use than dragging the scroll bar

The most complete plug-in of idea is recommended. It's really cool
The most complete plug-in of idea is recommended. It's really cool

I’m Zhenda shrimp. I hope you can harvest something. I’ll see you next time.