Recommend 10 NB idea plug-ins, the development efficiency at least doubled

Time:2020-10-21

Friendly tips: Although the plug-in is good, do not be greedy to install Oh, installed more cards, cards, cards~

For serious work

Share some of the things you can do with your workIDEAPlug ins are not randomly searched in the plug-in store. They are all tested in actual combat, and all used ones are said to be good. There may be some people used to quickly cross the line.

1、GenerateAllSetter

In the actual development, it may often be carried out for multiple attributes in an objectsetAssignment, although you can useBeanUtil.copyProperties()However, this method has some disadvantages, such as the problem of attribute value coverage, so many scenarios still need to be manuallyset。 If an object has too many propertiessetIt’s painful to get up,GenerateAllSetterYou can set all the attributes of an object with one keysetCome out.

Shortcut key:Alt+Enter

Recommend 10 NB idea plug-ins, the development efficiency at least doubled

2、Alibaba Java Coding Guidelines

The java development manual produced by Ali has become a must read manual for new employees of many companies. In the previous paragraph, Ali released the Java Development Manual (Taishan version), and once againJavaThe development standard has been improved. However, it is impossible to memorize a long and smelly manual, but it is integrated intoIDEADevelopment tools are much more convenient.

Take chestnuts: not allowed in the development manualExecutorsTo create a thread pool throughThreadPoolExecutorThe way.

Recommend 10 NB idea plug-ins, the development efficiency at least doubled

After the plug-in is integrated, it will be used againExecutorsTo create a thread pool, you will be prompted as follows.

Recommend 10 NB idea plug-ins, the development efficiency at least doubled

3、GsonFormat

GsonFormatI think it is a very practical plug-in, which can makeJSONString is automatically converted toJavaEntity class. In particular, when docking with other systems, theJSONFormat, and we need to useJavaIf the entity receives data into the warehouse or packages and forwards, it will be too troublesome to write one more field.

Shortcut key:Alt+ S

Recommend 10 NB idea plug-ins, the development efficiency at least doubled

4、Maven Helper

Maven HelperIt’s a solutionMavenThis is a powerful tool for dependency conflicts, which can quickly find dependency conflicts in projects. Open after installationpomFile, at the bottomDependency AnalyzerView. Red indicates that there is a dependency conflict. Click in and right-click on the packageExcludeexclude,pomThe operation of excluding package will be made in the file.

Recommend 10 NB idea plug-ins, the development efficiency at least doubled

  • Conflicts
  • All dependencies as list
  • All dependencies as tree, and this page also supports search.

5、Codota

YesCodotaI’m no longer afraid of itAPICan’t use, take a chestnut: when we use itstream().filter()YesListOperation, but yesfilter()Usage is not familiar, according to common sense, we will Baidu, and useCodotaIt will prompt a lotfilter()It can save a lot of time to consult data.

Recommend 10 NB idea plug-ins, the development efficiency at least doubled

6、Free MyBatis Plugin

in useMyBatisAs a persistent framework, there is an awkward problem:SQL xmlDocument and definedJavaInterfaces can’t jump to each other, and can’t be called between Java interfaces, so global search is a little troublesome.Free MyBatis PluginLink the two.

Recommend 10 NB idea plug-ins, the development efficiency at least doubled

7、IntelliJad

IntelliJadIs a Java class file decompiler tool, need to be in thesettingSet local inJava jad.exeThe address of the tool. Whatever you wantJarShelf selectionclassRight click the fileDecompileThe result of decompilation will appear.

8、Properties to YAML Converter

takePropertiesOne click conversion of configuration fileYAMLFile, a very practical plug-in.Note: backup the original in advancePropertiesfile

Recommend 10 NB idea plug-ins, the development efficiency at least doubled

9、Lombok

LombokThe plug-in should be familiar. It solves the tedious and repetitive code for us, such asSetterGettertoStringequalsAnd so on.

Recommend 10 NB idea plug-ins, the development efficiency at least doubled

10、CodeGlance

CodeGlanceIs a code editing area minizoom plug-in, you can easily know where our method is.

Recommend 10 NB idea plug-ins, the development efficiency at least doubled

IDEAThere are also a lot of development tips, help us to reduce the code, do not know if you have found? After variable.You can associate the prompts, and there are many simple commands at the end of the association list.

For example:

list.sout = System.out.println(list);

list.var = List<User> list1 = list

list.nn = list.if (list != null)

……

Recommend 10 NB idea plug-ins, the development efficiency at least doubled

For X

Below these belong to the installation of X artifact, you can play according to personal preferences.

1、Material Theme UI

After using the plug-in, the interface icon style will become very beautiful.

Recommend 10 NB idea plug-ins, the development efficiency at least doubled

2、activate-power-mode

The effect of this shock seems to be very cool, but after writing the code for ten minutes, I was about to vomit by it.

Recommend 10 NB idea plug-ins, the development efficiency at least doubled

3、Nyan progress bar

Will letIDEAAll progress is too laggy adorable, but I do not recommend that you install adorable because it will be stuck. I wonder if it’s the only way I can do that.

Recommend 10 NB idea plug-ins, the development efficiency at least doubled

4、Rainbow Brackets

Rainbow color brackets, looking very comfortable, a little pleasant feeling.

Recommend 10 NB idea plug-ins, the development efficiency at least doubled


Original is not easy, burning hair output content, if there is a loss of harvest, like to encourage it!

Hundreds of technical e-books have been sorted out and sent to our friends. Pay attention to the official number and reply [666] to collect it by yourself. We have set up a technology exchange group with some partners to discuss technology and share technical information, aiming to learn and progress together. If you are interested, please join us!

Recommend 10 NB idea plug-ins, the development efficiency at least doubled


java
idea

Recommended Today

Wondertrader releases version v0.5.0

Today (July 28, 2020), wondertrader released the latest version of v0.5.0, along with the latest version of wtpy, v0.5.0 Wondertrader has made the following changes in v0.5.0: High frequency strategy engine officially released。 High frequency strategy engine beforeWonderTraderHowever, due to insufficient testing, it has not been officially released for the time being. It only focuses […]