GWT uibinder,花费太多时间进行自我暗示

时间:2012-11-01 06:13:28

标签: gwt gxt uibinder

我们在项目中使用GXT和GWT(2.4)。我们正在使用UIBinder进行页面设计。目前,我们在xml页面中编写代码时遇到了太多问题。自动建议花费太多时间(当我们按ctl + Space进行自动提示时变得没有响应)。不明白是什么问题。

需要帮助。

1 个答案:

答案 0 :(得分:3)

这可能是由于Internet连接速度慢或远程服务器造成的,这使得检索XSD文件的速度变慢。您可以将XSD添加到目录中,引用本地文件而不是远程URL:

Location:        http://dl.google.com/gwt/dtd/com.google.gwt.user.client.ui.xsd
URI:           http://dl.google.com/gwt/dtd/com.google.gwt.user.client.ui.xsd
Key Type:        Namespace Name
Key:                urn:import:com.google.gwt.user.client.ui


Location:        http://dl.google.com/gwt/dtd/uibinder.xsd
URI:           http://dl.google.com/gwt/dtd/uibinder.xsd
Key Type:        Namespace Name
Key:                urn:ui:com.google.gwt.uibinder

在Eclipse>>偏好设置>> XML>>目录

在用户部分中,您可以添加自定义目录,下载提到的XSD文件,并指向本地版本的XSD文件。