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 - Supporting user directives
Summary: Supporting user directives
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal with 7 votes (vote)
Assignee: Petr Pisl
: 245016 (view as bug list)
Depends on:
Blocks: 234990 234999
  Show dependency tree
Reported: 2013-08-26 07:52 UTC by Petr Pisl
Modified: 2016-03-24 21:17 UTC (History)
2 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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