How to make etags
generate tags for both the declaration (i.e. inside the @interface
block) and the definition (i.e. inside the @implementation
block)?
The default behavior is only to generate tags for the definition. I've already tried to invoke etags
with --declarations
but that didn't solve the issue. A way would be to pass a custom regexp but I'm not that familiar with the syntax used by etags
.