Display toolbar
(1) Effect drawing
(2) Setting method
- Annotation 1: View — >Toolbar
- Annotation 2: View – >Tool Buttons
Set mouse hover prompt
(1) Effect drawing
(2) Setting method File – > Settings – >Editor – >General – > check Show Quick documentation…
Displays method delimiters
(1) Effect drawing
(2) Setting method
The File – > Settings – > Editor – > Appearance – > check
Ignore case hints
Note: The default setting of IDEA is strictly case-sensitive. For example, if you enter string, it will not prompt string, which is inconvenient for coding
(2) Setting method File –> Settings –> Editor –> General –>Code Completion –>
Theme Settings
Note: there are two styles of black and white!
(2) Setting method File — > Settings — >Appearance & Behavior — >Appearance — >
Eye protection theme Settings
(1) Effect drawing
(2) Setting method If you want to edit the page to change the theme, you can go to Settings to adjust the background color
If you need a nice coding style, there are many themes color-themes.com/?view=index… Click the theme, scroll down and click the button
There are many Jar packages downloaded
Select import JAR package in the above location, then restart IDEA to take effect, after restart to set
Automatic package import
(1) rendering note: the default is to manually import packages, such as we need to import the Map class, you will need to manually import, if you don’t need to use, remove the Map instance, import the bag also need to manually delete, set up the function that don’t need to manually, automatically help you to realize automatic import packages and package, inconvenient screenshots, please kiss ~ measurement results
(2) Setting method File – > Settings – >Editor – > General – >Auto Import – >
Display multiple Tabs in a single line
(1) The default effect is to display a single row of Tabs:
Display multiple Tabs in a single line:
(2) Setting method File -> Settings ->Editor -> General ->Editor Tabs -> Remove √
Set the font
Note: The font of Idea is very small for default installation and startup. I am not used to it. It is necessary to adjust the font size and font (it can be adjusted if necessary).
(2) Setting method File — > Settings — >Editor — >Font — >
Configuration class documents comment information and method comment templates
Note: Team development is convenient for accountability and management
(2) Setting methodBlog.csdn.net/zeal9s/arti…
Display code horizontally or vertically
Note: Eclipse to compare code, just drag Tabs, but IDEA needs to be set
(2) Setting Method Right-click Tabs
Replacement shortcut key
Note: From Eclipse to IDEA coding, many shortcut keys are inconsistent, resulting in lower writing efficiency, now let’s replace the shortcut keys
(2) Setting method
Method one:
The File – > Setting – >
CTRL + D to delete a single line of code (idea is CTRL + Y)
Method 2: Set template File – >Setting – >
Method 3:
Take the CTRL + O override method as an example
Remove italics from comments
(1) Effect drawing
(2) Setting method File – > Settings – >Editor – >
Code detection warning prompt level Settings
Strongly recommended, do not give off, do not dislike the trouble, his tips are good for you, to help you improve the quality of your code, very helpful.
Project directory dependent – Collapses empty packages
The window is reset
This is when you suddenly make a mess in the window, can be reversed, is a direct restore, it is good.
View local code history
Quick completion of semicolons
CTRL + SHIFT + ENTER quickly generates a semicolon at the end of the current line anywhere
Quickly find the Controller method
If you have a lot of controllers in your project, there are a lot of HTTP or resful methods in there. How do you quickly find these methods? This is where CTRL + Alt + Shift + N comes in handy.
For example, if you vaguely remember that the billing interface has a bill URL, press CTRL + Alt + Shift + N and type /bill.
This can be a huge productivity boost when you’re trying to find your way through thousands of controllers.
Curly bracket matching
This is also very useful because the code is so long that a for loop might fill the entire screen. At this point, it’s hard to find the other side of a brace. You can place the cursor next to a brace and press CTRL +] or CTRL +[to move the cursor back and forth. Note: The above configuration information is saved on the system disk
These two files are available by default
Config: During the initial installation of IntelliJ IDEA, you are asked whether to import the existing configuration information. This config is your configuration information, which is convenient for re-installation when replacing the computer and system. The premise is to save this folder.
System: This folder is IntelliJ IDEA in case of unexpected errors, such as blue screen sudden power failure leading to project startup, you can try to delete this file and let the system to generate a system file again.