Many programmers may not have good English skills. When reading English documents, they do not understand the meaning of some words, so they need to open the browser to find tools such as Youdao Dictionary for translation, or download a translation App for translation. I personally don’t like the idea of having to open an extra tool. In other cases, naming classes, function modules, etc., is also very troublesome. This article introduces a tool to help you solve these problems.

Alfred

Let’s start with what’s really cool about the MAC, Alfred. It’s kind of like the Spotlight that comes with the MAC. But it’s a lot more powerful than Spotlight. Alfred’s website currently has two versions, one for a fee and one for free. One big difference is that Powerpack is enabled. With Powerpack, you can add custom Workflow. This article is also based on having Powerpack enabled. Those who have economic ability can go official website to buy legal edition. Of course, there are also cracked versions online, in order to support the copyright, not to do more here. You can look it up yourself.

Let’s start with the first Workflow

1.CodeVar Click on the download

This plugin is very helpful for constants, uppercase humps, lowercase humps, and multi-word underscore separated names. The details are shown in the following figure. When the name is complete, hit Enter to immediately display the current editor cursor position. Command “CL “(constant) “xt”(small hump) “dt”(large hump) “xh”(separated by underscores)

2.Youdao Translate Click on the download

Compared to the first workflow, this workflow is simple and easy to translate words instantly while reading English documents. There will be little introduction here. Simple command “yd”(Youdao)

If you can’t wait, download it and use it.

The original blog: blog.julysong.com/2018/07/05/…