Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 152234 - Commands for quick Open/Activate/Deactivate Tasks
Summary: Commands for quick Open/Activate/Deactivate Tasks
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 0.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Willian Mitsuda CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 152173 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-28 22:09 EDT by Willian Mitsuda CLA
Modified: 2007-01-26 21:53 EST (History)
3 users (show)

See Also:


Attachments
Initial implementation (23.31 KB, patch)
2006-07-28 22:20 EDT, Willian Mitsuda CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Willian Mitsuda CLA 2006-07-28 22:09:14 EDT
I really hate to have to use the mouse just to open or activate a task, or deactivate the current task.

In Eclipse I have the habit to use Ctrl+Shift+T every time I want to open a type, or Ctrl+Shift+R to open a resource, wherever it is, or Ctrl+F4 to close the current file.

I think the same would be made for tasks.
Comment 1 Willian Mitsuda CLA 2006-07-28 22:20:35 EDT
Created attachment 47001 [details]
Initial implementation

I made a initial implementation for this feature. Feel free to make any suggestions.

It contributes 3 commands:

- Open Task -> Ctrl+Shift+F11.
- Activate Task -> Ctrl+Shift+F12.
- Deactivate All Tasks -> Ctrl+Shift+F9.

Unfortunately there is no more "Ctrl+Shift+<any-letter>" keybindings available, so I had to use the F-keys, because of lack of any better idea... F9, F11 and F12 were the more comfortable combinations I found.

The "Open Task" and "Activate Task" commands present a dialog like "Open Type/Resource".

They support filtering on tasks and query hits, and persist the position/size across  open/close sessions.

They also use the task activation history to make proposals on filtering, like "Open Type" (filtered tasks who are in history have higher priority than the others; the others came up after the history proposals in alphabetical order).
Comment 2 Mik Kersten CLA 2006-08-04 03:20:27 EDT
Cool!  Patch applied.  Just had to do this before I take off on vacation so that others have a chance to check it out :)  That will also give us a chance to formulate opinions on shortcuts and interaction in time for 0.6.2, since we'll need to iterate on this.  I fixed a minor bug with task activation not refreshing the list, but that notification should have been encapsulated on our end.  This will be in today's dev build.
Comment 3 Willian Mitsuda CLA 2006-08-04 10:19:24 EDT
Good. Thanks Mik!
Comment 4 Mik Kersten CLA 2006-08-25 18:24:24 EDT
Willian, I'm re-assigning to you since you resolved this report.  We have not come up with better shortcuts than the current Ctrl+Shift+F11/F12 for this, so are you happy with it going out with 0.6.2 with those as the shortcuts?  We did consider Ctrl+Alt+Shift+T since we use Ctrl+Shift+Alt in a few other places and it's not much harder to press than Ctrl+Shift...  
Comment 5 Mik Kersten CLA 2006-08-25 18:28:14 EDT
Done.  Still need to add actions to toolbar: bug 154444
Comment 6 Willian Mitsuda CLA 2006-08-25 18:29:45 EDT
OK, I think we can just let the current keybindings at least until we gather more feedback.

I considered using Ctrl+Alt+Shift+<ANY KEY>, but my fingers didn't like it very much :)
Comment 7 Mik Kersten CLA 2006-08-25 18:31:25 EDT
That's what Eugene said on another report :)
Comment 8 Eugene Kuleshov CLA 2007-01-26 21:53:47 EST
*** Bug 152173 has been marked as a duplicate of this bug. ***