博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
AS ShortCut
阅读量:5324 次
发布时间:2019-06-14

本文共 2196 字,大约阅读时间需要 7 分钟。

Ctrl+Alt+L reformat Code

Ctrl+shift+/ comment/uncomment lines and blocks(/**/)
Ctr+/ comment/uncoment current line or blocks(//)
Ctrl+D in the editor duplicates the selected block or the current line when no block is selected.

Ctrl+E (View | Recent Files) recently visited files.

itar..+Tab Live Templates

Ctrl+Space Basic Code Completion

Ctrl+Shift+Space Smart Completion

Ctrl+Shift+Enter Statement Completion(parentheses,brackets,braces...)

Ctrl+P brings up a list of valid parameters

Ctrl+F12 view the current file structure

Ctrl+N search for and navigate to a specific class in the project

Ctrl+Shift+N navigate to a file or folder

Ctrl+Shift+Alt+N navigate to a method or field by name

Ctrl+Shift+Backspace (Navigate | Last Edit Location) brings you back to the last place where you made changes in the code.

Ctrl+Shift+F7 (Edit | Find | Highlight Usages in File) to quickly highlight usages of some variable in the current file.

Ctrl+Shift+J joins two lines into one and removes unnecessary space to match your code style.

Ctrl+Shift+V to choose and insert recent clipboard contents into the text.

Alt+F7 find the pieces of code referencing the class, method, field, parameter, statement

Alt+Enter quick fix and show intention actions

F3 and Shift+F3 to navigate through highlighted usages. Esc to remove highlighting.

Code | Reformat Code to reformat code according to your code style preferences (File | Settings | Code Style).

Code | Optimize Imports to automatically optimize imports (remove unused imports, etc.). (File | Settings | Code Style | Imports).

Alt+Q (View | Context Info) to see the declaration of the current method without the need to scroll to it.

F2/Shift+F2 keys to jump between highlighted syntax errors.

Ctrl+Alt+↑ /Ctrl+Alt+↓ to jump between compiler error messages or search operation results.

Alt+↑ and Alt+↓ keys to quickly move between methods i

To skip warnings right click on the validation side bar / marker bar and choose Go to high priority problems only.

Ctrl+J to complete any valid Live Template abbreviation if you don't remember it.

Eclipse

F6 逐行追踪
F5 进入方法
F7 跳出方法
F8 下一个断点或结束debug
字典类map 方法put/get

转载于:https://www.cnblogs.com/dennysong/p/7542667.html

你可能感兴趣的文章
无法根据中文查找
查看>>
[简讯]phpMyAdmin项目已迁移至GitHub
查看>>
转载 python多重继承C3算法
查看>>
【题解】 bzoj1597: [Usaco2008 Mar]土地购买 (动态规划+斜率优化)
查看>>
css文本溢出显示省略号
查看>>
git安装和简单配置
查看>>
面向对象:反射,双下方法
查看>>
鼠标悬停提示文本消息最简单的做法
查看>>
课后作业-阅读任务-阅读提问-2
查看>>
面向对象设计中private,public,protected的访问控制原则及静态代码块的初始化顺序...
查看>>
fat32转ntfs ,Win7系统提示对于目标文件系统文件过大解决教程
查看>>
Awesome Adb——一份超全超详细的 ADB 用法大全
查看>>
shell cat 合并文件,合并数据库sql文件
查看>>
Android 将drawable下的图片转换成bitmap、Drawable
查看>>
介绍Win7 win8 上Java环境的配置
查看>>
移动、联通和电信,哪家的宽带好,看完你就知道该怎么选了!
查看>>
Linux设置环境变量的方法
查看>>
构建自己的项目管理方案
查看>>
利用pca分析fmri的生理噪声
查看>>
div水平居中且垂直居中
查看>>