Is it possible to generate ctags for QML? Except for writing the parser by my own? It is not in the list of supported languages on http://ctags.sourceforge.net/ but I still hope there is a chance to avoid writing my own parser.
closed as off-topic by statox♦, EvergreenTree, jamessan, Martin Tournoij♦ Nov 3 '16 at 2:33
- This question does not appear to be about Vi and Vim family of editors, within the scope defined in the help center.
You can add
ctags support for external languages not included on default parsing config.
--langdef=QML and then creating a regex to help define the types of patterns
ctags will parse as tags.
--langdef=QML --langmap=QML:.QML,.qml --regex-QML=/^qml tag definitions/
This extra config info needs to be stored in your home directory in file named
.ctags. (I don't know the Windows locations for this.)