Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Where in JDT is task tag support implemented?
Where in JDT is task tag support implemented? [message #650427] Mon, 24 January 2011 19:43 Go to next message
No real name is currently offline No real nameFriend
Messages: 101
Registered: August 2010
Senior Member
Hi,

I would like to implement task tag support for my editor. Like, capture // TODO: blah blah and show it in the task view pane.

I looked at the implementation of the TaskPropertiesDialog (class that implements Edit -> Add task...) to get some initial ideas.

I want to know where in the JDT plugin code is the feature of task tag support is implemented? Can someone point me to the correct .java files (and their location in the heirarchy)?

The trick will be to go add some sort of a listener / document updater to a resource. When the user presses Save, this update gets called. It extracts all the comments with the TODO/FIXME/XXX etc tags and creates/updates tasks for them (if not already created).

Thank you for any ideas / help.
Re: Where in JDT is task tag support implemented? [message #650770 is a reply to message #650427] Wed, 26 January 2011 13:25 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 24.01.2011 20:43, pgbackup@yahoo.com wrote:
> Hi,
>
> I would like to implement task tag support for my editor. Like,
> capture // TODO: blah blah and show it in the task view pane.
>
> I looked at the implementation of the TaskPropertiesDialog (class that
> implements Edit -> Add task...) to get some initial ideas.
>
> I want to know where in the JDT plugin code is the feature of task tag
> support is implemented? Can someone point me to the correct .java
> files (and their location in the heirarchy)?
> The trick will be to go add some sort of a listener / document updater
> to a resource. When the user presses Save, this update gets called. It
> extracts all the comments with the TODO/FIXME/XXX etc tags and
> creates/updates tasks for them (if not already created).
There's a method called on your editor when it gets saved. At that point
simply parse the document and updated the task list.

Dani
>
> Thank you for any ideas / help.
Previous Topic:iGesture compilation error
Next Topic:Help Loading ImageIcons
Goto Forum:
  


Current Time: Thu Apr 25 01:14:17 GMT 2024

Powered by FUDForum. Page generated in 0.03325 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top