-
Ctrl+N (Navigate | Class) 打开输入框输入要查找的类名
-
Ctrl+空格 代码自动补全
-
Ctrl+空格(按两次)对于没有导入的类自动完成导入代码并自动补全
-
Alt+F7 查找方法变量在工程中的所有应用
-
Ctrl+Q (View | Quick Documentation). 快速查看文档
-
Ctrl+B. You can also click the mouse on usages with the Ctrl key pressed to jump 跳转到函数的定义出
-
Ctrl+F12 (Navigate | File Structure). 显示该文件的所有方法和变量
-
Shift+F6 (Refactor | Rename) 重命令变量或函数名
-
you can accept the currently highlighted selection in the popup list with Tab key.
-
The Esc key in any tool window moves the focus to the editor.
-
Shift+Esc moves the focus to the editor and also hides the current (or last active) tool window.
The F12 key moves the focus from the editor to the last focused tool window.
-
Ctrl+W (select word) 或者双击
-
Ctrl+Alt+V (Refactor | Extract | Variable). 可以把一句话拆成两句,多一个变量是后面一句简洁点比如print a+b ==> c = a + b print c
-
Ctrl+D 复制一行或一个代码块
-
Ctrl+Shift+向上箭头 or Ctrl+Shift+向下箭头. 移动选中的代码块,如果没有选中,则移动鼠标哪一行
-
Ctrl+Shift+J shortcut joins two lines into one and removes unnecessary spaces to match your code style.
-
If the cursor is between the parentheses of a method call, pressing Ctrl+P brings up a list of valid parameters.
-
Ctrl+Shift+Backspace (Navigate | Last Edit Location) 回到以前代码更改的地方
-
通过Appearance->show method separators(打开Settings菜单可以通过toolbar里面的settings图标,如果图标没有显示可以通过View-ToolBar显示工具栏)
-
Alt+向上箭头来在方法中进行快速移动
-
Use the Ctrl+Shift+V shortcut to choose and insert recent clipboard contents into the text.
-
Ctrl+O You can easily override the methods of the base class by pressing
-
To open any particular method or field in the editor quickly, press Ctrl+Alt+Shift+N (Navigate | Symbol) and start typing its name.
Choose symbol from the drop-down list that appears.
-
Use Alt+Shift+C to quickly review your recent changes to the project. 快速浏览更改的地方
-
ctrl + y 删除yihang
-
ctrl + d 复制一行
转载于:https://www.cnblogs.com/ChenAlong/p/4796338.html