code completion in GWT ui.xml
Hi,
I have a problem with code completion in the ui.xml. I use smartGWT and org.synthful uibinding-smartgwt. For the most of the attributes IntelliJ gives me a suggestion but not for all. I get suggestion for 'membersMargin' but not for 'margin'. The message in the popup is: 'Attribute margin is not allowed her'. But the code is working. What can I do to get code completion for all attribute?
Regards in advance,
Christian
Please sign in to leave a comment.
Hello,
please provide the full content of ui.xml file and specify where completion was invoked.
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:zs="urn:import:org.synthful.smartgwt.client.widgets"
xmlns:g="urn:import:com.google.gwt.user.client.ui">
<zs:UIVLayout width="50%" height="100%" margin="20" membersMargin="20">
<zs:UILabel ui:field="label1" styleName="formTitle" width="100%">Label 1</zs:UILabel>
<zs:UILabel ui:field="label2" styleName="formTitle" width="100%">Label 2</zs:UILabel>
</zs:UIVLayout>
</ui:UiBinder>
code completion will work for membersMargin but not for margin
The problem will be fixed in next IDEA 12 EAP build, thank you for reporting.
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"