Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » keybinding for focusing a view
keybinding for focusing a view [message #1299566] Thu, 17 April 2014 02:05 Go to next message
Greg Amerson is currently offline Greg AmersonFriend
Messages: 118
Registered: March 2010
Senior Member
Is there a default keybinding or a way to configure a keybinding for the "focus view" action that is available on package/project explorer views?

I would use the mylyn context view focusing a lot more if there were an easier way for toggling focus on/off than having to reach to click the view action (I avoid plugging in my mouse to my laptop, if I can help it Smile

If this is unavailable out of the box, I can try to contribute it.

Thanks.
Re: keybinding for focusing a view [message #1300538 is a reply to message #1299566] Thu, 17 April 2014 16:51 Go to previous messageGo to next message
Sam Davis is currently offline Sam DavisFriend
Messages: 60
Registered: July 2012
Member
There is no keybinding but this seems like a good idea. Feel free to open a bug at https://bugs.eclipse.org/bugs and push a review to Gerrit. Keybindings can be configured for commands in Preferences > General > Keys so what you would probably need to do is provide a Command that calls the focus action. The tricky thing is that there's a different focus action for each view, and it would be nice to have one command that calls the focus action for the currently active view, rather than having a separate command for each view, but you would need to find a way to get the focus action (subclass of AbstractFocusViewAction) for a view.

If this is your first time contributing, you might want to take a look at https://wiki.eclipse.org/index.php/Mylyn_Contributor_Reference#Getting_Started_2

Cheers,
Sam
Re: keybinding for focusing a view [message #1301385 is a reply to message #1300538] Fri, 18 April 2014 04:39 Go to previous messageGo to next message
Greg Amerson is currently offline Greg AmersonFriend
Messages: 118
Registered: March 2010
Senior Member
Hey Sam,

Thanks for the update. I've created a enhancement request: https://bugs.eclipse.org/bugs/show_bug.cgi?id=433062

Also I have this working in my dev workspace so I will work on getting it pushed to gerrit for review.
Re: keybinding for focusing a view [message #1301417 is a reply to message #1301385] Fri, 18 April 2014 05:03 Go to previous message
Greg Amerson is currently offline Greg AmersonFriend
Messages: 118
Registered: March 2010
Senior Member
Here is contribution: https://git.eclipse.org/r/#/c/25250/
Previous Topic:create context from git diff
Next Topic:Removal of Local task repo - safe?
Goto Forum:
  


Current Time: Fri Aug 28 19:15:09 GMT 2015

Powered by FUDForum. Page generated in 0.02616 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software