Java Development must-install IntelliJ idea Plugin

Source: Internet
Author: User
Tags naming convention

Java Development must-install IntelliJ idea Pluginreprinted April 14, 2016 10:13:16
    • 9453

Go to: Http://www.oschina.net/news/69858/java-developer-need-intellij-idea-plugin

IntelliJ idea is one of the best and most intelligent Java Ides of all time, with the default integration of almost all the mainstream development tools and frameworks.

Idea Plugin Introduction

The common idea plug-ins are mainly the following categories:

Common tools support

Java daily development requires access to many common tools, and for ease of use, many tools also have idea plugins for development use, most of which are already integrated by default in idea. Examples include maven, Git, SVN, Tomcat, jetty, Jrebel, Gradle, and more.

Framework Integration

The integration Framework is primarily designed to provide framework-tailored code and configuration generation, as well as fast access to the functionality provided by the framework. such as the integration of Spring Framework, mybatis framework and so on.

UI Customization and optimization

UI customization-related plugins are designed to provide customized customization, such as modifying the background image plugin in the editing area, changing the color of the code, and so on.

Other programming language support

Idea mainly supports Java, in order to use other languages, you can use a number of other languages to support plug-ins, through these plugins can be used to implement syntax analysis, color theme, code formatting and hints and other functions. For example, the go language supports plugins.

Individual or company specific needs

Company Internal Plugins

Introduction to Practical Plugins

Here is a brief introduction to some of the author's daily development of the use of plug-ins.
The following is a list of plugins I have installed in my idea. I will mainly introduce these plugins. Which I code is the company's internal plug-in.

Idea Plugin Installation

Idea plug-in installation is very simple, for many plug-ins, as long as you know the name of the plug-in can be directly installed in the.

Preferences->plugins-> find the required plug-in->install

Or

Preferences->plugins->install plug from disk-> Select Download Good plugin installation

Restart idea after installation to take effect

Idea Plugin Repository

IntelliJ idea has inspired many Java developers to write plug-ins, and IntelliJ idea plugins currently contains 1597 plugins and is growing, so you can see the idea plugin here.

Maven Helper

I usually use this plugin to view Maven's dependency tree. Without this plugin, the MAVEN command is used to view dependencies in order to see the dependency tree of Maven maven dependency:tree . If you want to see if there is a dependency conflict, you can also use a mvn dependency:tree -Dverbose -Dincludes=<groupId>:<artifactId> jar package that only looks at the concerns, but this still requires me to execute the command, and when the project is more complex, the process is lengthy. Maven Helper is a good solution to this problem.

Once the Maven helper plugin is installed, you can open the Dependency Analyzer view of the Pom file as soon as you open the Pom file (after the file is opened, there will be one more tab in the file) to enter dependency There are three viewing options after the analyzer view, namely conflicts (conflict), all Dependencies as list (see all dependencies in lists), all Dependencies as tree (view all dependencies). And this page also supports search. Very convenient! The plugin also allows you to quickly execute MAVEN commands.

Take a look at the pictures provided by Maven Helper:

Findbugs-idea

FindBugs A lot of people are not unfamiliar, Eclipse has plug-ins to help find the code in the hidden Bug,idea also have this plugin.

The easy way to use it is to finbugs multiple levels of content

After the analysis, there will be a view to prompt, detailed description of what kind of problem.

Follow the prompts to resolve the problem before performing a findbug view.

Checkstyle-idea

By checking the code coding format, naming convention, Javadoc, class design and other aspects of code specification and style check, so as to effectively constrain the developers to better follow the code writing specifications.
After the software installation is successful, you first set up the rules. can be done by

Preferences->other Settings->checkstyles

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

Again, the plugin has a separate view that shows the results of the check.

Gsonformat

In Java development, there is often a need to turn JSON-formatted content into object, Gsonformat this plug-in can implement this feature.

Jrebel

JRebel for IntelliJ is a hot deployment plug-in. Since our team has an internal thermal deployment scenario, I didn't use the plugin, but this plugin is similar to our internal plugin, so we recommend it here.

Acejump

Acejump is actually a substitute for the mouse software, as long as the installation of the plug-in, you can jump to any location in the code. After pressing the shortcut key into Acejump mode (by default, Ctrl+j), and then pressing any character, the plugin will label all occurrences of the character in the screen, and you can move the cursor to that position by clicking on the character of the label. In other words, when you move the cursor, the eye always looks at the target position, without even having to control the cursor's current position.

This oneself installs the practice to know, I usually actually does not use, may be the useless habit.

Markdown

Once the plugin is installed, opening the .md file will allow you to view and edit the content through a view that supports MD. Typically used to write readme.md files. But this plugin is not very useful, because he does not support the MD syntax very well. Or are you accustomed to using macdown this software?

Key promoter

Many of the developments have been from eclipse to idea. It's really very unaccustomed to use idea after using the shortcut keys of Eclipse. Key promoter This plugin is suitable for novice users. When you click on a function of the mouse, you can prompt you this function shortcut key is what.

The daily use of the plugin is finished. With these plugins, it's much happier to develop with idea.

Java Development must-install IntelliJ idea Plugin

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.