A complete list of commonly used shortcut keys in IDEA (latest)

I. Introduction

IDEA provides many shortcut keys. Click File --> Settings --> keymap to enter and see the shortcut keys provided by IDEA. We can also search and customize all shortcut keys. The following are the default shortcut keys in IDEA; the
Insert image description here
default idea uses windows mode.

2. Commonly used shortcut keys

快捷键	说明
Alt+/	代码提示
Ctrl+X	剪切
Ctrl+C	复制
Ctrl+V	粘贴
Ctrl+D	复制行
Ctrl+/	注释当前行
Ctrl + Shift + /	添加块注释
Ctrl+F	在当前文件或当前界面查找
Ctrl+Shift+F	全局搜索
Ctrl+Shift+C	复制文件路径
Ctrl+Y	删除行
Ctrl+Shift+U	大小写转换
Alt + Shift + Insert	切换列选择模式
Ctrl+Shift+UP	向上移动代码
Ctrl+Shift+Down	向下移动代码
Ctrl+N	查找类,包含java,class以及jar包内的类
Ctrl + Shift +N	查找文件,常用语查找页面等
双击Shift	查找所有
Ctrl + F12	打开文件结构
选中类 Ctrl+Alt+Shift+U	查看类的继承关系图(新开窗口显示)
Ctrl+Alt+U	查看类的继承关系图(弹出窗口显示)
Ctrl+Alt+V	自动补全变量名及类型
Ctrl+H	查看类的继承结构

3. Find and modify shortcut keys

3.1 Query based on shortcut key name

Insert image description here

3.2 Query based on shortcut keys

Click the search next to it and the find shortcut search box will pop up. Press the corresponding shortcut key on the keyboard and it will automatically fill in the search bar, and then the corresponding shortcut item will be queried.

Insert image description here

3.3 Modify shortcut keys

1. First check whether the shortcut key to be used is already occupied. If it is already occupied, first remove or modify the previously occupied shortcut key, and then modify the shortcut key.

2. The modification method is as follows: right-click the shortcut item you want to modify, first remove the corresponding shortcut key, then click add Keyboard Shortcut, press the shortcut key you want to modify in the pop-up box and save it.

Guess you like

Origin blog.csdn.net/lcy1619260/article/details/132596581