NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Ability to change text keyword in to-do list


Joined: 14 Apr 2007
Posts: 96
Reply with quote
It would be nice if you could specify what the keyword is for "TODO" in the to-do area. The reason for this request is that we often work in many shared libraries where other developers have already littered the code with the "TODO" keyword. This results in a to-do list that is cluttered with hundreds of items that are not for you. If each developer could modify the keyword string that shows up ("myTODO", or "usernameTODO", or something like that) then he could only see his comments.

Bonus points if you make it so that more than one keyword string can show up.
View user's profileFind all posts by rodericksimpsonSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
No need not to follow the standards.
Username can be a part of TODO without any changes in the software. See Owner column - enter your name here after you added the item.
Also you can add some text in Category
Later we'll add filters for these two columns. Meanwhile just sort the list by either of the columns to quick navigate to all your items.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 14 Apr 2007
Posts: 96
Reply with quote
Perhaps I misunderstand. I think you are saying that I just edit the entry the todo section, however, I tried to edit those two fields but it would not let me. I tried double-clicking and also right-click / edit.



I guess what I was hoping for was something that wouldn't take two steps. Rather, it was in the comment.

For example, I use this all the time:

//@todo delete me!
DebugBreak();

I have it set as a shortcut so i just type dbb then ctrl+j.

It would be great if it could be something like this:

//@todo delete me!
//@owner fred
DebugBreak();
View user's profileFind all posts by rodericksimpsonSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
The problem with @todo is that it has no necessary syntax flexibility.
@owner may relate to for example the object below the comment, like in case of @var


Try the following:

// todo: fixme

and it will allow you to add/edit Owner and Category

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 14 Apr 2007
Posts: 96
Reply with quote
Dmitri,

Thank you, that did help.

I also noticed that it modified the comment with my name and category:

// todo -c mycategory -o myname: fixme

This is great. I will just modify my shortcut to:

// todo -c reminders -o myname: Delete me
//DebugBreak();

And then myname is populated in the list.

Thanks!
View user's profileFind all posts by rodericksimpsonSend private message
Ability to change text keyword in to-do list
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic