快捷键偏好设置
-
查找(Keymap -> Main Menu -> Edit -> Find -> Find…) :Ctrl + F 【速记:find】
-
复制上一行到下一行(Keymap -> Edit Actions -> Duplicate Entire Lines) : Ctrl + 向下箭头
-
移动代码到上一行(Keymap -> Main Menu -> Code -> Move Statement Up) : Alt + 向上箭头
-
移动代码到下一行(Keymap -> Main Menu -> Code -> Move Statement Down) : Alt + 向下箭头
-
删除一行(Keymap -> Editor Actions -> Delete Line) : Ctrl + D 【速记:delete】
-
调出代码提示(Keymap -> Main Menu -> Code -> Completion -> Basic) : Alt + /
-
自动补全返回变量(Keymap -> Main Menu -> Refactor -> Extract -> Variable…) : Alt + Enter
-
显示代码在哪里被使用(Keymap -> Main Menu -> Edit -> Find -> Find Usages) : Ctrl + U 【速记:Usage】
-
代码格式化(Keymap -> Main Menu -> Code