Allow matching within comments
Opened this issue · 1 comments
For better or for worse, people use comments to deactivate code. How about a way to match within commented out code?
I am not sure if this is as simple as having a language definition that doesn't define comments.
hey @goretkin you're right it makes sense to match on commented code and I've played around with adding comment matching but haven't completed it yet. It's unfortunately not as simple as adding a language definition--comby
understands comments (they get parsed), but the logic where you have something like
/* :[match_comment body] */
where it means that "this hole is within a comment so match within the bounds of a comment", doesn't exist. The implementation gap for this part is here
Line 764 in a2ad280
Let's use this issue to track progress on that.