当前位置:网站首页>Common programming shortcut keys of idea (take off after learning the operation)
Common programming shortcut keys of idea (take off after learning the operation)
2022-07-26 07:00:00 【A cat with wings】
IDEA Common programming shortcuts
Learning goals
Preface
IDEA Basically all functions can be accomplished through shortcut keys , If you have everything IDEA Using shortcut keys for , It will greatly improve your development efficiency , Let you be called the super. Achieve twice the result with half the effort .
Novice must master
| Shortcut name | Shortcut key introduction |
|---|---|
| Ctrl+D | Copy line |
| Ctrl+O | Rewriting methods |
| Ctrl+X | Delete row |
| Alt+Insert | Quickly generate constructors /Getter/Setter etc. |
| Ctrl+N | Quick open class |
| Ctrl+F | Find the text |
| Ctrl+I | Implementation method |
| Ctrl+Y | Delete current row |
| Ctrl+Enter | Insert a line |
| Ctrl+X | Delete row |
| F2 | Jump to the next highlight error or Warning location |
| Alt + F8 | stay Debug Under the state of , Selected objects , The debug box for inputting calculation expression will pop up , View the debugging results of this input |
| Ctrl + Alt + O | Optimize imported classes , You can use... For the current file and the entire package directory |
| Ctrl + Alt + I | Cursor in line or Select parts for automatic code indentation , It's sort of like formatting |
| Ctrl + Alt + V | Quickly introduce variables ( Automatic completion method ) |
| Ctrl + Shift + R | Replace the corresponding content according to the input content , The scope is the whole project or Specify the files in the directory |
Ctrl Shortcut key :
| Shortcut name | Shortcut key introduction |
|---|---|
| Ctrl + F | Current file text search |
| Ctrl + R | Replace the current file text |
| Ctrl + Z | revoke |
| Ctrl + Y | Delete the cursor line |
| Ctrl + X | Cut the cursor line |
| Ctrl + C | Copy cursor line |
| Ctrl + D | Copy cursor line |
| Ctrl + E | Show a list of recently opened file records |
| Ctrl + N | Find the class file according to the entered class name |
| Ctrl + G | Jump to the specified line in the current file |
| Ctrl + J | Insert a custom dynamic code template |
| Ctrl + P | Method parameter prompt display |
| Ctrl + Q | The variable where the cursor is / Class name / Method name, etc ( You can also press ), Show document content |
| Ctrl + U | Go to the method of the parent class of the current cursor / Interface definition |
| Ctrl + B | Enter the method where the cursor is / Variable interface or define , Equivalent to Ctrl + Left click |
| Ctrl + H | Show the hierarchy of the current class |
| Ctrl + / | Comment the line code where the cursor is , Different annotation symbols will be used according to different file types |
| Ctrl + [ | Move the cursor to the beginning of the curly bracket in the current code |
| Ctrl + ] | Move the cursor to the end of the curly bracket in the current code |
| Ctrl + F1 | The error code is displayed in the error code |
| Ctrl + F3 | Go to the next reference position of the selected word |
| Ctrl + Space | Basic code completion , Default in Windows The system is occupied by the input method , Need to change , It is suggested to amend it to Ctrl + comma ( necessary ) |
Alt Shortcut key :
| Shortcut name | Shortcut key introduction |
|---|---|
| Alt + Q | Pop up a hint , Displays the declaration of the current class / Context information |
| Alt + F1 | Display the current file selection target pop-up layer , There are many targets in the pop-up layer to choose from |
| Alt + F3 | Select the text , Go down one by one to find the same text , And highlight |
| Alt + F7 | How to find the cursor / Variable / Where the class is called |
| Alt + F8( a key ) | stay Debug Under the state of , Selected objects , The debug box for inputting calculation expression will pop up , View the debugging results of this input |
| Alt + Insert | Code auto generation , Such as generating objects set / get Method , Constructors ,toString() etc. |
Shift Shortcut key :
| Shortcut name | Shortcut key introduction |
|---|---|
| Shift + F2 | Jump to the previous highlight error or Warning location |
| Shift + F3 | In search mode , Find a match to the previous one |
| Ctrl+X | Delete row |
| Alt+Insert | Quickly generate constructors /Getter/Setter etc. |
| Ctrl+N | Quick open class |
| Ctrl+F | Find the text |
| Ctrl+I | Implementation method |
| Ctrl+Y | Delete current row |
| Ctrl+Shift+F | Global search |
| Ctrl+Enter | Insert a line |
| Ctrl+X | Delete row |
other
If you encounter other Shortcut key , I will add below , Here are some commonly used , It basically includes .
边栏推荐
- NiO implementation
- 【Star项目】小帽飞机大战(三)
- How does the national standard gb28181 protocol easygbs platform realize device video recording and set streaming IP?
- shell编程
- [QT] how to obtain the number of rows and columns of qtableview and qtablewidget
- 曲线曲率展示
- [database] CTE (common table expression)
- <二> objectARX开发:创建和编辑基本图形对象
- buuReserve(4)
- Realize the full link grayscale based on Apache APIs IX through MSE
猜你喜欢

Huffman coding principle

C#使用log4net插件,输出日志到文件

怎样在win10家庭版中使用Hyper-V

XSS labs (1-10) break through details

buuReserve(4)
![[graduation season _ advanced technology Er] farewell to yourself who has been confused for the past two years. Regroup, junior I'm coming](/img/04/3121514fcd8fcf1c939cbca7f4c67a.jpg)
[graduation season _ advanced technology Er] farewell to yourself who has been confused for the past two years. Regroup, junior I'm coming
![Esxi 7.0 installation supports mellanox technologies mt26448 [connectx en 10gige, PCIe 2.0 5gt/s] driver, and supports the cheapest 10GB dual fiber network card](/img/51/a5282b657b1dfed2dac476c1efee2d.png)
Esxi 7.0 installation supports mellanox technologies mt26448 [connectx en 10gige, PCIe 2.0 5gt/s] driver, and supports the cheapest 10GB dual fiber network card

20220725 compensator in automatic control principle

Drools(4):Drools基础语法(2)

Wechat applet - from entry to penetration
随机推荐
Realize the full link grayscale based on Apache APIs IX through MSE
Rectification ideas for the previous article
Is it safe to invest in treasury bonds in 2022? How do individuals buy treasury bonds?
[749. Isolate virus]
JIT中的IR工具与JITWatch的下载,编译及使用
Manifest merger failed with multiple errors, see logs
III Actual combat - current time representation and world standard time format
问题:Can‘t download sh shellcheck. Please install it manually及shell脚本的一些命令使用
20220725 convolution in automatic control principle
Benefits of the builder model
【QT】详解 *.pro、*.pri、*.prf、*.prl文件
“蔚来杯“2022牛客暑期多校训练营1补题记录(ACDGIJ)
Celery takes up large memory - memory leak
Use and analysis of show profile optimized by MySQL
Heap parsing and heap sorting
Log rotation logrotate
shell编程
常用的cmd指令
"Final review" 16/32-bit microprocessor (8086) basic register
【无标题】转载