[转] MyEclipse 经常使用设置

1.Fonts 字体java

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

-> Java -> Java editor text font
windows

-> Java -> Properties File editor text font
tomcat

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

-> Text Compare -> Java compare text font
jsp

-> 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) 透视图, 应该能够去掉吧...

相关文章
相关标签/搜索