Source: www.toutiao.com/i6929867921…
After installing Intellij IDEA, perform the following initialization operations to improve the work efficiency by ten times.
Install plug-ins
1. Codota code intelligent prompt plug-in
It’s smart to think of a whole sentence just by typing the first letter and showing how often each sentence is used. The reason is that it learned my project code and summarized my code preferences.
If machine learning is added to it, can ai code be far behind?
2. Key Promoter X Shortcut
Each time in the lower right corner pop-up window prompt, to help us quickly familiar with the shortcut keys.
3. CodeGlance display code thumbnail plugin
Handy for viewing when there’s a lot of code.
Lombok simplifies the bloatcode plug-in
Entity class get/set/ construct /toString/hashCode methods, etc., do not need to be written manually
5. Alibaba Java Coding Guidelines Check plugin
We will help us check the code according to the specification in The Java development manual of Ali, and then show the code in different colors. When you put the mouse on it, you will see the prompt content to help us write more standard code.
6. CamelCase and underline naming conversion
Registering each of these naming styles, using the ⇧ + ⌥ + U/Shift + Alt + U shortcut will allow rapid conversion when changing a large number of variable names.
7. MybatisX efficiently operates Mybatis plug-in
8. SonarLint code quality check plugin
It tells me not to use system.out output, but to use Logger output, etc., to help us improve the quality of the code.
9. Save Actions Formatting code plug-ins
It can help us optimize package import, automatically add final modifiers to unmodified variables, automatically add this keyword when calling methods, etc., making our code more standardized and unified.
10. CheckStyle code style check plugin
Function is similar to Alibaba Java Coding Guidelines
11. Grep Console Customize the Console output format plug-in
12. MetricsReloaded code complexity check plugin
Statistic code statistics plug-in
14. Translation plug-in
Rainbow Brackets can be used for Brackets
Pairs of brackets show the same color, and with this plugin, my nearsightedness is better.
2. Custom create live Template, quickly write code
Just type apr and it will prompt automatically and generate an Autowired statement. You can customize some code templates according to your code habits to help us write code quickly.
3. Modify global configurations to improve work efficiency
1. Optimize the packet guide configuration
2. Disable the single line display on the TAB page
Multiple lines show more files for easy viewing.
3. Change the double slash comment to follow the dock
4. Select copy the entire row
It will only copy the code that you selected, but after you change the configuration, you can copy the entire line, whether you selected it completely or not.
5. Cancel case matching
If unchecked, enter lowercase S to prompt String
6. Optimize directory color display for version control
7. When a file is created, the author and time information is automatically generated
8. Display line number and method divider
What else do you know about efficient operations or plug-ins for Intelij Idea?
Recent hot articles recommended:
1.1,000+ Java Interview Questions and Answers (2021)
2. Awesome! Java coroutines are coming…
3) Too much! Log4j 2.x
4.Spring Boot 2.6 is out with a lot of new features.
5. “Java Development Manual (Songshan version)” the latest release, quick download!
Feel good, don’t forget to click on + forward oh!