当前位置:网站首页>Summary of common shortcut keys in idea

Summary of common shortcut keys in idea

2022-07-28 01:26:00 SSS4362

idea Summary of commonly used shortcut keys

1 establish (Alt+Insert)

1.1 grammar

Alt+insert;

1.2 Range

The content created can be a file , It can also be a construction method 、get/Set Method 、toString() Method

.equals Method

1.3 establish java class Screenshot of file example

 Insert picture description here

 Insert picture description here

1.4 Create a screenshot of the construction method example

 Insert picture description here

 Insert picture description here

2 Run the project

2.1 Initial operation

2.1.1 Shortcut key content

Ctrl+Shift+F10

2.1.2 Conditions of entry into force

stay main Only in the file where the method is located

2.1.3 Sample code screenshot

 Insert picture description here

2.2 Non initial operation ( Run the last run project )

2.2.1 Shortcut key content

Shift+F10

2.2.2 Conditions of entry into force

By default, it will run the last file you ran

2.2.3 Sample code screenshot

 Insert picture description here

3. Delete current row

3.1 usage

Delete current row : Which line is the mouse on , Then press Ctrl+F The line will be deleted

3.2 Keyboard keys display

 Insert picture description here

4 Copy the current row

4.1 usage

Ctrl+d, Copy the current line

5 Project panel

5.1 an / Close the project panel

5.1.1 usage

Alt+1

5.1.2 Expand the rendering of the project panel

 Insert picture description here

5.1.3 Close the rendering of the project panel

 Insert picture description here

5.2 an / Close the operation panel

5.2.1 usage

Alt+4

5.2.2 Expand the rendering of the operation panel

 Insert picture description here

5.2.3 Close the rendering of the operation panel

 Insert picture description here

6. Directory structure

6.1 Close the directory structure

6.1.1 Shortcut key content ( left arrow )

 Insert picture description here

6.1.2 Show the effect

Press the left arrow before

 Insert picture description here

Press the left arrow

 Insert picture description here

6.2 Expand the directory structure

6.2.1 Shortcut key content ( Right arrow )

 Insert picture description here

6.2.2 Show the effect

Before pressing the right arrow

 Insert picture description here

After pressing the right arrow

 Insert picture description here

7. Open the path where the current file is located

7.1 Put the mouse into any line of the file

 Insert picture description here

7.2 Right click –>Open–>File Path

 Insert picture description here

7.3 Select the current file , Then double click it

 Insert picture description here

7.4 Screenshot of final effect

 Insert picture description here

8 Rewriting methods (Override)

8.1 Shortcut key content

Ctrl+o

8.2 Show the renderings

 Insert picture description here

9. change Project Of project operation JDK

9.1 find File—>Project Structure, And double-click it

 Insert picture description here

9.2 hold JDK Version from 13 Change to 1.8, And then click Ok Button

 Insert picture description here

9.3 Effect drawing before operation

 Insert picture description here

9.4 Effect picture after operation

 Insert picture description here

原网站

版权声明
本文为[SSS4362]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/209/202207272317253161.html