eclipse常用设置

我们在开发android的时候可能需要设置eclipse的代码自动提示,背景颜色,字体大小,各种快捷键等;在这简单总结一下,希望能帮到大家:

1.设置java代码页:

(1)代码自动提示:Windows——Preferences——Java——Editor——Content Assist

修改为这个字符就可以了.abcdefghijklmnopqrstuvwxyz

(2)设置行号 Windows——Preferences----Editors---Text  Editors

(3) 设置背景颜色 Windows——Preferences----Editors---Text  Editors

 (4).设置字体大小Windows——Preferences----Color  and  Fonts

2 xml页设置:

(1)代码自动提示 Windows——Preferences----XML----XML Files -- Editor---Content Assist

改为这句代码  .abcdefghijklmnopqrstuvwxyzABCDEFGHIGKLMNOPQRSTUVWXYZ(,

(2)xml页面字体大小window--preferences--General--appearance--colors and
fonts--Basic-- "Text font "  

下面是几个最常用的快捷键:

Ctrl+Shift+F   代码自动格式
Ctrl+             取消注释
Ctrl+/             注释
Ctrl+Shift+M   添加导入
Shift +Alt+j    代码多行注释


调试 运行
F7             单步返回
F6             单步跳过
F5             单步跳入 
Ctrl+F5        单步跳入选择
F11            调试上次启动
F8             继续
Shift+F5       使用过滤器单步执行
Ctrl+Shift+B   添加/去除断点
Ctrl+D         显示
Ctrl+F11       运行上次启动 
Ctrl+R         运行至行
Ctrl+U         执行  
原文地址:https://www.cnblogs.com/summers/p/4094442.html