轉http://banlalaotou.iteye.com/blog/963935
FAQ:不給提示
window-->preferences-->MyEclipse Enterprise Workbench-->Files and Editors-->XML-->XML Catalog
(User Specified Entries) 點 Add..
Location:首先選“File System”------>然后,"Spring"的存放目錄(我的是D:\Spring)\soft\spring-framework-2.5.6\dist\resources\spring-beans-2.5.xsd
Key Type:Schema Location
key:http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
提示配置完畢。
如果打開XML 出現:
Unsupported content type in editor. To associate file extension with a supported content type, please see .....
一個可能的原因是: XMLBuddy。將該插件卸載即可。
但是只提示標簽而不提示屬性,我的做法是按alt+/