①书签(Book marks)
添加/移除书签 F11
显示全部书签 Ctrl + F11
②折叠/展开代码块(Collapse Expand Code Block)
Ctrl + shift + "+"/"-"
可以在Setting→Editor→General→Code Folding中设置折叠规则
③与剪切板对比(Compare with clipboard)
右键选中的内容,在右键菜单中选择Compare with cilpboard
④与分支对比(compare with branch(git))
Menv→vcs→git→compare with branch
⑤查找操作(find action)
Ctrl + shift +A
⑥隐藏所有面板(Hide all panels)
调用:Menu→window→active tool window→ hide all panels
快捷键:Ctrl + shift + F12
⑦上一个编辑位置(last edit location)
Ctrl + shift + backspace
⑧最近修改的文件(Recently changed files)
Ctrl + shift +E
⑨版本控制操作弹窗
Alt + `
⑩列选择/块选择(column selection)
shift + Alt + Inset
⑪删除行(delete line)
Ctrl + Y
⑫行复制(duplicate line)
⑬提取方法(extract method)
Ctrl + Alt + M
⑭提取参数(extract parameter)
Ctrl + Alt + P
⑮提取变量(extract variable)
Ctrl + Alt + V
⑯合并行和文本(join lines and literals)
描述:该操作遵守格式化规则的同时:
合并两行注释,同时移除多余的//
合并多行字符串,移除+和双引号
合并字段的声明和初始化赋值
Ctrl + shift + J
⑰上下行移动(move line up down)
Alt + shift + up/down
⑱移动方法(move methods)
Ctrl + shift+ UP/down
⑲重命名(rename)
shift + F6
⑳添加注释
Alt +M
摘录自:https://blog.csdn.net/huningjun/article/details/52450465