IDEA installs the Ali code specification check plugin

Tips before viewing:

The IDEA version used in this article is ultimate 2019.1.

Recently, the company requires a code specification check, and I want to self-check it in advance. At this time, the Ali code specification check plugin is the best choice.

The next step is to explain the steps of how to install the Ali code specification check plugin.

1. Install the plugin

File->Settings…
Insert picture description here
Select Plugins->Maketplace->Search box and enter Alibaba->Find Alibaba Java Coding Guidelines->Install
Insert picture description here

Restart IDEA, Restart IDE.

2. Download and install the local zip package plugin

Click on the official website link

CSDN download point me

Start the installation after the download is complete

File->Settings...->Plugins->Click the settings icon (small gear)->Install Plugin from Disk...
Insert picture description here
Select the zip package plug-in (note, preferably in the pure English path) ->OK
Insert picture description here
restart IDEA, Restart IDE
Insert picture description here

3. Code inspection

First of all, you can go to Tools->Ali Coding Protocol->Switch Chinese and English

Insert picture description here
You can check the code by right-clicking on the project -> Scanning Code.

Insert picture description here
The inspection results and prompts are shown in the figure below.
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43611145/article/details/107021151