Skip to content

Help ! How to skip part(s) between markers from C++ source file #3267

Answered by masatake
guerinp38 asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for reading the document. If you find a way to improve it, pull requests (and questions like this issue) are welcome.
In past years, I have been working hard to make ctags helpful for this kind of use case.

I think using 3 states will be more understandable.
The first step is implementing a parser X. The parser doesn't make a tag at all. Instead, it recognizes the areas of C++ code that should be tagged, and plans running C++ parser on the areas. And the second step is ... there is no second step. That's all.

I wrote two versions (toggle0.ctags and toggle1.ctags) that may fix this issue.

I changed the marker from "TAGS_ON" to "//TAGS_ON".
I changed the marker from "TAGS_OFF" to …

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@masatake
Comment options

Answer selected by guerinp38
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@masatake
Comment options

@guerinp38
Comment options

@masatake
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants