绿毛肉粽

大海从鱼跃,长空任鸟飞。(此博客已停止更新,新地址:blog.csdn.net/evangel_z)

 

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

posted on 2012-02-25 13:43 绿毛肉粽 阅读(2352) 评论(1)  编辑  收藏

评论

# re: MyEclipse 相关有用设置 2014-09-19 11:41 顾陌博客

有没有类似于C#的调试中的添加监视等相关的,怎么用?www.songker.com  回复  更多评论   


只有注册用户登录后才能发表评论。


网站导航:
 

导航

统计

公告

此博客已停用,新地址:
blog.csdn.net/evangel_z

常用链接

留言簿

随笔档案

Common

Freedom

搜索

积分与排名

最新评论

阅读排行榜

评论排行榜