atom-todo-show icon indicating copy to clipboard operation
atom-todo-show copied to clipboard

BUG: Keywords in strings in code not ignored

Open dsanalytics opened this issue 6 years ago • 2 comments

Hi, todo finds and lists keywords even if when are just code strings - e.g. print('REVIEW DETAILS") gets that line listed in todos. Thanks in advance.

OS: Win10 64bit Atom: 1.23.2 x64

P.S. Thanks for the great plugin

dsanalytics avatar May 10 '18 15:05 dsanalytics

I have yet to find a good way to register if a found string is in code or comment, that works across all languages. Until then; this is the behaviour to not accidentally hide todos for some.

mrodalgaard avatar Aug 25 '18 17:08 mrodalgaard

An example of this happening in Rails erb file if it's helpful:

<%= link_to("REVIEW ORDER", … %>

willlma avatar Jan 10 '19 23:01 willlma