XMLBuddy冲突与Links 插件卸载

Eclipse xml编辑器冲突的问题 [原创]

在eclipse 中加载了很多插件,发现图形化的xml 编辑插件在打开图形化窗口式总是有如下的错误:


QUOTE:
 Unsupported content type in editor. To associate file extension with a supported content type, please see .....

一直以为是插件版本和eclipse版本不配套所导致,今天偶然看到下面一片文章
http://www.eclipsezone.com/eclipse/forums/t72490.html


QUOTE:
 

Re: How do I work around "Unsupported Content Type" error for HTML

Ian Leslie wrote:
> I just downloaded the web tools plug-ins (Web Standard Tools and J2EE
> Standard Tools). I created my first web site (a static web site
> project) and tried to create and edit an XHTML file. I received an
> "Unsupported content type in editor..." error when I tried to open it
> with the "HTML Editor". I have XML Buddy installed and it opened it by
> default.
>
> I have read the thread:
> http://dev.eclipse.org/newslists/news.eclipse.webtools/msg08746.html
>
> But it does not say how to work around the problem (other than removing
> XML Buddy) XML Buddy has been my XML editor for a while and I would
> like to continue to use it for XML editing. What can I do?

XMLBuddy claims to have worked around the problem for themselves
with their 2.0.66/2.0.67 versions, but for now the only solution to
allow WTP's editors to work is to uninstall/disable XMLBuddy.

--
- Nitin



恍然大悟 原来是 XMLBuddy 搞得鬼, xmlbuddy 的xml编辑器和 WTP 的编辑器冲突, 禁用 xmlbuddy 重启eclipse 果然问题解决。
解决方法

用links目录方式安装eclipse插件时需要注意的问题:

 

1.新增加的插件文件路径可以添加在links目录下其他文件中,也可以单独建立一个文件,形式都是path=...,只要重新启动eclipse就可以生效.但是需要注意的是如果按照前一种方式,当执行eclipse -clean时候,若一个文件放置多个path路径,则只有最后一个生效.

 

2.对于eclipse3.0,删除configuration目录重新启动eclipse与直接执行eclipse -clean的效果是一样的,但是对于eclipse3.1不可以直接删除configuration目录,必须保留config.ini文件.

 

3.eclipse -clean启动方式,一般是用于插件去除后的还原操作,因为仅仅去除links目录里的路径指示有时是不够的,可能会导致启动错误.还有一种用途,就是在安装多国语言包后,因为之前已经启动过英文版的eclipse,导致虽然插件安装,但是汉化不彻底.用eclipse -clean重新启动可以改变这种状况.

 
  4.把link指向的目录移走或重命名
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

蜡台

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值