Bug 329944 - populate context with open editors (was: create new task from open editors)
Summary: populate context with open editors (was: create new task from open editors)
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement with 4 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted
Depends on:
Blocks:
 
Reported: 2010-11-10 15:13 EST by Lars Vogel CLA
Modified: 2014-03-24 05:03 EDT (History)
9 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 2010-11-10 15:13:34 EST
It would be create if you have a command "Create new task from open editors". This would make the creation of a new task for an existing context much more user friendly.
Comment 1 Steffen Pingel CLA 2011-04-05 15:36:35 EDT
I like that idea. This could be as simple as adding a check box the New Task wizard and/or an option to the context menu of the Task List to add open editors to the context.

I'm marking this bug as helpwanted. Should be pretty straight forward to implement.
Comment 2 Marc Paquette CLA 2011-04-11 08:38:27 EDT
Here is an informal "use-case" I frequently encounter:

  I start eclipse, I have no task activated, I open a couple of files
  hunting for the cause of a bug then someone ask me to work on something
  else.
 
  I would like to copy my "current context" to one of the inactive tasks,
  perhaps creating a new one along the way and then activate another task
  present in my task list to start working on this new stuff.
 
  I can't find a way to get a hold on this "current context" (but my package
  explorer is focused and I only see classes and methods I visited) because
  I have no tasks presently active.

I don't know the internals, but I guess what I call "current context" is
mainly the list of "open editors".
Comment 3 paul humphrey CLA 2012-02-13 10:33:53 EST
I agree with the previous comments.
I see this as two requirements

1. Add feature to Eclipse to allow creating a new Working Set from opened editors
2. Link this feature to Mylyn task creation.
Comment 4 Garret Wilson CLA 2012-09-03 13:29:33 EDT
So my client's direct URL connection to JIRA has been down and I've been working on JIRAs "blind" in Mylyn. Now they've fixed the connection, and I'm working on a bug---so I want to associate my open files with the JIRA task and activate it. I suppose that this feature request would handle that.
Comment 5 Chris Reynolds CLA 2013-02-13 04:56:58 EST
I think this would be really useful.

Currently the best workaround I've found is to subsequently create a task and activate it, then click through each of the open editors to add it into the context. Not ideal though as Mylyn often closes some of them before you get to click them. Using the back button to go back through your history can help with this too.


As for the fix, it may be useful to select which of the open editors you want to include. Although I guess you could always add everything then remove the ones from the context that aren't relevant.
Comment 6 Lars Vogel CLA 2014-03-24 05:03:15 EDT
I'm clean up my bug reports. Please reopen in case you plan to work on this.