Pete Whelpton created NETBEANS-2534:
---------------------------------------

             Summary: Add support for parsing / code completion of draft CSS 
properties
                 Key: NETBEANS-2534
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2534
             Project: NetBeans
          Issue Type: Improvement
            Reporter: Pete Whelpton


Browser vendors are now adding support for new CSS feature often whilst the CSS 
specification is still in its draft / experimental phase.  Netbeans needs to be 
able to support draft CSS properties / values, whilst making it obvious that 
those properties are in a *draft* state.

 

What I would propose:

1) The CSS module properties files 
netbeans/ide/css.editor/src/org/netbeans/modules/css/editor/module/main/properties/
 need some kind of flag, e.g. a tilde symbol ~ before each draft property to 
flag it

2) GrammarParser in the CSS Lib module needs to be aware of this symbol, and 
the parseElement method would then create a new DraftModuleProperty (or 
similarly named) class, or the existing Property class would have a isDraft 
boolean property added to it

3) Code Completion for CSS would be updated so that draft module properties / 
values used the spanner icon 
[https://github.com/apache/netbeans/blob/master/ide/web.common.ui/src/org/netbeans/modules/web/common/ui/resources/config-badge.gif]
 

As always, more than willing to help in any way possible



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to