一、自动提示设置:
选择工具栏 选择Windows >Preferences > Java > Editor > Content Assist,在右边区域的下方的Auto-Activation 栏目中勾选Enable auto activation ,在Auto Activation triggers for Java:右边的文本框内加上上 a 到 z 的26个字母。
二、自动注释设置:
1、选择工具栏,点击Windows > Preferences > Java > Code Style > Code Templates
2、到右边区域选择Types
3、点击Edit 选择Insert Variable ,到此选择需要给类添加的自动注释项;
在第2步选择Methods 再按第3步的设置方法是给方法添加自动注释项。
三、自动添加get与set方法
在代码编辑框内右键>Source > Generate Getter and Setter
四、显示行标
在代码编辑框内右键>preference>General>Editors>Text Editors 勾选show line numbers