您的位置:首页 > 编程语言 > Java开发

eclipse使用技巧总结

2015-07-12 11:24 471 查看
常用配置优化
1、字体大小调节
window->perferences->General->Appearance->Colors and Fonts->Basic->Text font

2、显示行号
Window->Preferences>General->Editors->Text Editors->勾选show line numbers

3、增强代码自动提示功能
Window->Preferences->Java->Editor->Content Assist 

AutoActivation Delay 默认200修改为20

4、中文编码格式配置
Window-->Preferences -->eneral-->Workspace

text file encoding 修改为utf-8

5、显示outline窗口

Window --> Show View --> Other 输入 outline


快捷键
Ctrl+F11 运行
Ctrl+Shift+/ 在代码窗口中加入/* ...  */注释
Ctrl+Shift+\  消除/* ...  */注释

Ctrl+L 定位在某行 (对于程序超过100的人就有福音了) 
Ctrl+M 最大化当前的Edit或View (再按则反之)
Ctrl+/ 注释当前行,再按则取消注释
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: