Structured Editor TAGS based Task support
Status: Beta
Brought to you by:
mballance
Hi,
Eclipse editors support auto Eclipse Tasks creation using tags in form of embedded TODO or TBD comments. It would be a useful feature if SVE can implement this.
refer: https://sourceforge.net/p/sveditor/discussion/833802/thread/95c44bfb/#f109
Thanks
Harsha
Hello Harsha,
I've just added support for the 1.7.3 release. Currently, 'TODO:' and 'FIXME:' tags are recognized.
Best Regards,
Matthew
Thanks Matthew!
I am however finding it difficult to get it work. Can you describe the steps you used ?
Thanks,
Harsha
SVEditor scans files for tags that have been specified to be indexed, so the first thing to confirm is that the file to which you've added a task tag has a little blue dot next to it in the project explorer.
The one corner case that I'm aware of is that a comment is determined to be a NaturalDocs comment, a Task comment, or neither. This means that if you add a task tag to a NaturalDocs comment, the task tag will be ignored. For example:
In this case, the TODO tag would be ignored, since the comment is determined to be a NaturalDocs comment.
I'll re-open this issue for tracking until we determine how to make this work in your environment.
Last edit: Matthew Ballance 2015-02-24
Hello Matthew,
Thanks for opening this one.
I can confirm that the file is part of the filelist and is being indexed. There is a blue dot.
My Tags are like below
some code ...
// TODO XYZ
some code ...
regards
Harsha
Ah... I see what's going on. I wrote the code assuming task tags in the format that I use:
It turns out that JDT considers the colon optional. I'll get this addressed and let you know.
Hello Matthew,
This now works as expected. I am able to get the Tasks auto extracted from code.
Thanks!
Harsha