Similarly to custom defines documentation, initialization macros can provide IDE completion and documentation for custom metadata using the methods:
The compiler argument --help-user-metas
displays a list of registered metadata.
haxe --lib somelibrary --lib another --help-user-metas