myeclipse技巧

设置工作空间

首次启动Eclipse/MyEclipse时, 会弹出"Workspace Launcher"对话框, 提示设置Workspace路径. 设定好路径后, 倘若勾选了"Use this as the default and do not ask again", 那么以后再启动时就不会有提示, 直接进入默认工作空间. 

有3中方法可以更改workspace的路径设置. 

1. 启动Eclipse/MyEclipse后, 打开"Window -> Preferences -> General -> Workspace", 点Workspace页上的"Startup and Shutdown", 然后勾选"Startup and Shutdown"页中的"Prompt for workspace on startup"; 

2. 用记事本打开"\eclipse\configuration\.settings\org.eclipse.ui.ide.prefs", 将"SHOW_WORKSPACE_SELECTION_DIALOG"的值改为"true"; 

P.S.:  "RECENT_WORKSPACES"的值表示设置过的workspace绝对路径. 第一个路径是当前设定的路径, 向后依次之前曾设置过的. 各路径之间用"\n"分隔. 

3. 删掉"\eclipse\configuration\.settings\org.eclipse.ui.ide.prefs". 

执行上述操作后, 再次启动, 又会弹出"Workspace Launcher"对话框, 可以重新设置了. 


设置文件关联

windows ==> preferences ==> General ==> Editors ==> file Associations

-Xmx512m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m

调大
-XX:MaxPermSize=1024m
第一步: 取消自动validation
取消方法:
windows->perferences->myeclipse->validation
除开Manual下面的复选框全部选中之外,其他全部不选
手工验证方法:
在要验证的文件上,单击鼠标右键->myeclipse->run validation

第二步:取消Eclipse拼写检查
1、拼写检查会给我们带来不少的麻烦,我们的方法命名都会是单词的缩写,他也会提示有错,所以最好去掉,没有多大的用处

windows->perferences->general->editors->Text Editors->spelling


第三步:取消myeclipse的启动项
myeclipse会有很多的启动项,而其中很多我们都用不着,或者只用一两个,取消前面不用的就可以

windows->perferences->general->startup and shutdown
5、myeclipse 打开 jsp 的默认编辑器不好,会同时打开预览
windows->perferences->general->editors->file associations

window>preferences>MyEclipse>Maven4MyEclipse->Maven, 取消选中Download repository index updates on startup!



文章出处:飞诺网(www.diybl.com):http://www.diybl.com/course/3_program/java/javashl/2008422/110796.html
 

 





猜你喜欢

转载自lafengmaker.iteye.com/blog/1681563