ITeye博客

MyElipse的使用小结

jasstion · 2009-06-27 12:50 · 工具 · Markdown

1:修改提示的快捷键:

Window -> Preferences -> General -> Keys 在type filter text栏输入Content , 选中Content Assist , 如果存在快捷键(不是自己习惯的快捷键),点击Remove Binding , 然后在Binding栏输入自己习惯的快捷键,这里我设置了Alt+/ 。 2:配置Tomcat服务器: Window -> Preferences -> Servers -> Tomcat -> Tomcat 6.x 在 Tomcat server栏目下选择Enable , 然后指定Tomcat的安装目录。展开Tomcat 6.x目录 -> JDK 指定JRE版本。 3:导入Web Project: File -> Import -> Existing Projects into Workspace -> Next -> 选择项目路径 -> Finish

4:将Web Project导出:

File -> Export -> J2EE -> 选择导出类型 -> Next -> 选择Web项目,指定导出路径和文件名 -> Finish 。

5:更改点击JSP页面默认的视图和代码显示为全代码显示: Window -> Preferences -> General –> Editors -> File Associations选择右边File types里面的*.jsp , 在Associations editors列里选择MyEclipse JSP Editor , 然后点击Default -> OK 。

6:更改JSP页面的默认编码ISO-8859-1为UTF-8,使其能在页面支持中文:

MyEclipse -> Perferences -> MyEclipse -> Files and Editor -> JSP选择右边的Encoding , 然后选择ISO 10646/Unicode(UTF-8),点击OK。

8:更改JDK版本:MyEclipse -> Perferences -> MyEclipse ->Java->Compile(建议一般不要更改) 9:导入需要的jar包:右键点击工程项目,下拉列表中选择Add external archives选择要导入的jar包。 10:取消MyEclipse自动更新功能 (1)Window --> Preferences --> General --> Startup and Shutdown -->找到"Automatic Updates Scheduler " 项去掉前面的勾。 (2)Window --> Preferences --> Myeclipse Enterprise Workbench --> Maven4Myeclipse --> Maven --> "Download repository index updates on startup" 去掉前面的勾。

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。