code icon indicating copy to clipboard operation
code copied to clipboard

Show all TODOs in a project

Open cassidyjames opened this issue 8 years ago • 3 comments
trafficstars

From Launchpad bug 1656485:

There's an Atom plugin I love that lists all TODOs, FIXMEs, etc. in a project: https://atom.io/packages/todo-show

It'd be awesome to have a plugin to do something similar in Scratch.

cassidyjames avatar Jun 28 '17 16:06 cassidyjames

@tintou mentioned FIXMEs as well.

cassidyjames avatar Jun 28 '17 17:06 cassidyjames

Dear elementary devs,

I was able to hack a plugin to find TODOs for single files and put them in the bottom (using hook_notebook_bottom and hook_document). It looks like ProjectFolderItem.find_items can be used to list all project files, but I am not sure. Regardless, this is how it looks right now:

Screenshot from 2020-03-01 20-57-42

Aside from the obvious lack of design, I am not sure how to expand this for projects/folders. Should TODOs appear on the sidebar? At the bottom? Do we crawl every project on startup or should we activate it only when needed?

Of course, if it is fine for files only I can polish the current implementation and submit it as a PR as well.

Best regards

igordsm avatar Mar 02 '20 00:03 igordsm

Using vala-lint (with appropriate config) will list TODOs and FIXMEs but it would be nice to have the output as hyperlinks.

jeremypw avatar Jun 17 '25 14:06 jeremypw