Out of desperation due to https://github.com/atom/symbols-view/pull/229, I tried to use ctags -N. But ctags than outputs prefix regex patterns for the macros instead of line numbers, which symbols-view also doesn't handle.
Alternate Designs
In reality, those are really vi regex patterns. A truly proper implementation will try to match them as regex, possibly transforming vi regex constructs to JavaScript ones. As another note, it is also possible to request backwards search patterns via ctags -B which symbols-view also won't handle but I don't think many people really do that...
Benefits
prefix patterns in ctags will be recognized and used correctly.
Description of the Change
Out of desperation due to https://github.com/atom/symbols-view/pull/229, I tried to use
ctags -N
. But ctags than outputs prefix regex patterns for the macros instead of line numbers, which symbols-view also doesn't handle.Alternate Designs
In reality, those are really vi regex patterns. A truly proper implementation will try to match them as regex, possibly transforming vi regex constructs to JavaScript ones. As another note, it is also possible to request backwards search patterns via
ctags -B
whichsymbols-view
also won't handle but I don't think many people really do that...Benefits
prefix patterns in ctags will be recognized and used correctly.
Possible Drawbacks
Additional Complexity. Bugs?