table of Contents
The following operations need to enter the settings: File--Settings
2. Set the default font, font size, line spacing -> (Settings--Editor--Font)
3. Change the font size at any time [Ctrl+roller]——>(Settings--Editor--General)
Four, the mouse is hovering over the code and there is a hint -> (Settings--Editor--Genreal)
8. Ignore case and prompt [Uncheck]——>(Settings--Editor--Genreal--Code Completion)
X. Modify the color of the comment -> (Settings--Editor--Color Scheme--Language Defaults)
11. Set the project file encoding format -> (Settings--Editor--File Encodings)
Twelve, automatic compilation -> (Settings--Build..--Compiler)
Thirteen, generate serialized version number -> (Settings--Editor--Insperctions)
14. Import the jar package——>(File--Project Structure--Libraries--+)
Steps to install plugins: FIle--Settings--Plugins--"Search"--Install--Apply--OK
1. Official Chinese (Simplified) Plug-in——>Chinese (Simplified) Language Pack
3. Alibaba Java Code Guidelines——>Alibaba Java Code Guidelines
4. Let your brackets become a different color to prevent confusion brackets——>Rainbow Bracket
Five, the brackets start and end highlight -> HighlightBracketPair
Sixth, the thumbnail on the right -> CodeGlance
Seven, IDEA theme plug-in (there are many nice themes) ——>Material Theme UI
8. Change IDEA background——>Background Image Plus +
Only some commonly used shortcut keys are introduced above. If you want to view other shortcut keys, you can check in (Setting--KeyMap )
To be a qualified Java programmer or engineering lion, you must be familiar with your IDE, various settings + plug-ins + shortcut keys. Only in this way can there be rapid development efficiency! Don't talk nonsense, get dry goods
Commonly required settings
The following operations need to enter the settings: File--Settings
1. Add the annotation information of the class header document——>(Settings--Editor--File and Code Templates)
2. Set the default font, font size, line spacing -> (Settings--Editor--Font)
3. Change the font size at any time [Ctrl+roller]——>(Settings--Editor--General)
Four, the mouse is hovering over the code and there is a hint -> (Settings--Editor--Genreal)
Five, automatically guide the package and optimize the redundant package -> (Settings--Editor--Genreal--Auto Import)
Six, more than the number of classes under the same package are merged into "*"——>(Settings--Editor--Code Style--Java)
Seven, display the line number, add a dividing line between methods——>(Settings--Editor--Genreal--Appearance)
8. Ignore case and prompt [ Uncheck ]——>(Settings--Editor--Genreal--Code Completion)
Nine, multiple classes are not hidden, multi-line display (uncheck line) -> (Settings--Editor--Genreal--Editor Tabs)
X. Modify the color of the comment -> (Settings--Editor--Color Scheme--Language Defaults)
11. Set the project file encoding format -> (Settings--Editor--File Encodings)
Twelve, automatic compilation -> (Settings--Build..--Compiler)
Thirteen, generate serialized version number -> (Settings--Editor--Insperctions)
14. Import the jar package——>(File--Project Structure--Libraries--+)
Essential plug-ins
Steps to install plugins: FIle--Settings--Plugins--"Search"--Install--Apply--OK
1. Official Chinese (Simplified) Plug-in——>Chinese (Simplified) Language Pack
2. Code Smart Tips——>Codota
3. Alibaba Java Code Guidelines——>Alibaba Java Code Guidelines
4. Let your brackets become a different color to prevent confusion brackets——>Rainbow Bracket
Five, the brackets start and end highlight -> HighlightBracketPair
Sixth, the thumbnail on the right -> CodeGlance
Seven, IDEA theme plug-in (there are many nice themes) ——>Material Theme UI
8. Change IDEA background——>Background Image Plus +
Commonly used shortcut keys
Quickly create main method | psvm |
Print one line | salt |
Copy a line | Ctrl+D |
Delete a line | Ctrl+Y |
Quick search class | Ctrl+D |
Selected code | Ctrl+W |
Reduce selected code | Ctrl+Shift+W |
Single-line comment or multi-line comment | Ctrl+/或Ctrl+Shift+/ |
Move the code line up/down | Ctrl+Shift+Up/Down |
Open Settings | Ctrl+alt+S |
Jump up and down between methods | alt+up/down |
Generate code (constructor+Getter+Setter, etc.) | alt+Insert |
Universal shortcut | alt + Enter |
Show code structure | alt+7 |
Show navigation bar | alt+1 |
Fast line break | shift+Enter |
Rename variables, methods, and classes | shift+F6 |
Global search | Shift twice |
indentation | tab |
Unindent | shift+tab |
Only some commonly used shortcut keys are introduced above. If you want to view other shortcut keys, you can check in (Setting--KeyMap)
If this blog is helpful to you, please remember to leave a message + like + favorite . The original is not easy, please contact the author for reprinting!