In large projects there are a lot of task tags like TODO, FIXME, etc. and Eclipse provides only plain list of all these task tags which I think is difficult to use. "Task Tag Decorator" plugin is a simple plugin which can decorate "Package Explorer" view with icons or text decorations.Note that decorations will be propagated to upper levels (for instance if package contains class with task tag this decoration will be propagated to the package and its parents). Also note that decorators have priority, i.e. decorator at the top of the decorators table in "TODO/Task Tag Decorator" editor has the highest priority. This means that if package has 2 classes with 2 decorations then package will be decorated with decoration which has the highest priority (if 2 decorations can be applied simultaneously then 2 decorations will be displayed, like 2 image decorations one top-left and another bottom-right).
Task Tags Decorator Editor
All these decorations can be configured using "TODO/Task Tag Decorator" page in "Eclipse Preferences" editor. Decoration can include image decorators (top-left, top-right, bottom-left, bottom-right) and text decorations (preffix and suffix text). Note that task tags are provided by task tag providers (like JDT) so in task tag selection combobox you'll see composed names like this: "[provider name] [task tag name]". At the bottom of the editor there is an example of what you will get when decorator is put in use.
Below you can find screenshot of the "Task Tag Decorator" editor. It describes decorator for "JDT" task tag with name "TODO" which adds "!" image to the top-right corner of the image (example decoration is shown in "Example" control).
Come to know more about: http://www.the-eventhorizon.com/fun/eclipse-todo/
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: March 8, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles