首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

MyEclipse 有关有用设置

2012-07-04 
MyEclipse 相关有用设置1.Fonts 字体Windows - Preferences - General - Appearance?- Colors and Fon

MyEclipse 相关有用设置

1.Fonts 字体

Windows -> Preferences -> General -> Appearance?-> Colors and Fonts

-> Java?->?Java editor text font

->?Java ->?Properties File editor text font

->?Structured Text Editor?->?Structured text editor text font

->?Text Compare?-> Java compare text font

->?Text?Compare?->?Java properties file compare text font

->?Text?Compare?->?MANIFEST.MF compare text font

2.Background 背景

Windows -> Preferences -> General -> Editors -> Text Editors ->?Background color

3.Content Assist 内容辅助

Windows -> Preferences ->??General -> Keys -> Content Assist

4.Formatter 代码格式化

Windows -> Preferences -> Java -> Code Style ->?Formatter

5.?JSP 默认编辑器

Windows -> Preferences -> General -> Editors -> File Associations

在File Types文件类型列表,选中*.jsp,在Associated Editors列表框中选中MyEclipse JSP Editor,后单击default按钮

6.Tomcat 配置

Windows -> Preferences -> Myeclipse Enterprise Workbench -> Servers -> Tomcat?->?Tomcat ?6.x

选择Enable,Tomcat的根目录F:\apache-tomcat-6.0.16

7.Encoding 编码

(1)将整个project设置编码UTF-8(UTF-8可以最大的支持国际化)

windows -> Preferences -> general -> Workspace -> Text file encoding -> Other框中的Text file encoding改为UTF-8

(2)对java源文件编码设置为UTF-8

windows -> Preferences -> general -> Content Types -> Text,选择Java Source File,在下面的Default encoding输入框中输入UTF-8,点Update

(3)设置创建JSP页面时,将JSP的默认编码设为UTF-8?

Window -> Preferences -> MyEclipse Enterprise Workbench?-> Files and Editors -> JSP,将"Encoding"选为"ISO10646/Unicode(UTF-8)

8.JSP?去掉格式化时页面中的空行

Window -> Preferences -> MyEclipse?Enterprise Workbench?-> HTML -> HTML Source?

勾选"Clear all blank lines"

9.Update?关闭自动更新

(1)Eclipse:?

Windows –> Perferences–> Install/Update -> Automatic Updates,不勾选"Automatically find new updates and notify me"?

(2)Myeclipse:?

1)Windows –> Perferences–> MyEclipse Enterprise Workbench?-> Community Essentials,不勾选"Search for new features at startup"?

2)Windows –> Perferences–> MyEclipse Enterprise Workbench?-> Maven4MyEclipse,不勾选"Download repository index updates on startup"?

10.Startup?关闭不需要的启动项

MyEclipse:Windows –> Perferences–> General–> Startup and Shutdown

(1) Tomcat6: 必备的...?
(2) 内存监视器: 可以查看Myeclipse的使用内存, 我喜欢这工具(在菜单Myeclipse - Utilities - Show Heap Status打开)?
(3) JSP Debug工具, 其实我也没用过, 怕有一天用到...?
(4) 文件创建向导(个人经常用到)?
(5) 向后兼容的意思吧, 怕有一天会用到, 但其实很少用, 可去掉?
(6) 透视图, 应该可以去掉吧...?

热点排行