Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Here's a question for any monks out there who use or have used Eclipse's EPIC plugin to write Perl projects. Hopefully Perl-related enough for SOPW =)

I am trying to configure Eclipse's Tasks View properly - which collects and itemizes tasks based on keywords found in comments across projects. This has turned out to be surprisingly counterintuitive.

I believe that the functionality at work here is that EPIC is responsible for marking 'Task' objects, since each interpreter/compiler has its own configuration for this. These objects are then passed to Eclipse's Task handler which is then capable of sorting them based on a description keyword match into types, priorities, tracking completion, even the scope which it should appear in.

That's all fine I suppose, I am able to add tags to the EPIC Task configuration (Window->Prefs->Perl EPIC->Task Tags) but I am unable to use the finer grained control and filtering that Eclipse's Task View provides. EPIC does not even implement a task view type - tasks seem extremely bare-bones and are sent as generic Eclipse 'Task' objects.

Basically, EPIC treats all task tags the same as long as they match any tags specified in the EPIC configs. It then passes the text following these tags as the 'Description' column for the task to Eclipse's Task View.

I'd like to be able to specify several different task tags (TODO,TASK,INV,FIXME,etc) and then associate priorities with these tags.

The root of my problem was that EPIC was assigning all its tags a priority of 'normal' before handing them to Eclipse's Task View. Took me a while to realize that priority was decided by the plugin (looking at other editor prefs - Java->Compiler->Task Tags), while I was trying to assign it based on the description contents within Eclipse's Task View configs. Since there is no priority feature in EPIC's task tag configs I'm concerned that task priorities are not supported.

As of this writing I can create generic 'normal' priority EPIC tasks using whatever keywords I choose - but they are all treated the same. The workaround that I am currently using then uses Eclipse's Task View configuration to assign different types based on a keyword in their description. Some examples to make this more clear:

Task formatting in Eclipse:

# TAG description

EPIC consumes TAG (if it is listed in its tasks tags configs) and passes 'description' to Eclipse's Tasks View with a priority of 'normal'. Well, I want to at least be able to differentiate between a TODO and a FIXME in the Tasks View...

# workaround, but annoying: # TASK (INV) see what this is really doing # TASK (TODO) refactor this code # TASK (FIXME) this is way broken

So EPIC knows to look for my generic TASK tag. The Eclipse Task View looks in the description for a keyword to assign the type of task. All this gains me is the ability to filter tasks by task type. Better than nothing, but I sure wish that I could do something with priorities. What I'd really like to be able to do is something like what other editors in Eclipse are capable of:

# TODO write something new here # INV there's got to be a better way to do this # FIXME this is broken # TODO (LOW) get to this eventually # TODO (MED) get to this in a little bit # TODO (HIGH) get to this next

This would allow me finer grained, less redundant task creation and filtering in Eclipse. Not to mention that I could use priority to change task scope of high priority tasks in other projects to show up on my tasks list when working on other projects.

After playing with all this for a while I was of course made aware of Mylyn, which is a very feature rich task management tool. I don't really need and/or like all of the features. I like how easy and simple Eclipse's current task management implementation is (supposed to be) and Mylyn feels like huge overkill for my purposes.

TLDR:
Has some enterprising monk figured out how to get task priorities to work across EPIC's task tags to Eclipses Tasks View?


In reply to Eclipse: EPIC and the Tasks View by temporal

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-24 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found