The current IDEA version is 2020.1. As the IDEA version is upgraded, some plug-ins are no longer supported, and some plug-ins become paid plug-ins, which are no longer recommended. The following are plugins that can be used in the 2020.1 version of IDEA.
Translation
Introduction to the
Translation plug-in, support Google Translation, Baidu translation, Youdao translation.
use
Shortcut key Ctrl + Shift + O
Translation interface. PNG
PNG Translation switching software
Key promoter X
Introduction to the
Key Promoter X is a prompt plug-in. When you use the mouse to operate IDEA, a shortcut key will be displayed in the lower right corner of the interface to inform you of the operation. One small disadvantage is that some operations without shortcut keys will directly prompt the name of the operation, in fact, such prompt is useless, you can click “Don’t show again” to ignore.
KeyPromoterX.png
Alibaba Java Coding Guidelines
Introduction to the
Alibaba code specification inspection. There are wavy lines in areas that don’t conform to code specifications, a mouse over them will give you a hint, and some problems can even be fixed quickly.
Alibaba code yugui.png
Leetcode Editor
Introduction to the
LeetCode plug-in, you can brush online in IDEA. It’s convenient to go to work. On the surface, I’m working, but in fact, I’m brushing algorithms.
use
LeetCode.gif
GitHub: github.com/shuzijun/le…
RestfulToolkit
Introduction to the
Search for urls, specifically urls in @requestMapping of Controller layer in SpringMVC project, and match the urls to corresponding Controller layer methods.
use
Shortcut keys: Ctrl + \ or Ctrl + Alt + N
RestToolkit.png
Jclasslib Bytecode Viewer
Introduction to the
Look at the class bytecode file.
use
Jclasslib Bytecode Viewer1.png
CamelCase
Introduction to the
Toggle back and forth between several string formats. The following formats are available:
- Hump, lowercase for the first word, uppercase for all other words;
- All letters are lowercase and words are separated by underscores
- All letters are lowercase and words are separated by Spaces
- All letters are lowercase and words are separated by a short line
- Capitalize every word
- All letters are capitalized and words are separated by underscores
Use:
Holding Down Shift + Alt and pressing U repeatedly will change the underlined words of the selected content to camelback to uppercase, etc., and so on, until you want it.
Jrebel for Intellij
Introduction to the
JRebel is a JVM plug-in that allows Java code changes to take effect immediately without rebooting the system. Of course, you still need to press the shortcut key to take effect.
The installation
Activate the equal. PNG
You can write your own code, or find an online site to generate a GUID. Then open the plugin activation screen and enter the Team URL jrebel.qekang.com/, a random generated gu… The license button is activated successfully.
Associated Settings
Set 1
Set the working mode to offline. Go to File -> Settings and find the following screen:
Set 1
Setting up automatic compilation
Set 2. PNG
Set up the compiler. Automake. Allow. The when. App. Running
The shortcut Ctrl + Shift + A, search the Registry, to the compiler. Automake. Allow. The when. App. Running on the hook.
Set 3. PNG
use
To run the project, click the button in the red box in the figure. The first button is Run and the second is Debug. Just click one, not both.
Run. PNG
Press Ctrl + Shift + F9 after the code changes (only Java code changes are tested). Once the load is complete, the hot update effect is achieved.
String Manipulation
Introduction to the
Features: variable names in camel case, constants in all caps, etc., encoding and decoding, etc. So basically it’s dealing with strings.
use
Select the content to be processed and press Alt + M to display the tool function list. Specific functions can also use corresponding numbers or letters without mouse clicks.
String Manipulation.png
Free Mybatis Plugin
Introduction to the
You can jump to mapper.xml using methods in the Mapper interface.
FreeMybatisPlugin.png
SequenceDiagram
Introduction to the
- Generate a simple sequence diagram.
- Click on the graphic shape to navigate the code.
- Remove the class from the diagram.
- Export the chart as an image.
- Exclude classes from the diagram by going to Settings > Other Settings > Sequence
use
With the cursor positioned in the method name or body, right-click the method and select Sequence Diagram. You can then specify the call depth of the method, which is 5 by default.
Methods Sequence diagram. PNG
Figure inside not only have their own written methods, but also call other third-party library methods, looking more messy.
GenerateAllSetter
Introduction to the
It is very convenient to generate all the set methods of this object directly.
use
Place the cursor on the line of the variable declaration, not after a semicolon. Then press Alt + Enter to pop up a menu for you to choose from.
Generate set method.png
Chinese(Simplified) Language Pack EAP
Introduction to the
Version 2020.1 will support the official Chinese plug-in. In the case of 2020-04-10, there are still defects in the plugin, some places show a piece of code instead of Chinese. You can wait for the plugin to be refined.
Rainbow Brackets
Introduction to the
Rainbow parentheses. When parentheses are nested, they are marked with different colors. When the cursor moves over a parenthesis, the paired parentheses are also highlighted.
Original: www.cnblogs.com/FatShallot/p/12689972.html