preface

As the saying goes, “If you want to do a good job, you must first sharpen your tools.” Some good tools can actually improve productivity

  • Share some common tools and software in the work, worth collecting!
  • Share some common sites and tools worth collecting!

This article mainly shares some common IDEA plug-ins in the work, hoping to help you!

The article was first published on an official account (Yuebanfeiyu), and then synchronized to the personal website: xiaoflyfish.cn/

If you like, I will share more articles later!

Feel there is harvest, hope to help like, forward ha, thank you, thank you

Wechat search: month with flying fish, make a friend, into the interview exchange group

Java Stream Debugger

The Stream operation added in JDK1.8 greatly improves programming pleasure and simplifies code.

At the same time, there is a problem, the debugger is not easy to debug, you can not see the execution results line by line.

The Java Stream Debugger plug-in solves this problem.

The following code:

public class Main {
    public static void main(String[] args) {
        List list = new ArrayList();
        list.add("Month");
        list.add("Companion");
        list.add("Fly");
        list.add("Fish"); list.stream().distinct().findFirst().get(); }}Copy the code

Debugging with plug-ins:

Jclasslib bytecode viewer

The Jclasslib Bytecode Viewer is a tool that visualizes compiled Java class files and the bytecode they contain.

Select View –> Show Bytecode With jclasslib

Note: if you are your own project source need to compile first

LeetCode editor

LeetCode brush algorithm artifact, you can pull the LeetCode problem, submit code to LeetCode to help execute, very nice.

Maven Helper

MVN Dependency :tree MVN Dependency :tree MVN Dependency :tree MVN Dependency :tree MVN Dependency :tree

If you want to see if there is a dependency package conflict, you also need to enter the command line and so on.

If you install the Maven Helper plugin, you can do it from the interface.

Corresponding operations:

  1. Conflicts (View Conflicts)
  2. All Dependencies as List
  3. All Dependencies as Tree

Jrebel

Daily development, when you project in the debug, modify any Java file, tomcat and this file can not be modified in real time to compile and reflected in the operation of projects, so can only restart the project, the process is very painful, especially if you project a little bit bigger, may have been restarted the project you are during the development.

JRebel is a JVM plug-in that allows Java code changes to take effect immediately without rebooting the system.

GenerateAllSetter

The plugin can quickly produce set code for properties of existing Model entity objects, eliminating the need for developers to look up values of set properties in entity objects during the development process. Default values of type will be attached at the same time

VisualVM Launcher

This plug-in can be used for local development of monitors such as stress testing, performance testing, etc. It is generally not recommended to start in this mode for other scenarios.

Another Visual VM window, JvisualVM, is launched in the JDK bin directory.

Configuration address:

SequenceDiagram

When taking over an old project, it is difficult to see the whole picture at the beginning. At this time, it is very helpful to have a deep understanding of the project if we can show the call relationship of the interface and the whole sequence diagram.

There is a SequenceDiagram plug-in that automatically generates execution sequence diagrams based on method invocation relationships.

After the installation is complete, right-click on a function of a class –> Sequence Diagaram to call it up.

Auto filling Java call arguments

Code generation plug-in, through the shortcut keys automatically complete the call parameters of the function, for the constructor and method containing a large number of parameters very useful!

GitToolBox

With the use of version control tool Git, it is very intuitive to display the current project branch, and the number of code not updated, not submitted, save unnecessary trouble such as branch query and the latest code.

IntelliJad

IntelliJad is a decomcompiling tool for Java class files. You need to set the address of the local Java JAD.

If you find a Jar package and right-click the Decompile class file, the Decompile result will appear.

Key Promoter X

This Key Promoter X plug-in will run a dialog to remind you to run the shortcut keys.

Very suitable for students who are not familiar with jetBrains family bucket IDE, learn to use shortcut keys.

Code Screenshots

Code screenshot tool, with it can quickly cut out beautiful code.

Configuration address:

Codota AI Autocomplete for Java

This plugin is based on AI technology, by learning from a large number of open source projects, to help developers provide more reliable intelligent recommendations, make programming easier!

Website address: www.codota.com/signin/get

Download and install:

Code tip:

When you write code, Codota will make recommendations based on what you have learned and what proportion to use.

The sample code

If you’re looking for sample code for a class, just select the class name, right-click and select Get Relevant Examples.

Get the highest ranked snippet on Github, StackOverflow, etc., and display it in the IDE faster and more convenient.

You can also search for the use of functions that support the JDK and well-known third-party libraries to see how they are used by other well-known open source projects.

Alibaba Java Coding Guidelines

In order to make it more convenient for developers to quickly standardize code format and implement it, Alibaba has developed a set of automatic IDE detection plug-in based on the manual content of Alibaba Java Development Guidelines, which is called Alibaba Java Coding Guidelines plug-in.

The plug-in is developed by Alibaba’S P3C project team.

  • The code is open source at GitHub: github.com/alibaba/p3c
  • Introduction: ali mp.weixin.qq.com/s/IbibsXlWH…

How to use:

You can see it by right-clicking on your project or a class

Scan for bad code

Material Theme UI

The appearance level of the tool is also important. Good themes are pleasing to the eye and desire to code. This is an IDEA plugin for the appearance level class: Material Theme UI

Set up the

This is where you set up the Material Theme UI plug-in

File > Settings > Appearance & Behavior > Material Theme

Translation

Translation is a very useful Translation plug-in, you can translate words, or even a paragraph of words anytime and anywhere, no longer need to open the browser to search the Translation website!

Properties to YAML Converter

Properties configuration files can be converted into YAML files in one click.

Hiberbee Theme

A theme inspired by Monokai Pro and MacOS Mojave is a dark theme with distinct layers of color.

The renderings of this theme are as follows and look very good! Good for coding!

Using theme packages

Recommend a website called color-themes

color-themes.com/

GsonFormatPlus

A very useful plug-in that can automatically convert JSON strings into Java entity classes.

When docking with other systems, data is often transmitted in JSON format, and we need to use Java entities to receive data into the library or package and forward. If there are too many fields, it will be too troublesome to write one by one.

Grep Console

By default, the IDEA console window prints logs in one color at a time. For example, info, WARN, and error logs are interwoven and cannot be distinguished.

Grep Console allows you to customize your Settings to use different colors instead of logs.

Custom configuration:

JOL Java Object Layout

View object layout and size plugins!