sdedic opened a new pull request #2424: URL: https://github.com/apache/netbeans/pull/2424
Adjustments that lead to better reuse of javascript / HTML support. Javascript modules are quite tangled with HTML (and vice versa) since they have been always developed in parallel. With `nodejs` and similar technologies, javascript can be used independently without embedding into HTML (PHP) web pages. This PR partially loosens the dependencies, but many of them still remain. Some minor issues / warnings were fixed during the course. Outline of main changes: - `HtmlIndex` API separated from the HTML Editor module. Many modules have dependencies on the Index, querying files, but not necessarily on HTML editing features. Becomes more important in headless modes. - JavaScript HTML support separated from basic Javascript editing (just completion at the moment). This is a beginning of the effort that could de-entagle JS/HTML supports These changes allowed to reduce module dependencies, especially non-visual modules to *.editor modules (which are more or less UI-oriented). IMHO it's good to separate infrastructure/evaluators from presentation layer - if not for better architecture, then for better testing. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
