IntelliJ IDEA plug-in required for Java Development

Source: Internet
Author: User

IntelliJ IDEA plug-in required for Java Development

IDEA plug-in Introduction

The following are common IDEA plug-ins:

Common Tools

Java daily development requires access to many common tools. For ease of use, many tools also have IDEA plug-ins for development and use. Most of them have been integrated in IDEA by default. For example, maven, git, svn, tomcat, jetty, jrebel, and Gradle.

Framework Integration

The integration framework mainly aims to provide customized code and configuration generation, as well as quick access to the functions provided by the framework. For example, integrate the Spring framework and Mybatis framework.

UI customization and Optimization

UI customization-related plug-ins mainly provide customization requirements, such as modifying the background image plug-ins in the editing area and changing the code color.

Support for other programming languages

IDEA mainly supports Java. To use other languages, you can use some plug-ins that support other languages. These plug-ins can implement functions such as syntax analysis, color-based themes, code formatting, and prompts. For example, plug-ins supported by the Go language.

Special requirements of individuals or companies

Internal company plugin

Practical plug-ins

Here we will briefly introduce some plug-ins used in my daily development.
The following is a list of self-installed plug-ins in IDEA. I will mainly introduce these plug-ins. I typed the internal plug-in.

IDEA plug-in Installation

The installation of IDEA plug-ins is very simple. For many plug-ins, you can directly install the plug-ins in IDEA as long as you know the plug-in name.

Preferences-> Plugins-> find the required plug-in-> Install

Or

Preferences-> Plugins-> Install plug from disk-> select the downloaded plug-in for Installation

After installation, restart IDEA to take effect.

IDEA plug-in Repository

IntelliJ IDEA inspires many Java developers to write plug-ins. Currently, IntelliJ IDEA Plugins contain 1597 plug-ins and are still growing. You can check the IDEA plug-ins here.

Maven Helper

I usually use this plug-in to view the dependency tree of maven. If you do not use this plug-in, you must use the maven command to view the dependency tree of Maven.maven dependency:treeTo view dependencies. You can also usemvn dependency:tree -Dverbose -Dincludes=<groupId>:<artifactId>Only check the jar package of interest, but this still requires me to execute the command, and this process is quite long when the project is complicated. Maven helper can solve this problem well.

Once the Maven Helper plug-in is installed, you can open the pom FileDependency Analyzer ViewAfter the file is opened, there will be such a tab under the file). After Entering the Dependency Analyzer view, there are three viewing options: Conflicts (conflict), All Dependencies as List (view All Dependencies in the List form), All Dependencies as Tree (view All Dependencies in the Tree structure ). This page also supports searching. Very convenient! The plug-in can also be used to quickly execute maven commands.

Let's take a look at the image provided by maven helper:

FindBugs-IDEA

Many FindBugs are unfamiliar. Eclipse Has plug-ins to help find Bugs hidden in the code, and IDEA also has this plug-in.

It is easy to use, that is, you can perform finbugs on multiple levels of content.

After the analysis is complete, a view is displayed, detailing the problem.

Follow the prompts to solve the problem and then run findbug to check the situation.

CheckStyle-IDEA

By checking the code coding format, naming conventions, Javadoc, and class design, developers can effectively abide by the code writing specifications.
After the software is successfully installed, you must first set the rules. You can use

Preferences-> Other Settings-> CheckStyles

You can add the file directly, and then you can check the specific file.

The plug-in also has a separate view, which can display the check results.

GsonFormat

During Java Development, you often need to convert the content in json format to an Object. This function can be implemented by the GsonFormat plug-in.

Jrebel

JRebel for IntelliJ is a hot deployment plug-in. Because our team has an internal hot deployment solution, I have never used this plug-in, but this plug-in is similar to our internal plug-ins, so we recommend it here.

AceJump

AceJump is actually a software that can replace the mouse. After installing this plug-in, you can jump to any position in the code. Press the shortcut key to enter the AceJump mode, and the default value is Ctrl + J). Then press any character, the plug-in will tag all the positions where the character appears on the screen, you just need to press the label character to move the cursor to this position. In other words, when you want to move the cursor, you just need to keep your eyes looking at the target position without worrying about the current position of the cursor.

I have installed it on my own, but I don't know how to use it at ordinary times. Maybe it's useless.

Markdown

After installing this plug-in, open.mdFiles can be viewed and edited in a view that supports md. It is generally used to write the README. md file. However, I am not quite familiar with this plug-in because it does not support the md syntax very well. Still usedmacdownThis software.

Key promoter

Many development projects are switched from Eclipse to Idea. I am not used to using IDEA after I get used to Eclipse shortcuts. The Key promoter plug-in is suitable for beginners. When you click a function, you will be prompted about the shortcut key.

The plug-ins used in daily use are all described. With these plug-ins, it is even happier to use IDEA for development.

If you still have good plug-ins, please refer to them ~

 
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.