Is there a way to define and display nested types in custom languages. I have, for example, functions that are part of struct. How can I have them show as children of the struct in tree view?
Thanks,
o
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Another question about the custom languages: can I define comments? I have both line comments and block comments in the language I'm trying to define, and right now the regexps catch also definitions that are commented out.
Thanks,
o
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Line comments should be doable - e.g. by excluding characters in the regex.
While multiline comments are not supported by the regex approach, since ctags
regex is working on single lines only..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Is there a way to define and display nested types in custom languages. I have, for example, functions that are part of struct. How can I have them show as children of the struct in tree view?
Thanks,
o
Hi,
unfortunately it is not possible to support scoping for custom languages.
You would need to write a language parser in C in order to extend ctags.
greets
Thanks for the quick reply!
Another question about the custom languages: can I define comments? I have both line comments and block comments in the language I'm trying to define, and right now the regexps catch also definitions that are commented out.
Thanks,
o
Line comments should be doable - e.g. by excluding characters in the regex.
While multiline comments are not supported by the regex approach, since ctags
regex is working on single lines only..