#29 Add FIXME and TODO highlighting as well as task listing

open
addons (35)
5
2010-08-15
2010-03-24
Ari
No

Currently the Addons plugin can scan the sourcecode and build a Task list based on TODO and FIXME keywords.

This is to ask the addition in that plugin of:

- the option to Highlight the TODO and FIXME keywords in the code itself, with red or some distinct other foreground/background color. This is similar to what emacs can do [1]

- adjust the current Task list such that entries in the Task list are added even if the TODO / FIXME line does not contain further description. It is common in some workflows to leave #TODO or #FIXME notes in stubs, which are missed by the current task builder. I would be useful doing this by prefixing or suffixing the task entries with a line number such as "TODO (123)"

Thanks for this useful extension.

[1] http://emacs-fu.blogspot.com/2008/12/highlighting-todo-fixme-and-friends.html

Discussion

  • dmaphy

    dmaphy - 2010-03-24

    As I wrote on the mailing list a few days ago, I think the keybinding Ctrl-Shift-M actually does the job. Additionally you can install/use the addons plugin and use the double-click feature to hilight words. I don't see any big necessity to have such a feature, even though it may would be a nice-to-have which could be implemented into the addons plugin in some way.

     
  • dmaphy

    dmaphy - 2010-03-24

    The second feature is already implemented in the development version of the addons plugin. Since I assume it will take a bit until a new geany-plugins release will be out, you may want to install it from SVN.

    The above mentioned double-click feature maybe is just available in development version, also.

     
  • Enrico Tröger

    Enrico Tröger - 2010-03-29
    • status: open --> closed
     
  • landroni

    landroni - 2010-08-08

    Invoking Ctrl-Shift-M manually is nice, but it has some drwabacks, such as working on one string at a time. This is probably nothing general, but I'm currently using 4 different strings. At the same time the double-click feature to highlight words can interfere with the workflow, so I'm reticent to enable it.

    Some (optional) automatic highlighting of the TODO strings could be nice, although I'm not sure that this is worth the effort.

     
  • Enrico Tröger

    Enrico Tröger - 2010-08-15
    • status: closed --> open
     
  • Enrico Tröger

    Enrico Tröger - 2010-08-15

    As Dominic said, part of the request is already implemented (empty TODO/FIXME items).

    Highlighting them on the fly in the editor might cause performance impacts. I won't work on this myself but would accept patches.

    Re-opening as this isn't solved yet.

     
  • Nobody/Anonymous

    Why is this feature limited to the current document ? It would be great if there was a separate window or something with all the todo's and fixme's listed for the whole directory :)

     
  • landroni

    landroni - 2010-09-22

    It is not. To view TODO notes for all open documents check the relevant option in Edit > Plugin preferences > Addons

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks