How to use IntelliJ idea quickly

Time:2021-5-12

Note that all of the following actions indicate the location of the menu items, and you should assign shortcut keys to these menu items (except for the Efficiency Guide).

1、 See the efficiency guide

How to use IntelliJ idea quickly

The efficiency guide lists all the ways to improve your development efficiency.

2、 View recently opened files

You can see which files you have recently opened, and click them to reopen them.

How to use IntelliJ idea quickly

How to use IntelliJ idea quickly

3、 Open the source code according to the class name

There are three menu items under the navigation menu, which can quickly open the source code.

How to use IntelliJ idea quickly

How to use IntelliJ idea quickly

4、 Quickly return to the previous edit position

Sometimes you just close a file and want to re open it for editing, you just need to go back to the previous location.

How to use IntelliJ idea quickly

5、 Quickly open the folder in Explorer (“my computer”)

How to use IntelliJ idea quickly

Click “file path” to see the full path of the current file. Click to open it in the resource manager.

6、 Quickly define variables

Select an expression and select refactor – Extract – variable from the menu to extract the expression as a variable. Similarly, you can also extract as members, parameters, constants, etc.

How to use IntelliJ idea quickly

7、 Quick operation code block

The menu code – surround with allows you to easily wrap code blocks with try catch, for, if, etc.

How to use IntelliJ idea quickly

8、 Quickly optimize statements

IntelliJ can help you optimize sentences quickly. In the following example, IntelliJ detects that the user is copying the array through a loop, so it is recommended that the user use a simpler methodSystem.arraycopy()method.

How to use IntelliJ idea quickly