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.

  • 3
    I may be wrong but I think this question is not about Vim but about the utility ctags (or its equivalent) thus your question would be more appropriate for a site like the original SO or maybe U&L – statox Nov 2 '16 at 19:00

You can add ctags support for external languages not included on default parsing config.

docs: extending ctags

By using --langdef=QML and then creating a regex to help define the types of patterns ctags will parse as tags.

--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.)

Not the answer you're looking for? Browse other questions tagged or ask your own question.