https://bugs.kde.org/show_bug.cgi?id=443118

--- Comment #6 from Luke Horwell <c...@horwell.me> ---
Looking at the source code again, the file
"plugins/clang/duchain/todoextractor.cpp" suggests that Clang is used to
extract TODO markers, which would confirm by design it's limited to the C
family of languages.

A solution could be to add logic to the problem reporter's model that parses
commented lines (for any known language) against the list of TODO markers.
Maybe there's something in KTextEditor/KPart/duchain (whichever handles the
syntax highlighting) that can help filter a document's lines to comments only.

My C++ is extremely limited, otherwise I'd give it a stab. A workaround for now
could be to add an "external script" that executes:  "egrep -n 'FIXME|TODO' %f"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to