[ 
https://issues.apache.org/jira/browse/NETBEANS-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169411#comment-17169411
 ] 

Matthias Bläsing edited comment on NETBEANS-2532 at 8/6/20, 6:56 PM:
---------------------------------------------------------------------

I assume, this refers to the CSS specification documentation bundled with 
netbeans. This will be updated as part of NETBEANS-1454:

https://github.com/apache/netbeans/pull/2299


was (Author: mblaesing):
I assume, this refers to the CSS specification documentation bundled with 
netbeans. This will be updated as part of NETBEANS-1454:

[https://github.com/apache/netbeans/pull/2289/commits|https://github.com/apache/netbeans/pull/2299]

> Update CSS help
> ---------------
>
>                 Key: NETBEANS-2532
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2532
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: web - CSS Editor
>    Affects Versions: 11.0
>            Reporter: Pete Whelpton
>            Assignee: Matthias Bläsing
>            Priority: Minor
>              Labels: css, help, web
>
> CSS help (as displayed in Code Completion help window) is derived from two 
> .zip files:
>  
> css21-spec.zip
> css3-spec.zip
>  
> which are downloaded from OSUOSL at build time.  The .zips contain the html 
> pages of the official CSS specs from the W3C website.  
>  
> Also, NB decides which zip to check by parsing the module URL in 
> DefaultCssEditorModule.java.  If the URL contains css3, then the 
> css3-spec.zip folder is search for the appropriate HTML page, otherwise the 
> css21-spec.zip is search.
>  
> There are three problems:
>  
> 1) Both of these .zip files contain really old versions of the specs!
> 2) W3C no longer put css3 in the URL of module web pages.  E.g. 
> [https://www.w3c.ord/TR/css3-values] is now 
> [https://www.w3c.org/TR/css-values-3/]
> 3) This logic doesn't take into account new modules that have started back at 
> Level 1 again, or new versions of existing modules that are now on Level 4
>  
> My proposal would be to create one .zip file of the latest versions of the 
> specs, update DefaultCssEditorModule.java with the current URLs for the specs 
> on the w3c site, and then have just one help resolver that parsed that one 
> .zip file.
>  
> I'd be happy to do a lot of this work - although I don't have access to 
> upload binaries to OSUOSL, so if somebody who does gets in touch we can get 
> cracking....



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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