美文网首页程序员
IDEA常用快捷键及设置项整理

IDEA常用快捷键及设置项整理

作者: 疏花 | 来源:发表于2018-09-11 16:05 被阅读15次

快捷键

编辑

快捷键 描述
Ctrl+Alt+Shift+J 选中所有相同单词
Ctrl+Shift+U 切换单词大小写
Ctrl+Enter 在下方添加空行(光标不移动到新行)
Ctrl+Shift+Enter 在下方添加新行(光标移动到新行)
Ctrl+Alt+Enter 在上方添加新行
Ctrl+Backspace 删除至单词开头
Ctrl+Delete 删除至单词结尾
Ctrl+[ 跳到括号开头
Ctrl+[ 跳到括号结尾
Ctrl+Shift+[ 选择至语句块开头
Ctrl+Shift+] 选择至语句块结尾
Ctrl+J 插入实时代码模板
Ctrl+Alt+J 以实时代码模板环绕

导航

快捷键 描述
Ctrl+H 类型层次(查看子/父类层级)
Ctrl+P 查看参数信息(在方法调用中)
Ctrl+O 重写方法
Ctrl+Shift+Backspace 跳到上次编辑处
Ctrl+Shift+V 从最近剪切板选择粘贴
Ctrl+~ 快速切换外观、颜色、快捷键等
Ctrl+Tab 快速切换标签

设置项

颜色

  1. 编辑器背景颜色设置:
    File | Settings | Editor | Color Scheme | General | Text | Default text
  2. 编辑器侧边颜色设置(显示行号的地方):
    File | Settings | Editor | Color Scheme | General | Editor | Gutter background

相关文章

网友评论

    本文标题:IDEA常用快捷键及设置项整理

    本文链接:https://www.haomeiwen.com/subject/tblugftx.html