zoukankan      html  css  js  c++  java
  • myeclipse的一些优化设置

    注:本文内容复制于little_paper的博客,具体链接为http://little-paper.iteye.com/blog/1670745,感谢little_paper的分享,为便于能随时学习,特copy过来,望作者谅解!

    1.指定本机java环境

    Windows-->preferences-->java-->Insetallel JREs

    右侧 单击ADD standard VM-->Next -->Directory-->Finash

    点选 新增jre环境-->点击OK

     

    2.更换背景颜色 个人感觉白色比较刺激眼睛 可选择性更换

    Windows-->preferences-->General-->Editors-->Text Editors

    右侧左下方 选中 Background color后 单击 System default选项框后 点击color 选择颜色后 -->OK

     

    3.取消servers中myeclipse自带的tomcat 开发中常常需要到相应的 tomcat目录中查看,

    指定本机自带tomcat 可以更方便的操作

    Windows-->preferences-->MyEclipse-->Servers-->Tomcat

    根据个人选择指定tomcat目录 并点选上方的 radio Enable 选项-->OK

    取消server中的tomcat

    Windows-->preferences-->MyEclipse-->Servers-->Integrated Sandbox-->Myeclipse Tomcat 6

    点击disable

     

    4.取消自动validation 有一堆,什么xml、jsp、jsf、js等等,

    我们没有必要全部都去自动校验一下,只是需要的时候才会手工校验一下!

    取消方法:

    windows-->perferences-->myeclipse–->validation

    除开Manual下面的复选框全部选中之外,其他全部不选

    手工验证方法:

    在要验证的文件上,单击鼠标右键--->myeclipse--->run validation

     

    5.取消Eclipse拼写检查

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

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

    点击enable spell check

     

    6.jsp xml html

    windows--->perferences--->general--->editors->file associations

    在下方选择一种编辑器,我选择的是 myeclipse jsp/xml/html editor 然后点击左边的default按钮

     

    7.取消Maven更新(启动更新)

    Window > Preferences > Myeclipse > Maven4Myeclipse 禁用Download repository index updates on startup

     

    8. 修改jsp文件内容的编码

    window->Preferences ->myeclipse->Files and Editors->jsp

     

    9. hovers javascript hovers (鼠标悬停提示关闭) 鼠标悬停提示关闭 

    Window->preference ->Myeclipse ->Files and Editors-> javascript -> edit -> 选中Hover  去掉勾选Combined Hove

    java :   Window->preference ->java->Editor->Hovers 去掉勾选Combined Hover Bug模式调试 勾选上Variable Values

     

    10. 修改新建文件java/js/html/properties文件编码

    window->Preferences -> General->Content Type

    把下面的Default Character Set的值改成UTF-8

     

    11.个人习惯:Window --> Preferences --> General --> Workspace,文字编码改为UTF-8。

     

    12.修改右键 

    windows –> Customize Perspective  选项

     

    13.myeclipse 内存溢出

     

    打开MyEclipse目录下的myeclipse.ini文件 在后面修改下面几个属性

    -vmargs

    -Xms512m              ( JAVA能够分配的内存)

    -Xmx512m              ( JAVA能够分配的最大内存)

    -XX:PermSize=512M      (非堆内存初始值)

    -XX:MaxPermSize=512M   (非堆内存最大值)

    -XX:ReservedCodeCacheSize=64m  (eclipse缓存)

     

    14.jquery.js -> 鼠标右键 -> MyEclipse -> manage validation -> 左面点击 -> Excluded resources -> 找到jquery.js -> 打上钩 -> apply

     

    15.根据个人情况修改myeclipse的启动项

    windows–>perferences–>general–>startup and shutdown

     

    16. derby 关闭

     在MyEclipse安装目录下打开 configurationorg.eclipse.equinox.simpleconfiguratorundles.info 搜索derby找到 com.genuitec.eclipse.derby,11.0.0.me201211281531,plugins/com.genuitec.eclipse.derby_11.0.0.me201211281531.jar,4,false 把它注释掉即(#com.genuitec.eclipse.derby,11.0.0.me201211281531,plugins/com.

     

    17:  启动功能介绍和样例(红色为需要保留的文件,此为本人样例,请按需选择)

  • 相关阅读:
    SQL Server2008中删除重复记录
    Php环境在Windows (server 2003) 服务器部署标准 白丁简明版
    国外服务器鸟文windows,时间12小时制,如何改成24小时呢?我来告诉你
    将Capicom调用代码封装到ActiveX——解决javascript调Capicom读取数字证书信息时,IE弹出安全提示的问题
    Linq处理List数据
    C#将窗口最小化到系统托盘,并显示图标和快捷菜单
    C# 将程序添加到启动项 (写入注册表),及从启动项中删除
    C#中string[]数组和list<string>泛型的相互转换
    IIS7.5部署ASP.NET失败
    IIS 7.5版本中一些诡异问题的解决方案
  • 原文地址:https://www.cnblogs.com/0519xf/p/4800347.html
Copyright © 2011-2022 走看看