-
Hello, I try to ignore extraction of function (or methods) between twomarkers, say
I've read the documentation and found "Advanced pattern matching with multiple regex tables" which seems Here is the c.ctags file I've made and the ctags invocation on the first comments
Any idea or advice ? Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Thank you for reading the document. If you find a way to improve it, pull requests (and questions like this issue) are welcome. I think using 3 states will be more understandable. I wrote two versions (toggle0.ctags and toggle1.ctags) that may fix this issue. I changed the marker from "TAGS_ON" to "//TAGS_ON".
|
Beta Was this translation helpful? Give feedback.
-
Hello Masatake, Thank you for your answer. It works great ! I think my english is not so good and I have to read more than once the documentation ;)
I will try with pcre2, Kind regards, P.S. |
Beta Was this translation helpful? Give feedback.
-
I don't understand this sentence. Is this suggestion to me?
Yes. Though I wrote, I also think so:-P |
Beta Was this translation helpful? Give feedback.
-
I've made some timings whithout and with toggle0 on
I've build it myself for each OS from commit 05e6ab4 on 35 cpp files, (24 827 lines/832 432 bytes) All files reside on the windows7 machine. To use pcre2 on windows, I will try to modify the makefiles. Kind regards |
Beta Was this translation helpful? Give feedback.
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 …