preface
Here does not talk about what technology, pure for fun, collected several good fun IDEA plug-in, recommend.
1, the active power mode
After installing this plug-in, I found myself unable to stop typing code.
The installation
Open the menu and go to File-> Settings -> Plugins to search for active-power-mode
Click Install to install, and then restart Idea.
configuration
Windows now has an active-power-mode menu that allows you to configure animation effects.
2. Material Theme UI
This is a very popular IDEA theme plugin, IDEA interface is no longer boring after installation.
After the installation, restart IDEA. The welcome page of the Material Theme UI will be displayed to guide you to select themes and colors.
After entering IDEA, you can also select a Theme from the Material Theme menu of Tools
3. Alibaba Java Coding Guidelines
You’ve all heard of alibaba’s development manual, and this plugin is based on this manual to help you improve code specification.
The installation
Search for Alibaba in Plugins
After installation, we can detect the code specification in real time, and in the non-standard place marked with red line, click the prompt can automatically modify the code according to the specification.
configuration
In the right – click menu you can set up standard scan and turn off real-time detection
4, Lombok
This plugin is used by a lot of people, so entity classes don’t have to write a lot of get\set, constructors, toString, etc. Instead, Lombok provides annotations, and the code is very clean.
However, some large companies do not recommend using this plug-in, such as Ali, because it is highly intrusive to the code, and once used, the whole team must use it.
The installation
Go to File-> Settings -> Plugins to search Lombok, install it and add dependencies to your project
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
Copy the code
Add the @data annotation to the entity class to automatically add the GET /set methods.
5, QAPlug – FindBugs
The previous Alibaba plugin does normative checking. FindBugs can help us find hidden bugs in our programs and improve code quality and system stability.
The installation
Search for FindBugs in Plugins
Once installed, right-click the project -> Analyze -> Inspect Code and select Whole Project
The plugin analyzes the major problems in the project and displays them in the left results window. Clicking on the problem shows the location of the problem code in the right window and the solution at the top.
The end of the
This is the end of the plugin, if you found it useful, don’t forget to like it 🙂