Issue
For my PHP project which uses custom HTML tags for template part of the framework I would like to define Netbeans customs.json file, which can contain these new tags. Empty file in nbproject directory called customs.json looks like the one below. Is there any descrition of what I can define and how in this file? (e.g. definition that some tag can be only inside of another tag ... something like TR must be inside of TABLE tag ... but for my custom tags ...)
customs.json
{
"attributes": {},
"elements": {}
}
Solution
AFAIK there is no documentation, but easy way to add some definitions is to use custom tag/custom attribute in your HTML file, NetBeans will mark with error or warning with a bulb icon on the left of the line with the "error". Click on the bulb icon and IDE will offer you to define custom element, custom attribute, custom attribute on specific element etc. These action will add definitions to the customs.json file. Once you do this, they will also show in code completion together with common tags/attributes.
Answered By - ladar