Posts Tagged ‘UiBinder’

Completing non-imported GWT components in ui.xml

Friday, August 6th, 2010

IntelliJ IDEA 9 allows you to complete tags for components with namespaces imported in the current GWT ui.xml file.

In IntelliJ IDEA 10 you can complete component even if it is not imported yet. Just press Ctrl+Space twice and IntelliJ IDEA will search for components across the whole project and libraries:

After pressing Enter the IDE will complete the selected component and insert the appropriate namespace declaration for it:

Try IntelliJ IDEA EAP and code faster!

GWT UiBinder support

Tuesday, January 26th, 2010

The first IntelliJ IDEA 9.0.2 EAP build will add support for UiBinder, new functionality introduced in GWT 2.0. IntelliJ IDEA will understand tags and attributes in ui.xml files:

Inconsistencies between ui.xml file and associated Java class will be highlighted:

You can jump from field to the corresponding tag by using icon on the gutter:

Also IDE provides actions to quickly create new ui.xml file with associated Java class (in Edit | New | Google Web Toolkit menu) and to generate @UiHandler method (in Code | Generate menu).

Expect new version EAP to be published shortly.