当前位置:网站首页>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 .
边栏推荐
- Agile and tidy way
- MySQL table read lock
- shape 和 size() 区别
- How to realize digital production mode in garment industry
- vulnhub Lampião: 1
- CS5801_ HDMI to EDP advantage replaces lt6711a solution
- 如何删除语句审计日志?
- 【QT】详解 *.pro、*.pri、*.prf、*.prl文件
- C#使用log4net插件,输出日志到文件
- [QT] detailed explanation of *.pro, *.pri, *.prf, *.prl files
猜你喜欢

Vim中删除^M

问题:Can‘t download sh shellcheck. Please install it manually及shell脚本的一些命令使用
![Rust语言- Slice(切片)类型(&[u8])](/img/d1/68c73c8b34b848212083c08df3137f.png)
Rust语言- Slice(切片)类型(&[u8])

Can you learn fast and well with dual stream network? Harbin Institute of Technology & Microsoft proposed a distillation dual encoder model for visual language understanding, which can achieve fast an
![[Star Project] small hat aircraft War (III)](/img/43/af4e923e901c1b2ad32b60c980dcdb.png)
[Star Project] small hat aircraft War (III)

7. Reverse Integer整数反转

XSS labs (1-10) break through details

Kernel pwn 入门 (5)

【数据库】CTE(Common Table Expression(公共表表达式))

Delete ^m from VIM
随机推荐
The creation of "harmonyos" project and the use of virtual machines
Database performance test (MySQL)
FastDFS-支持双IP、IPV6
Drools(3):Drools基础语法(1)
"XXXX" is running, which may cause the system to jam, reduce the standby time, and click Close "
Function of hot air pad
Drools(2):Drools快速入门
问题:Can‘t download sh shellcheck. Please install it manually及shell脚本的一些命令使用
LTS(Light-Task-Scheduler)
从Architecture带你认识JVM
openssl: error while loading shared libraries: libssl.so.1.1
哈夫曼编码原理
树莓派连接天猫精灵音箱通过蓝牙播放音乐的方法
Command line artifact for operating database: mycli
IV Actual combat - global unified return result class
[QT] detailed explanation of *.pro, *.pri, *.prf, *.prl files
IR tool in JIT and download, compile and use of jitwatch
MySQL check whether the table is locked
[Star Project] small hat aircraft War (II)
What to pay attention to when using German chicks for the first time