Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline GSS editor on UiBinder files doesn't autocomplete CSS3 properties. #79

Closed
gilberto-torrezan opened this issue Jul 16, 2015 · 3 comments

Comments

@gilberto-torrezan
Copy link

Related to this question on StackOverflow: http://stackoverflow.com/questions/30823483/how-to-get-autocomplete-of-css3-properties-on-eclipse-inside-the-uistyle-tag

Tested with both the snapshot and the release plugin update sites, on clean Eclipse Luna (4.4.2) installation.

The editor doesn't show auto complete suggestions for CSS3 properties when editing .ui.xml files (GWT UiBinder). Those suggestions work fine on pure *.gss/.css files when the CSS profile of the project is set to "CSS3: Cascading Style Sheets, level 3" (under Project > Properties > Web Content Settings > Css profile).

To reproduce the bug:

  • Create a GWT project or use an existing one
  • Setup the project to use the CSS3 profile (under Project > Properties > Web Content Settings > Css profile)
  • Create a UiBinder file or use an existing one
  • Inside the YourFile.ui.xml, create a ui:style tag
    • Inside the ui:style tag, create a CSS selector, for instance ".myClass"
    • Inside the selector, type, for instance, "border-r" and press ctrl+space for the content assist
    • Only the border-right* properties are shown, not the CSS3 border-radius
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui">

    <ui:style>
        .myClass {
            border-r (ctrl+space... no luck!)
        }
    </ui:style>

</ui:UiBinder>

screenshot from 2015-07-16 16 24 37

When creating the same CSS selector on a .gss/.css file, all CSS3 properties are shown without problems.

screenshot from 2015-07-16 16 26 33

@branflake2267
Copy link
Contributor

This is on the agenda to enhance. I've got a few bugs I'd like to fix first.

@branflake2267
Copy link
Contributor

This is a duplicate of #58

@branflake2267
Copy link
Contributor

Closing as this is a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants