This article is available at github.com/chengxy-nds…
Hello, I’m Rich
Pigeon has not posted for a long time, the day of not writing articles is really very comfortable, do not worry about writing something every day, do not worry about the poor reading amount, do not stay up so late, set aside more time to spend with family.
However, the comfort is followed by extreme anxiety. It can be stressful to watch your nerdy friends get better day in and day out, and people who are better than you work harder than you.
Always look for an excuse to oneself, ah ~, the job is busy which come time lane, can be more so self comfort more have no time to do, work person which come big chunk chunk of time to let you do these, really love a thing is to want wholehearted devotion, time squeeze squeeze always have, you insist!
Although walk slowly, but I always on the road ~
Before I shared a “10 free hands OF IDEA plug-ins, less wrong code” the response is good, here I introduce 10 I still use the IDEA plug-ins, absolutely practical and not fancy.
aiXcoder
AiXcoder a domestic code development tool, provides a more powerful code completion, prediction function, its purpose is to let us less code, can automatically generate never handwritten, start feeling will fall in love with it.
In the actual development, I will use postfix Completion and aiXcoder configuration of IDEA. IDEA itself already provides many shortcuts for quick completion, but I found that many people in the group did not really use it.
You can also define your own shortcut generated code block.
AiXcoder supports similar code search function, if which API is not used, directly select right click the whole network to search for practical cases.
Java Stream Debugger
The stream API for Java8 greatly simplifies the amount of code we can use, but there are always weird bugs that can’t be debugged.
The Java Stream Debugger supports debugging of the Stream API, and you can clearly see the change process of data in each step.
easy_javadoc
Easy_javadoc is a plugin that allows you to quickly annotate Java classes, methods, and properties. It also supports custom annotation styles. IDEA’s Own Live Templates also supports this, but it’s a bit cumbersome and not very efficient to use.
When you annotate a class, method, or attribute, you will not only generate the annotation, but also translate the corresponding variable, class, or method into its Chinese name, depending on how well you name it.
Shortcut key: CRTL + \
If you think adding a little bit of comment is too inefficient, you can also try adding comments in batches.
Shortcut: CRTL + Shift + \
If an existing comment style doesn’t work for you, you can customize your comment template.
Easy Code
Easy Code I personally use more when writing blog case demo, it can quickly map the database table into Java entity, Controller, Service, DAO, mapper and other files, a small amount of coding to achieve rapid development.
First use database to connect the database, directly right-click on the corresponding table to execute EasyCode can generate the corresponding Java code, really very convenient.
Restfultoolkit
Restfultoolkit is a set of assistant tools for RESTful service development. Maintenance items usually involve searching for a class corresponding to a request. You can use CTRL + Shift + F to perform global search.
Restfultoolkit manages all request links in a project and can be found quickly.
Shortcut keys: CTRL + Alt + N
You can copy the full path of the current request and the parameters in JSON format, which is very useful in development testing.
A column of RestServices will appear on the right side of IDEA, which contains HTTP requests for the whole project and JSON data of input and output parameters of each request. Simple simulated requests can be carried out.
Key promoter X
Key Promoter X is the shortcut Key prompt plug-in of IDEA, which is my favorite function and enables me to quickly memorize many shortcut keys for operation. When you click on a feature that has a shortcut key, it will prompt you with a shortcut for the current action.
String Manipulation
String Manipulation is a useful String Manipulation tool. For example, variable names can be converted to hump format by one key. It also supports various encryption and decryption (MD5, Base64, etc.) operations on strings.
Shortcut:alt + m
Translation
Translation a very convenient Translation plug-in, such as selected code, console error messages can be directly translated.
Git Auto Pull
During the multi-team development project, due to the frequent code submission, I had to pull before committing the local code; otherwise, code conflicts would result in merge records.
The GitAutoPull plugin helps us pull before push, avoiding unnecessary code conflicts.
.ignore
When submitting code to Github, we can create a.gitignore file to ignore some files that we don’t want to submit.
You can also add specified files to.gitignore, and ignored files will be grayed out.
The above are the 10 practical IDEA plug-ins shared this time, which are helpful to improve the development efficiency.
Warm tip: plug-in is good but also don’t greedy install, install more will really card, card, card!
I have sorted out hundreds of technical e-books for students who need them. The technology group is almost full, want to enter the students can add my friend, and the big guys blow technology together.
Ebook address