Bug 260627 - pre-populate context of tasks created from TODO markers with class referenced by marker
Summary: pre-populate context of tasks created from TODO markers with class referenced...
Status: RESOLVED DUPLICATE of bug 246253
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P4 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2009-01-10 18:02 EST by Lars Vogel CLA
Modified: 2011-01-04 15:50 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2009-01-10 18:02:02 EST
Build ID: M20080911-1700

Steps To Reproduce:
Hi,

I can put a marker in the Java coding via //TODO. The Task view allows me to create a new Mylyn Task for this. Unfortunately the Java class which contains the //TODO is not included into the Mylyn Task context.

I believe it would be better and consistent if this class would be put in the context. Please consider this feature request. 

Best regards, Lars


More information:


More information:
Comment 1 Steffen Pingel CLA 2009-01-10 21:34:33 EST
Can you clarify in which context the Java file should appear? Would you expect the context of the task created from the marker to be pre-populated with the source file?
Comment 2 Lars Vogel CLA 2009-01-11 08:13:23 EST
Hi Steffen,

yes I think that would be the right way. You create a Mylyn task for a todo in a source file. This source file should be added to the context of the new task.

Best regards, Lars
Comment 3 Jörg Thönnes CLA 2009-07-30 16:52:16 EDT
Steffen, the original issue of Lars was that if you activate a new task without any context, the context will be pre-populated with the already open files, ie all files open on activation will stay open and get part of the context.

On the other hand, if you activate a task which already had some context, all currently open files which are not part of the context will be closed.

I remember that this feature existed a while ago. If it disappeared somehow, this should be another bug IMHO.


Comment 4 Steffen Pingel CLA 2009-11-05 04:24:03 EST
.

*** This bug has been marked as a duplicate of bug 246253 ***