views:

117

answers:

4

I have searched for such a plugin but haven't found any. I need a facility to "tag" my java files. Similar to tagging on stackoverflow.

I want to be able to group my files based on projects/tasks I wam working on. Mylyn helps a little but it dynamically changes the context (list of resources associated with a task) based on various factors.

I just want a basic tagging facility for all the files in my workspace.

+1  A: 

http://taggerplugin.sourceforge.net/

insin
A: 

There is a plugin called Resource Tagger which may do what you are looking for. Report back on what you find works please.

etchasketch
A: 

I would recommend tagging them with tag interfaces -- these will persist across checkins and different workspaces.

Something like

public interface Observer {}  // no required methods

and then when you want to tag a class as an observer, you do

public class SomeClass implements Observer {...}

In eclipse, you can then open a hierarchy view on the tag interface (Observer in this instance) and see everything that implements it.

You could also use annotations for tagging as well.

In both cases, you could also write code that reflects your code base to find tagged classes.

Scott Stanchfield
A: 

Since you're already using Mylyn, try right-clicking on the file you want to "tag" and select "mark as landmark". The landmarked file will then stay put in your context.

wesleycoelho