Setting IntelliJ idea in this way is said to be efficient~

Time:2020-11-14

Show toolbar

(1) Effect picture

Setting IntelliJ idea in this way is said to be efficient~

(2) Setting method

  • Label 1: view – > toolbar
  • Note 2: view – > tool buttons

Set mouse hover prompt

(1) Effect picture

Setting IntelliJ idea in this way is said to be efficient~

(2) Setting method file – > settings – > editor – > General – > check show quick documentation

Setting IntelliJ idea in this way is said to be efficient~

Show method separator

(1) Effect picture

Setting IntelliJ idea in this way is said to be efficient~

(2) Setting method

File – > settings – > editor – > appearance – > check

Setting IntelliJ idea in this way is said to be efficient~

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

Setting IntelliJ idea in this way is said to be efficient~

(2) Setting method file – > settings – > editor – > General — > code completion — >

Theme setting

Setting IntelliJ idea in this way is said to be efficient~

(1) Effect note: there are two styles of black and white!

Setting IntelliJ idea in this way is said to be efficient~

Setting IntelliJ idea in this way is said to be efficient~

(2) Setting method file – > settings – > appearance & behavior – > appearance – >

Setting IntelliJ idea in this way is said to be efficient~

Eye protection theme setting

(1) Effect picture

Setting IntelliJ idea in this way is said to be efficient~

(2) Setting method if you want to change the theme of the editing page, you can adjust the background color in the settings

Setting IntelliJ idea in this way is said to be efficient~

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

Setting IntelliJ idea in this way is said to be efficient~

There are many jar packages downloaded

Setting IntelliJ idea in this way is said to be efficient~

Setting IntelliJ idea in this way is said to be efficient~

Select import jar package in the above location, and then restart idea to take effect. After restart, set it

Setting IntelliJ idea in this way is said to be efficient~

Auto import package

Setting IntelliJ idea in this way is said to be efficient~

(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 – >

Setting IntelliJ idea in this way is said to be efficient~

Display multiple tabs on a single line

(1) By default, the effect map displays a single row of tabs:

Setting IntelliJ idea in this way is said to be efficient~

Display multiple tabs on a single line:

Setting IntelliJ idea in this way is said to be efficient~

(2) Setting method file – > settings – > editor – > General — > editor tabs – > remove √

Setting IntelliJ idea in this way is said to be efficient~

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 – >

Setting IntelliJ idea in this way is said to be efficient~

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

Setting IntelliJ idea in this way is said to be efficient~

Setting IntelliJ idea in this way is said to be efficient~

(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

Setting IntelliJ idea in this way is said to be efficient~

(2) Set method right click tabs

Setting IntelliJ idea in this way is said to be efficient~

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–>

Setting IntelliJ idea in this way is said to be efficient~

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 – >

Setting IntelliJ idea in this way is said to be efficient~

Method 3

Setting IntelliJ idea in this way is said to be efficient~

Take the method of Ctrl + O as an example

Setting IntelliJ idea in this way is said to be efficient~

Comment out italics

(1) Effect picture

Setting IntelliJ idea in this way is said to be efficient~

(2) Setting method file – > settings – > editor – >

Setting IntelliJ idea in this way is said to be efficient~

Code detection warning level setting

Setting IntelliJ idea in this way is said to be efficient~

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

Setting IntelliJ idea in this way is said to be efficient~

Window reset

Setting IntelliJ idea in this way is said to be efficient~

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

Setting IntelliJ idea in this way is said to be efficient~

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.

Setting IntelliJ idea in this way is said to be efficient~

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

Setting IntelliJ idea in this way is said to be efficient~

These two files are available by default

Setting IntelliJ idea in this way is said to be efficient~

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!!!