Ideally the TODO matching would only operate in comment context.
Currently it seems to match any occurrence of the search pattern--whether or not it is in a comment.
For example:
var map = {
TODO: "not a comment",
FIXME: "still not a comment"
};
var str = "TODO: in a string";
Ideally the TODO matching would only operate in comment context. Currently it seems to match any occurrence of the search pattern--whether or not it is in a comment.
For example: