elementary / code

Code editor designed for elementary OS
https://elementary.io
GNU General Public License v3.0
480 stars 112 forks source link

Show all TODOs in a project #136

Open cassidyjames opened 7 years ago

cassidyjames commented 7 years ago

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.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/46690438-show-all-todos-in-a-project?utm_campaign=plugin&utm_content=tracker%2F61917289&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F61917289&utm_medium=issues&utm_source=github).
cassidyjames commented 7 years ago

@tintou mentioned FIXMEs as well.

igordsm commented 4 years ago

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