当前位置:网站首页>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 .
边栏推荐
猜你喜欢

How to use Hyper-V in win10 Home Edition

Experimental flags: --disable_ admission_ control=false --enable_ rm=false --llama_ callback_ port=28000

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

LTS(Light-Task-Scheduler)

你了解MySQL都包含哪些“零件“吗?

二叉树知识总结

“蔚来杯“2022牛客暑期多校训练营1补题记录(ACDGIJ)

C # use log4net plug-in to output logs to files

Log rotation logrotate

基于C51实现led流水灯
随机推荐
MySQL intent lock
MySQL optimized index and index invalidation
MySQL isolation level transactions
The method of raspberry pie connecting tmall elf speaker to play music through Bluetooth
Command line artifact for operating database: mycli
Delete ^m from VIM
MySQL table read lock
问题:Can‘t download sh shellcheck. Please install it manually及shell脚本的一些命令使用
强网杯2021 pwn 赛题解析——baby_diary
20220725 convolution in automatic control principle
III Actual combat - current time representation and world standard time format
How strong is the working ability of a project manager with a monthly salary of 50000?
QT listens for socket events and uses qsocketnotifier class
Do you know what "parts" MySQL contains?
buuReserve(4)
Getting started with kernel PWN (5)
微信小程序 - 从入门到入土
【硬十宝典】——7.1【动态RAM】DDR硬件设计要点
[graduation season _ advanced technology Er] farewell to yourself who has been confused for the past two years. Regroup, junior I'm coming
How to open an account online for Guohai Securities? Is it safe to open an account