Summary of IDEA's commonly used shortcut keys

Development tool idea from entry to love

Devtools hot deployment tool

Basic settings commonly used when opening a new project

Insert picture description here

The configuration of global variables:
1: Basic settings
Font size
Insert picture description here
Insert picture description here

Zoom out according to the mouse
Insert picture description here

Set font encoding
Insert picture description here

Insert picture description here

For this project:
JDK setting
1: Editing area setting
Insert picture description here
Insert picture description here
Insert picture description here

Association switching list (the role of the positioning menu)
Insert picture description here

Automatically guide packages and automatically remove unwanted jar packages
Insert picture description here

Set line number
Insert picture description here

Switch control bar position
Insert picture description here

Modify the number of open java files
Insert picture description here

When the code is long, it automatically wraps in real time

Insert picture description here

Two: Efficient code editing skills
Copy and copy history
Efficient copy, directly place the cursor on the specified line you want to copy, you don’t need to select it, and then
ctrl+c can copy the specified line
Insert picture description here

Copy history content ctrl+shift+v You can select any line of code that has been copied
Insert picture description here

Remove the 1 2 3 4 that comes with the code copied online

Insert picture description here
Insert picture description here

Versions after 1902:
Insert picture description here

Format code (partial format is recommended)
Insert picture description here

Quick delete
Insert picture description here

Quick copy (copy multiple rows to select all multiple rows)
Insert picture description here

Fast line break
Insert picture description here

Quickly wrap multiple lines

Insert picture description here

Jump anywhere on any line to the first or end of the line
Insert picture description here

Insert picture description here

Jump by word

Quick selection

Insert picture description here

Quickly jump to the specified line
Insert picture description here

Switch when there are many java classes
Insert picture description here

View the history of browsed files, the latest is at the top

Insert picture description here

Quickly open a folder of a certain category

Insert picture description here

Quick find and replace
Insert picture description here

Global search
Insert picture description here
Insert picture description here

Find files globally

Insert picture description here

If checked, it will include third-party files. If not checked, there are only classes created by yourself.
Insert picture description here

Find any file you want
Insert picture description here

Omnipotent search
Insert picture description here

Version 201902 has integrated
ctrl+shift+N
Insert picture description here

The universal alt+Enter will
prompt you to solve the problem when you encounter a red error
Insert picture description here

Guide package
Insert picture description here

2: Press when you see the wavy line warning (for example, it prompts that this is not quoted)
Insert picture description here

3: Press without warning or error (as follows: if not used, you can prompt for optimization)

Insert picture description here
Insert picture description here

Keyboard and mouse coordination
Vertical selection
Insert picture description here

Shortcut key to return to a certain method (that is, return to the method of ctrl+mouse entry)
Insert picture description here

Run and debug
Add startup parameters to switch between local library and test interface

Insert picture description here

Insert picture description here
Insert picture description here

Insert picture description here

Insert picture description here

Automatic compilation

Trial adjustment project
Specify the number of cycles
Insert picture description here

Advanced Advanced
Quickly generate get and set methods, it is recommended to use plug-ins (lomba)

Insert picture description here
Insert picture description here

Generate construction method

Insert picture description here

Insert picture description here

Guess you like

Origin blog.csdn.net/m0_49056832/article/details/108872679