标题:请教myeclipse9.0m1版本xml编写没有自动提示功能
取消只看楼主
chenhao19860
Rank: 3Rank: 3
等 级:论坛游侠
威 望:1
帖 子:86
专家分:151
注 册:2010-3-15
结帖率:66.67%
 问题点数:0 回复次数:0 
请教myeclipse9.0m1版本xml编写没有自动提示功能
在网上找了资料
1,打开window-preferences-myeclipse enterprise workbench-files and editors-xml-xml catalog,
点 add..,出现一对话框,location栏选file system,找到struts-2.0.14-all\struts-2.0.14\src\core\src\main\resources目录下的 struts-2.0.dtd文件,打开,然后key type 选择uri,下面key值填 http://struts.,点击OK,这样再次打开struts.xml时应该就有提示了。
2,当你输入元素后,如果没有属性提示,比如输入<action name="" ></action>,不能再继续提示action中的属性的话,需要做如下修改:
打开window-preferences-general-keys,在右边找到content Assist这一栏,如果这一栏中binding下面有值,点击remove binding,然后在下面的binding栏,选择另一个快捷键,比如‘alt+,’,点击OK。
重新打开struts.xml文件,需要属性提示时,按所设置的快捷键,就会出现属性提示。
按上面做了还是没有自动提示呀!是不是myeclipse9.0m1不支持自动提示能了呢?
请教了
搜索更多相关主题的帖子: xml 目录 resources system action 
2012-02-20 11:05



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-361197-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.353764 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved