Author Topic: TODO list  (Read 1018 times)

Stu

  • Community Member
  • Posts: 57
  • Hero Points: -1
TODO list
« on: December 05, 2010, 02:59:40 pm »
I'd like a tab on the bottom pane showing all comments of TODO:, HACK:, FIXME:, BUG: (user defined). This was worth its weight in gold when I used jEdit and Eclipse. I've seen a painful hack for it, but it was just that a painful hack.

more options in the beautifier (maybe ability to support other languages like Lua)


MartyL

  • Senior Community Member
  • Posts: 161
  • Hero Points: 27
  • Synergex Software Engineer
TODO list
« Reply #1 on: December 06, 2010, 10:15:41 pm »
I've seen a painful hack for it, but it was just that a painful hack.

There's always this macro that adds a toolbar for it. Is this the painful hack that you're talking about?
http://community.slickedit.com/index.php?topic=6129.0

Stu

  • Community Member
  • Posts: 57
  • Hero Points: -1
Re: TODO list
« Reply #2 on: December 06, 2010, 11:48:33 pm »
yes. you have to manually generate the list, rather than it generating automatically and it only does TODO.

compare jedit vs se macro for the same file. the jEdit task list updates automatically, each item is a regex. Right now I have DEBUG, DONE, FIXME, IDEA, NOTE, QUESTION, TODO, HACK, XXX, ??? (3?), BUGID.

jEdit : http://i.imgur.com/GsNTa.png

SE : http://i.imgur.com/lNdVW.png


MartyL

  • Senior Community Member
  • Posts: 161
  • Hero Points: 27
  • Synergex Software Engineer
Re: TODO list
« Reply #3 on: December 07, 2010, 01:03:08 am »
I've actually got to say that I'm surprised how similar they are seeing as how I've never seen that feature before. I'd be happy to add some more functionality to it. I just figured that most people would break open the macro file and add things as needed.

Requests:

Support for additional labels (customizable through a gui, most likely)
Icon customization from the same gui
Automatically update the toolbar (either at a set interval or on SlickEdit's own Toolbar update events)

Anything else?

Stu

  • Community Member
  • Posts: 57
  • Hero Points: -1
Re: TODO list
« Reply #4 on: December 07, 2010, 11:52:36 am »
Hiya, didnt realise you were the author. Can you update on save? I think that would be a good compromise rather than reparsing after each linebreak or something. I only briefly looked at it, saw it didnt meet my needs and passed on it. My jEdit regexes are all like

Code: [Select]
\s*(DEBUG)(\s*):\s+(.+)$