This article has been accepted by Github github.com/silently952…

Fully open source Taoke project: github.com/silently952…

Wechat official account: Beta learning Java

background

I often use some online tools in the process of development, such as timestamp to date, JSON formatting and so on. Consider making these commonly used functions into IDEA plug-ins, which can be quickly completed in IDEA to improve the development efficiency of developers without going to the Internet to find tools when using.

Why refactoring

The initial implementation of a primary version, everyone’s feedback is still more practical, but also received a lot of suggestions and questions, such as: the previous version of TAB too much, can configure hidden and so on; In addition, there are more and more tools integrated with this plug-in, and it is not appropriate to use Tab. Therefore, we redesigned it, and just run all tools in RunAnything by command, and use the required functions in IDEA according to our actual situation.

How to use

  1. Double-click Control or click on the utility class icon to bring up the RunAnything window

  1. Enter in RunAnything?To viewtoolkitThe command

  1. The inputtoolkitYou can see all supported commands

  1. Select the command to be used, for example, SQL to elasticSearch statement and TWO-DIMENSIONAL code generation

How to install

The first way: download the source code to package their own installation

The second way:

  1. Follow wechat official account: Beta Learning Java, reply:toolkitYou can get the packaged plug-in, the latest plug-in version1.0.3
  2. Package idea plug-in installation interface ->install plugin from disk, select the latest plug-in package, and restart the IDEA interface to take effect

Supported commands

The command instructions
toolkit date Date to timestamp
toolkit timestamp Timestamp to date
toolkit json JSON formatting
toolkit sql2dsl SQL convert elasticSearch statement
toolkit url encode URL encoding
toolkit url decode URL decoding
toolkit base64 encode Base64 encoding
toolkit base64 decode Base64 decoding
toolkit phone Address of the mobile phone number
toolkit ip IP belongs to
toolkit md5 MD5 encryption
toolkit sha1 SHA1 encryption
toolkit sha224 SHA224 encryption
toolkit sha256 SHA256 encryption
toolkit sha384 SHA384 encryption
toolkit sha512 SHA512 encryption
toolkit uuid UUID random values
toolkit regular Regular expression
toolkit qrcode encode Generate two-dimensional code (insert Logo)

Planned command

The command instructions
toolkit nat Intranet penetration (convenient for wechat, Alipay and other background development)
toolkit cron Cron expression
toolkit file minify Js/CSS confuses compression
toolkit file download File download
toolkit qrcode decode Two-dimensional code analysis

You are welcome to leave a message to support the command

Test the version of IDEA

The version that passed the test is as follows. If there is any problem with other versions, please leave a message to me

IDE version
Intellij IDEA 2019, 2020,

The project address

Github address: github.com/silently952…

Gitee address: gitee.com/silently952…

If you think it’s easy to use, remember to star with a little hand


Pay attention and don’t get lost

White piao bad, creation is not easyI hope my friends canLike comment followThree companies, because that’s all the motivation I share 🙏