1、代码模板配置位置:Window->Preference->Java->Code Style->Code Template 依次展开 Comments 节点。
2、Myeclipse安装后编码默认是GB18030,一般推荐用UTF-8。
设置全局编码:Window-->Preferences-->General-->Workspace-->Text file encoding。
局部编码设置:文件右键-->Properties-->Resource-->Text file encoding。
3、MyEclipse设置JSP页面默认编码方式:Windows-Preferences-MyEclipse-Files & Editors-JSP-encoding:设置为ISO10646/Unicode(UTF-8) 。
4、拼写检查:直接查找关键字spell。
5、代码提示等:Windows->Preferences->java->Editor->Content Assist 或者直接输入过滤条件Content Assist。
6、softTab:Windows->Preferences->java->Code Style->Formatter->Active profile->Edit->General Settings 设置tab policy为Spaces only,Tab size建议设置为4,Indentation也设置为4。
7、其他文件内容的缩进设置:Windows →Preferences→Myeclipse→Files and Editors,在每种文件类型的XXX Source节点下可以设置indentation的值。8、Package Explorer的背景颜色使用操作系统外观设置中的【窗口颜色】,所以不能在Preferences中单独更改。