Show toolbar
(1) Effect picture
(2) Setting method
- Label 1: view – > toolbar
- Note 2: view – > tool buttons
Set mouse hover prompt
(1) Effect picture
(2) Setting method file – > settings – > editor – > General – > check show quick documentation
Show method separator
(1) Effect picture
(2) Setting method
File – > settings – > editor – > appearance – > check
Ignore case prompts
(1) Note: the default setting of idea is strictly case sensitive. For example, if string is input, string will not be prompted, which is not convenient for encoding
(2) Setting method file – > settings – > editor – > General — > code completion — >
Theme setting
(1) Effect note: there are two styles of black and white!
(2) Setting method file – > settings – > appearance & behavior – > appearance – >
Eye protection theme setting
(1) Effect picture
(2) Setting method if you want to change the theme of the editing page, you can adjust the background color in the settings
If you need a nice coding style, there are a lot of topics herehttp://color-themes.com/?view…Click on the topic, slide down and click the button
There are many jar packages downloaded
Select import jar package in the above location, and then restart idea to take effect. After restart, set it
Auto import package
(1) Note: by default, we need to import the package manually. For example, if we need to import the map class, we need to import it manually. If we don’t need to use it, we delete the map instance, and the imported package also needs to be deleted manually. If this function is set, there is no need to manually import the package and remove the package automatically. It is not convenient to take a screenshot. Please test the effect yourself~
(2) Setting method file – > settings – > editor – > General – > auto import – >
Display multiple tabs on a single line
(1) By default, the effect map displays a single row of tabs:
Display multiple tabs on a single line:
(2) Setting method file – > settings – > editor – > General — > editor tabs – > remove √
Set font
(1) Note: by default, the font of idea is very small, which is not used to it. You need to adjust the font size and font (you can adjust it if necessary)
(2) Setting method file – > settings – > editor – > font – >
Configuration class document annotation information and method annotation template
(1) Notes of effect drawing: it is convenient to investigate responsibility and management during team development
(2) Setting methodhttps://blog.csdn.net/zeal9s/…
Display the code horizontally or vertically
(1) Note: if eclipse needs to compare code, just drag tabs, but idea needs to be set
(2) Set method right click tabs
Change shortcut key
(1) Note: from eclipse to idea coding, many shortcut keys are inconsistent, which leads to the decrease of writing efficiency. Now let’s change the shortcut key
(2) Setting method
Method 1
File–>Setting–>
For example, if it is set to eclipse, you can Ctrl + D to delete a single line of code (idea is Ctrl + y)
Method 2: set the template file – > setting – >
Method 3
Take the method of Ctrl + O as an example
Comment out italics
(1) Effect picture
(2) Setting method file – > settings – > editor – >
Code detection warning level setting
It is strongly recommended that you do not turn it off. Don’t give up trouble. His tips are all good for you and help you improve the quality of your code. It is very helpful.
Project directory related – collapse empty package
Window reset
This is when you suddenly make a mess of the window, you can also restore it, that is, restore it directly.
View local code history
Quick completion semicolon
CTRL + Shift + enter can quickly generate semicolons at the end of the current line anywhere
Quickly find controller method
If you have many controllers in your project, there are many HTTP or restful methods in it. How to find these methods quickly? At this time, Ctrl + Alt + Shift + n can be used.
For example, you vaguely remember that there is a URL path to bill for all interfaces related to the bill. After using Ctrl + Alt + Shift + N, you can directly enter / bill.
When you look for methods in thousands of controllers, this can greatly improve efficiency.
Brace matching
This is also very useful, because the code is too long, and a for loop may have filled the whole screen. At this point, it’s hard to find the other side of a brace. You can position the cursor to one side of a brace and use Ctrl +] or Ctrl + [to navigate back and forth. All of the above are stored in the system configuration
These two files are available by default
Config: when initializing the installation of IntelliJ idea, you are asked if you want to import the existing configuration information. This config is your configuration information, which is convenient for re installation when changing computers and systems. The prerequisite is to save this folder.
System: this folder is an unpredictable error in IntelliJ idea. For example, if the blue screen power failure causes the project to fail to start, you can try to delete this file and let the system regenerate a system file.
Write it at the end
Welcome to my official account.The wind and waves are as calm as a yard】, massive Java related articles and learning materials will be updated in it, and the collated materials will also be put in it.
I think it’s good to write a good one! Pay attention, don’t get lost, keep updating!!!