For real work
Share a bit of their own work in the handy IDEA plug-in, not in the plug-in store casually search, all through the actual combat test, used are good. You might have some that you might have used before and you can just skim it.
1, GenerateAllSetter
In practical development, it is often possible to assign sets to multiple attributes in an object. Although batch assignments can be made using beanutil.copyProperties (), this method has some disadvantages, such as overwriting property values, so many scenarios still need to be set manually. If an object has too many properties and it’s too painful to set, GenerateAllSetter can set them all in one click.
Shortcut key: Alt+Enter
2. Alibaba Java Coding Guidelines
Ali’s “Java Development Manual” has become a must-read manual for many new employees. In the previous paragraph, Ali released “Java Development Manual (Taishan Edition)”, which once again perfected the Java development specification. However, the smelly, long manual is impossible to memorize, but it is much easier to integrate into the IDEA development tool.
For example: The developer manual doesn’t allow you to create a thread pool by using Executors, but by using ThreadPoolExecutor instead.
After the plug-in is integrated, go back to the Executors to create the thread pool.
3, GsonFormat
GsonFormat is a very, very useful plug-in that automatically converts JSON strings into Java entity classes. Especially when docking with other systems, data is often transmitted in JSON format, and we need to use Java entities to receive data for warehousing or packaging and forwarding. If there are too many fields, it will be too troublesome to write one by one.
Shortcut key: Alt+ S
Insert a picture description here
4, Maven Helper
Maven Helper is a powerful tool for resolving Maven dependency conflicts. It can quickly locate dependency conflicts in projects. After installation, open the POM file with the Dependency Analyzer view at the bottom. If displayed in red, it indicates that there is a dependency conflict. Click in and right-click the package to Exclude the package. The corresponding operation will be performed in the POM file.
- Conflicts (Conflicts)
- All Dependencies as List
- All Dependencies as Tree, and this page also supports search.
5, Codota
For example, when we use stream().filter() to operate on a List and are not familiar with the filter() usage, we would normally search for it, but Codota will prompt a lot of filter() usage and save a lot of time to search for information.
6, Free MyBatis Plugin
There is an awkward problem when using MyBatis as a persistence framework: SQL XML files and defined Java interfaces cannot jump to each other, as between Java interfaces, and can only be searched globally. The Free MyBatis Plugin associates the two.
7, IntelliJad
IntelliJad is a decomcompiling tool for Java class files. You need to set the address of the local Java JAD. Decompile will be decompiled if you right-click the Decompile class file in any of the Jar racks.
8, Properties to YAML Converter
Properties configuration files into a YAML file, a very useful plug-in. “Note: Back up the original Properties file in advance”
9, Lombok
The Lombok plug-in should be familiar. It takes care of tedious and repetitive code like setters, getters, toString, equals, and so on.
10, CodeGlance
CodeGlance is a mini-zoom plugin for code editing areas that makes it easy to see where our methods are in general.
IDEA also has a lot of development tips, help us less code, I do not know if you found? After the variable, there are associative hints, and at the end of the associative list there are many succinct commands.
Such as:
list.sout = System.out.println(list);
list.var = List list1 = list
list.nn = list.if (list ! = null)
.
With X
Below these belong to install X artifact, can be played according to personal preference.
1. Material Theme UI
The interface icon style will be very nice after using the plugin.
2, activate – power – mode
The effect of this vibration seems to be cool, but after 10 minutes of writing code I was almost thrown up by it.
3. Nyan Progress Bar
It will make all the progress bars of IDEA look cute, but I do not recommend you to install it because it will be very slow, I don’t know if it is only me.
4, Rainbow Brackets
Rainbow color brackets, look very comfortable, a bit of a feast for the eyes.