Menu

#99 Structured Editor TAGS based Task support

closed-fixed
None
5
2015-03-20
2015-01-24
Harsha
No

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

Discussion

  • Matthew Ballance

    • status: open --> closed-fixed
     
  • Matthew Ballance

    Hello Harsha,
    I've just added support for the 1.7.3 release. Currently, 'TODO:' and 'FIXME:' tags are recognized.

    Best Regards,
    Matthew

     
  • Harsha

    Harsha - 2015-02-24

    Thanks Matthew!

    I am however finding it difficult to get it work. Can you describe the steps you used ?

    Thanks,
    Harsha

     
  • Matthew Ballance

    • status: closed-fixed --> open
     
  • Matthew Ballance

    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:

    /**
    
     * Class: my_class
     * This is documentation for my class
     *
     * TODO: Implement this class
     */
    

    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
  • Harsha

    Harsha - 2015-02-25

    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

     
  • Matthew Ballance

    Ah... I see what's going on. I wrote the code assuming task tags in the format that I use:

    // TODO: message
    

    It turns out that JDT considers the colon optional. I'll get this addressed and let you know.

     
  • Harsha

    Harsha - 2015-03-19

    Hello Matthew,

    This now works as expected. I am able to get the Tasks auto extracted from code.

    Thanks!
    Harsha

     
  • Matthew Ballance

    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB