This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Angular seems to be working with JSF (I tried AngularPhoneCat in JSF page), but editor in IDE does not offer code completion for directives or their values etc. Although DTD for JSF XHTML is XHTML 1.0 Transitional, it is compiled to HTML5
changeset: 258588:60244ac3c9a3 summary: Making the creation of the embedded javascript source transitional for templating languages (e.g. JSP->HTML->JS) to make the html.editor's JsEmbeddingProviderPlugins to work. This enables the AngularJS and Knockout supports for templating languages as well. So far JSP, PHP and XHTML are switched. Possibly also converts Smarty, Twiggy etc. (those providers which remained in the direct javascript2.editor/JsEmbeddingProvider).
Thank you, the changeset [1] should be already in Trunk build but it still doesn't work. data-* is missing in code completion, it is not properly recognized, no JS completion... [1] http://hg.netbeans.org/main-silver/rev/0410851aca2c Product Version: NetBeans IDE Dev (Build 201307212300) Java: 1.7.0_40-ea; Java HotSpot(TM) Client VM 24.0-b52 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b33 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
I'm sorry, I was too fast. I'm not sure if data-* should be colored (since facelet JSF is XHTML), but I think ng-* should. The remaining problem is similar to Angular in PHP/JSP: - attribute ng-* is not colored as HTML framework directive - ng-* is missing in code completion But JS completion works and {{ }} expressions are recognized
(In reply to comment #3) > I'm sorry, I was too fast. > > > I'm not sure if data-* should be colored (since facelet JSF is XHTML), but I > think ng-* should. The remaining problem is similar to Angular in PHP/JSP: > - attribute ng-* is not colored as HTML framework directive > - ng-* is missing in code completion > > But JS completion works and {{ }} expressions are recognized I was aware of these issues, I'm sorry, planned to fix bit later...
changeset: 258936:bde372f1317a summary: #232947/2 - enabling the AngularHtmlExtension for non-pure html files
Integrated into 'main-silver', will be available in build *201307222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/bde372f1317a User: Marek Fukala <mfukala@netbeans.org> Log: #232947/2 - enabling the AngularHtmlExtension for non-pure html files
Thank you, now it seems to be OK Product Version: NetBeans IDE Dev (Build 201307222300) Java: 1.7.0_40-ea; Java HotSpot(TM) Client VM 24.0-b52 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b33 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)