IntelliJ IDEA is a java programming language integrated development environment, there are many users prefer to use IDEA related development, IDEA very convenient to use, this blog is to introduce IDEA shortcuts (Keymap) set up and use.
IntelliJ IDEA shortcut key (keymap) Set
Set shortcuts shortcuts
Set the shortcut to the shortcut keys for Eclipse (according to personal preferences)
Modify the shortcut keys shortcut key function (negligible)
By specifying shortcut keys, view or modify its function (negligible)
Eclipse shortcuts to frequently used
1 | Execute (run) | alt + r |
2 | Single-line comments | ctrl + / |
3 | Copy the code | ctrl + c |
4 | Multi-line comments | ctrl + shift + / |
5 | Prompt completion (Class Name Completion) | alt+/ |
6 | Undo | ctrl + z |
7 | Anti revoked | ctrl + y |
8 | Shear | ctrl + x |
9 | Stick | ctrl + v |
10 | Storage | ctrl + s |
11 | select all | ctrl + a |
12 | Find / Replace (current) | ctrl+f |
13 | Find (Global) | ctrl+h |
14 | Execute (run) | alt + r |
15 | Find Files | Double-click Shift |
16 | Copy down the line (Duplicate Lines) | ctrl+alt+down |
17 | Delete a row or selected rows (delete line) | ctrl+d |
18 | Downward movement of the line (move statement down) | alt + down |
19 | Upward movement line (move statement up) | alt + up |
20 | Down to start a new line (start new line) | shift+enter |
21 | Up to start a new line (Start New Line before current) | ctrl+shift+enter |
22 | View source (class) | ctrl + selected or assigned structure ctrl + shift + t |
23 | Return to the previous page editor (back) | alt + left |
24 | Proceed to the next edit page (for on the strip) (forward) | alt + right |
25 | Solutions Universal wrong / generates a return value of the variable | alt + ente |
26 | 查看继承关系(type hierarchy) | F4 |
27 | 格式化代码(reformat code) | ctrl+shift+F |
28 | 提示方法参数类型(Parameter Info) | ctrl+alt+/ |
29 | 选中数行,整体往后移动 | tab |
30 | 选中数行,整体往前移动 | shift + tab |
31 | 查看类的结构:类似于 eclipse 的 的 outline | ctrl+o |
29 | 重构:修改变量名与方法名(rename) | alt+shift+r |
32 | 大写转小写/ 小写转大写(toggle case) | ctrl+shift+y |
33 | 生成构造器/get/set/toString | alt +shift + s |
34 | 查看文档说明(quick documentation) | F2 |
35 | 收起所有的方法(collapse all) | alt + shift + c |
36 | 打开所有方法(expand all) | alt+shift+x |
37 | 打开代码所在硬盘文件夹(show in explorer) | ctrl+shift+x |
38 | 生成 try-catch 等(surround with) | alt+shift+z |
39 | 局部变量抽取为成员变量(introduce field) | alt+shift+f |
40 | 查看类的继承结构图(Show UML Diagram) | ctrl + shift + u |
41 | 查看方法的多层重写结构(method hierarchy) | ctrl+alt+h |
42 | 添加到收藏(add to favorites) | ctrl+alt+f |
43 | 抽取方法(Extract Method) | alt+shift+m |
44 | 打开最近修改的文件(Recently Files) | ctrl+E |
45 | 关闭当前打开的代码栏(close) | ctrl + w |
46 | 关闭打开的所有代码栏(close all) | ctrl + shift + w |
47 | 快速搜索类中的错误(next highlighted error) | ctrl + shift + q |
48 | 选择要粘贴的内容(Show in Explorer) | ctrl+shift+v |
49 | Where to find methods is called (Call Hierarchy) | ctrl+shift+h |
This blog and CSDN blog (ཌ ་.Asio Jun ་. ད) simultaneous release