ITeye博客

GWT-解决ui.xml代码提示假死

kong6001 · 2012-04-09 11:33 · GWT · Web前端 · Markdown

1、在gwt-user-xxx.jar 找到com.google.gwt.uibinder.resources.

解压这三个文件:

com.google.gwt.user.client.ui.xsd

uibinder.xsd

 xhtml.ent

 

2、配置eclipse

Window -> Preferences -> Xml -> XmlCatalog -> User Specified Entries -> Add.. -> FileSystem

分别添加刚才的三个文件:

 

配置如下:

 

key:  urn:import:com.google.gwt.user.client.ui

file: com.google.gwt.user.client.ui.xsd

 

key:  urn:ui:com.google.gwt.uibinder

file: uibinder.xsd

 

key:  http://dl.google.com/gwt/DTD/xhtml.ent

KeyType:URI

file: xhtml.ent

 

好了配置完成。让代码飞一会吧.

评论(1)

  1. #1 楼 · georgezeng · 2012-04-09 12:45

    cool :idea:

评论功能维护中,当前仅展示历史评论。