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.

Bug 234998

Summary: Supporting user directives
Product: web Reporter: Petr Pisl <ppisl>
Component: AngularJSAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: douglasv, ppisl
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 234990, 234999    

Description Petr Pisl 2013-08-26 07:52:30 UTC
NetBeans needs to understand to app.js file to know, how the controllers are defined. In this file are also defined directives. If NetBeans will be able to obtain names of the directives from this file, then the directives can be offered in the html pages as standard directives are.
Comment 1 Petr Pisl 2013-12-17 13:46:59 UTC
Still valid. Not implemented in NB 8.0
Comment 2 Roman Svitanic 2014-10-02 12:19:44 UTC
*** Bug 245016 has been marked as a duplicate of this bug. ***
Comment 3 gbivins 2014-11-22 06:33:22 UTC
This is still an issue in 8.0. Is it being considered for fixing?
Comment 4 Maiakaat 2016-03-24 21:17:05 UTC
I wonder if this could be implemented through some sort of dynamic/live schema applied in addition to the rules/schema for whichever XML derivative is used, the functionality could then be extended to any software which needs similar functionality.

The dynamic schema would be updated in real-time with code changes from the project files, with a dynamic schema for each file, in addition to it's base schema, and maybe the option to disable the whole feature by default unless a seed template/project requires this support

You could then right click a file and select view custom tags/directives, to check which are exposed to a given file in the dynamic schema