当前位置:网站首页>Idea shortcut keys
Idea shortcut keys
2022-07-07 10:53:00 【aabond】
One 、IDEA Common shortcut key
It can be done by IDEA menu bar Help -> Keymap Reference see
Two 、 View shortcut key functions and modifications
3、 ... and 、 Common shortcut key
Here are the shortcuts I will use in my work and study
notes : The following shortcut keys are followed by * Indicates that it is very common
3.1 ALT
Shortcut key | meaning |
---|---|
ALT + 7 | Display the current class structure |
ALT + Delete | Safe deletion |
ALT + Enter* | Display the list of intelligent operations |
ALT + F1 | Select the current class to display it in multiple views |
ALT + F7 | view classes / Method / attribute / Usage of parameters |
ALT + Insert* | Generate get/set/toString Etc |
ALT + Q | Display context information , Class name information is displayed in the class file |
3.2 ALT + SHIFT
Shortcut key | meaning |
---|---|
ALT + SHIFT + ↑* | Move the selected code up |
ALT + SHIFT + ↓* | Move the selected code down |
ALT + SHIFT + F | Add to Favorites |
3.3 CTRL
Shortcut key | meaning |
---|---|
CTRL + A* | Future generations |
CTRL + B / CTRL + LEFT* | Jump to class / Method / Attribute definitions |
CTRL + C* | Copy |
CTRL + D | Copy the current row or selected block |
CTRL + E* | Show a list of recently opened files |
CTRL + F* | Find the current page |
CTRL + G | The current page jumps to a certain line |
CTRL + H | Display the current cursor selection class inheritance relationship |
CTRL + I | Methods that implement parent classes or interfaces |
CTRL + J | Select code template insert |
CTRL + K | Submit git |
CTRL + L | After search , Find the next one |
CTRL + M | Scroll to the center of the page on the line of the current mouse |
CTRL + N* | Find the class |
CTRL + O* | Select the method in the parent class or interface to implement ( Than Ctrl + I More , This contains ancestor classes ) |
CTRL + P | Display the parameter information of the method |
CTRL + Q | Document information of the display method |
CTRL + R | Replace the current page |
CTRL + S | preservation |
CTRL + T | git Update project |
CTRL + U | Jump to the parent class or interface of the current class |
CTRL + V* | Paste |
CTRL + W | Expand mouse selection |
CTRL + X* | shear |
CTRL + Y | Delete row |
CTRL + Z* | revoke |
CTRL + BackSpace | Delete the cursor to select the front part of the word |
CTRL + Delete | Delete the cursor to select the part after the word |
CTRL + End | Jump to the end of the file |
CTRL + Enter | Split line , Move the back part of the cursor down to a line |
CTRL + F1 | Display specific information about the error or warning |
CTRL + F2 | Stopped program |
CTRL + F4 | Close the current edit file |
CTRL + F6 | Modify method signature |
CTRL + F7 | Where the cursor is 、 attribute 、 Parameters , Jump from the current file declaration location to the use location |
CTRL + F8 | Breaking point |
CTRL + F9 | compile |
CTRL + F11 | Use bookmark function , Mark the line of code where the cursor is located as a bookmark |
CTRL + F12 | List all methods and properties in the class |
CTRL + HOME | Jump to the file header |
CTRL + TAB | Jump to the recently opened file |
CTRL + [ | Move the cursor to the { |
CTRL + ] | Move the cursor to the } |
CTRL + /* | Comment on the current line of code , If it has been commented, cancel |
3.4 CTRL + SHIFT
Shortcut key | meaning |
---|---|
CTRL + SHIFT + Enter | by if Add braces to the statement |
CTRL + SHIFT + F* | Powerful search |
CTRL + SHIFT + F7 | Highlight the cursor to select objects using |
CTRL + SHIFT + I | Display method / Definition of attributes |
CTRL + SHIFT + N | Find files |
CTRL + SHIFT + T* | Generate test method |
CTRL + SHIFT + V | From the current buffer Middle stick |
CTRL + SHIFT + /* | Comment on the current code block , If it has been commented, cancel |
3.5 CTRL + ALT
Shortcut key | meaning |
---|---|
CTRL + ALT + C* | Change the attribute to a constant |
CTRL + ALT + I | Indent Cursor in line |
CTRL + ALT + Ins | New file , Class etc. |
CTRL + ALT + L* | formatting code |
CTRL + ALT + O* | Optimize , Remove useless import |
CTRL + ALT + S | Open Settings |
CTRL + ALT + T* | Select a template to generate code |
Four 、 Other
- Cancel automatic import *, stay setting->Editor->Code Style->Java->Imports modify
- Check the submitter and time of each line of code , Right click on the left side of the row , choice Annotate
5、 ... and 、 Reference resources
边栏推荐
- [homework] 2022.7.6 write your own cal function
- IO model review
- CC2530 ZigBee iar8.10.1 environment construction
- 施努卡:机器视觉定位技术 机器视觉定位原理
- Gym installation pit records
- Schnuka: working principle of robot visual grasping machine visual grasping
- [recommendation system 01] rechub
- SQL Server 知识汇集9 : 修改数据
- JS实现链式调用
- 无法打开内核设备“\\.\VMCIDev\VMX”: 操作成功完成。是否在安装 VMware Workstation 后重新引导? 模块“DevicePowerOn”启动失败。 未能启动虚拟机。
猜你喜欢
Elegant controller layer code
China Southern Airlines pa3.1
路由器开发知识汇总
Applet jump to H5, configure business domain name experience tutorial
在线硬核工具
Socket communication principle and Practice
Simple and easy to modify spring frame components
seata 1.3.0 四种模式解决分布式事务(AT、TCC、SAGA、XA)
Opencv installation and environment configuration - vs2017
软考一般什么时候出成绩呢?在线蹬?
随机推荐
BUUCTF---Reverse---reverse1
ThreadLocal is not enough
Cluster task scheduling system lsf/sge/slurm/pbs based on HPC scenario
Multisim -- software related skills
Laya common script commands
一些线上学术报告网站与机器学习视频
优雅的 Controller 层代码
路由器开发知识汇总
【推荐系统 01】Rechub
Using U2 net deep network to realize -- certificate photo generation program
想考中级软考,一般需要多少复习时间?
What is an intermediate network engineer? What is the main test and what is the use?
Galaxy Kirin desktop operating system installation postgresql13 (source code installation)
Summary of router development knowledge
Operation method of Orange Pie orangepi 4 lts development board connecting SATA hard disk through mini PCIe
SQL Server 知识汇集11 : 约束
[machine learning 03] Lagrange multiplier method
Network engineer test questions and answers in May of the first half of 2022
高级软考(网络规划设计师)该如何备考?
seata 1.3.0 四種模式解决分布式事務(AT、TCC、SAGA、XA)