Eclipse 学习笔记

换行字数
Window-Preferences-Java-Code Style-Formatter-Edit-Line Wrapping-General settings-Maximum line width:100
 
删除空行
1.打开源码编辑器
2.使用快捷键Ctrl+f 
3.在Find输入框中输入:^\s*\n
4.Replace With输入框的值为空 
5.在【Options】选中的"Regular expressions" 
6.点击【Replace All】按钮
 
 
自动完成
1. window→Preferences→java→Editor→Content Assist→Auto Activation triggers for java→在“.”后加abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ字母→apply→OK
2. 如果还不行则window→Preferences→java→Editor→Content Assist→Advanced→上面框内全部勾上→apply→OK
 
posted @ 2012-05-28 22:08  一篮饭特稀  阅读(167)  评论(0编辑  收藏  举报