From time to time, some friends ask me, “Brother, can you recommend an IDE?” Intellij IDEA is now being used in Java, but it also needs to be recommended (I have broken up with Eclipse). Then the friend said, “Brother, IDEA supports Chinese? My English is not very good.” You see this words ask, engage in programming, English is not good is hard!
However, with the release of the latest version of IDEA (version number 2020.1), the disease of poor English can be cured once and for all. Why do you say that? Because IDEA supports Chinese! A plug-in will do it.
Step one: download the latest version directly from the official website.
Choose to keep the original version when installing, because the new version is a bit buggy: Indicates that Lombok has a problem.
You can Enable it directly, but you should be careful not to run into a pit when upgrading the version.
After the successful installation of the new version, you can directly enter the keyword “Chinese” in the plug-in market, and then the Gospel will come, see the picture below, there is a Chinese package plug-in.
Install it, and then restart IDEA. See yet? Is there a kind of foreign travel back home to see the kind of tearful feeling (metaphorically speaking)?
Most Of the English words are elegantly sinicized and can be seen at a glance. Of course, as this is the first Version of the Chinese version, there are inevitably some flaws – some English words have not yet been translated into Chinese.
Probably the engineer of language package has not figured out what should be translated into Chinese properly, after all, The Sinicization still needs some context, so it can’t be literally translated – otherwise, it’s just like a person’s name is Wang Er.
But anyway, the whole team at Intellij really put their heart into it, and I’ve been using Eclipse for 10 years and haven’t had this kind of benefit. Although my English foundation is ok, but some words always look strange, sometimes I have to secretly open Kingsoft Powerword or Google Translate, SHH.
Of course, if you are used to the English version, but not adapt to the Chinese version, want to go back to the previous version, it is also easy to directly close the Plug-in Chinese Language Pack EAP.
Now to introduce the second plug-in, for English is not good friends simply “heaven falls a Lin sister”, welfare to you can not do. Search for the keyword “translation” in the plugin marketplace, as shown below.
Look at the introduction of this plug-in feel very awesome, support a variety of translation engines, Google, Baidu and Youdao, very comprehensive; Also supports the translation of document annotations, which is absolutely a magic tool for those who like to see the source code.
What are you waiting for? Install it. Install it now.
After the installation is complete, some partners may ask, how to use it? Don’t worry, come at once.
First, click the translation icon in the upper right corner (there is a “G” and a “text”, put the mouse on it for a while, there are shortcut keys), and then enter the word or text you want to translate.
Second, select the text in the edit window (chinese-English translation is supported), then right-click and choose the Translate menu (shortcut keys are also available).
Third, when creating a class, type in Chinese and use a shortcut key to translate “Translate and replace” from Chinese into English. (No longer need to worry about the boss criticism, elegant naming I will also)
How to call up the shortcut key, you can view the default in “Keymap”, you can also customize.
Fourth, right-click in the source document (cursor in the document comment) and select “Translate Documentation”.
You will find a new world, there are no strange faces, from this kind of is what, the method is what, clearly, clearly, English is not good to note the big problem will be solved.
Well, my dear readers, that’s all for this article. Have you completely cured your bad English? I am silent King er, an interesting programmer. If you think this article is helpful to you, please search “Silent King er” on wechat and read it for the first time. Original is not easy, do not want a free ticket, please praise for this article, this will be my writing more high-quality articles of the strongest power.
This article has been synced to GitHub, welcome star, portal ~