Home » Eclipse Projects » Subversive » Assign hotkeys for Team>Commit/Update
|
Re: Assign hotkeys for Team>Commit/Update [message #38982 is a reply to message #38928] |
Wed, 10 December 2008 13:02 |
Radoslaw Jozwik Messages: 33 Registered: July 2009 |
Member |
|
|
Leftblank pisze:
> I'm unsure if it's yet possible, if so, my apologies for this post,
> however, I'm trying to assign a hotkey in Eclipse to the action Team ->
> Commit, or Update for that matter. The only actions I can choose from
> are the options for CVS, which I suppose are Eclipse-default. Sadly the
> only relevant posts I've been able to find regarding this were dated
> 2006 and I'd expect things to have changed by now.
>
> So my question is whether its possible to assign hotkeys to those
> actions yet. If so, it'd be greatly appreciated if you could tell me how.
What version of Subversive do you have? In my version (0.7.5) I have
default key bindings for Commit (Ctrl+Alt+C) and Update (Ctrl+Alt+U).
You should be able to change key bindings in General -> Keys preferences
window. The easiest way to find them is to filter them out by using
filter input field (it is input field with "type filter text" text
inside). Key bindings are in SVN category.
Note: There is a bug #225930 related to key bindings
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=225930) marked as closed,
but it is still valid for my version of Subversive.
Regards,
Radoslaw Jozwik
|
|
|
Re: Assign hotkeys for Team>Commit/Update [message #39769 is a reply to message #38982] |
Tue, 23 December 2008 17:00 |
Igor Burilo Messages: 435 Registered: July 2009 |
Senior Member |
|
|
Hello Radoslaw,
You wrote that you have problems related to bug #225930. Unfortunately we
can't reproduce it. Could you please provide additional information: your
environment (Subversive version, SVN Connectors, Eclipse version, OS etc.
Also I saw your comment to this bug with Eclipse and Subversive version),
probably there are some notes worth to mention (maybe you changed key
bindings) and reopen it?
> Leftblank pisze:
>> I'm unsure if it's yet possible, if so, my apologies for this post,
>> however, I'm trying to assign a hotkey in Eclipse to the action Team ->
>> Commit, or Update for that matter. The only actions I can choose from are
>> the options for CVS, which I suppose are Eclipse-default. Sadly the only
>> relevant posts I've been able to find regarding this were dated 2006 and
>> I'd expect things to have changed by now.
>>
>> So my question is whether its possible to assign hotkeys to those actions
>> yet. If so, it'd be greatly appreciated if you could tell me how.
>
> What version of Subversive do you have? In my version (0.7.5) I have
> default key bindings for Commit (Ctrl+Alt+C) and Update (Ctrl+Alt+U).
>
> You should be able to change key bindings in General -> Keys preferences
> window. The easiest way to find them is to filter them out by using filter
> input field (it is input field with "type filter text" text inside). Key
> bindings are in SVN category.
>
> Note: There is a bug #225930 related to key bindings
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=225930) marked as closed,
> but it is still valid for my version of Subversive.
>
> Regards,
> Radoslaw Jozwik
|
|
| | | | |
Re: Assign hotkeys for Team>Commit/Update [message #41153 is a reply to message #40913] |
Thu, 05 February 2009 14:53 |
Igor Burilo Messages: 435 Registered: July 2009 |
Senior Member |
|
|
Hello Radoslaw,
Aha, you call key shortcuts from editor, then I consider that this is normal
behaviour that they don't work, because actions consume resources selection
as their input, e.g. from Package Explorer, Navigator and don't react to
editor in which file is opened. You can simply check it by making selection
on one file in Package Explorer and open another file in editor(make editor
as active) and then call shortcuts, as a result you will have action called
on selected file but not on a file from editor(also I got that action wasn't
called because resources selection wasn't active).
> Igor Burilo wrote:
>> I tried to reproduce the problem in the following way: I selected a file
>> in Package Explorer by mouse and pressed Ctrl+Alt+L and got a Compare
>> dialog, then I again pressed Ctrl+Alt+L and didn't get Compare dialog. I
>> noticed that I didn't have Compare dialog second time because there
>> wasn't any selection(previously selected file after appearing a Compare
>> dialog lost a focus). So if I explicitly select a file and press a
>> shortcut, everything works.
>> Could it resolve your problem?
>
> Hello Igor,
>
> Your description works when applied to the file selected in Package
> Explorer, but I was trying to use shortcuts on file opened in the editor.
> Try this:
> 1. Open file in the editor, make sure you have focus inside editor and
> press Ctrl+Alt+L. Compare dialog will be opened.
> 2. Close compare dialog and when still having focus in the editor press
> Ctrl+Alt+L again. This time compare dialog will not be shown until you
> reopen the file in editor.
>
> The same behaviour exists for Ctrl+Alt+R ("Compare With" -> "Revision or
> URL...").
>
> Regards,
> Radoslaw Jozwik
|
|
|
Re: Assign hotkeys for Team>Commit/Update [message #41330 is a reply to message #41153] |
Sun, 08 February 2009 18:12 |
Radoslaw Jozwik Messages: 33 Registered: July 2009 |
Member |
|
|
On 5 II 2009 15:53, Igor Burilo wrote:
> Aha, you call key shortcuts from editor, then I consider that this is normal
> behaviour that they don't work, because actions consume resources selection
> as their input, e.g. from Package Explorer, Navigator and don't react to
> editor in which file is opened.
Subversive shortcuts work, but only once - after opening the file for
the first time in editor area. After first call they stop working. This
is only related to Subversive commands. For example: I can call
"Refactor" -> "Move" command on file opened in the editor by pressing
Shift + Alt + V shortcut as many times as I like.
> You can simply check it by making selection
> on one file in Package Explorer and open another file in editor(make editor
> as active) and then call shortcuts, as a result you will have action called
> on selected file but not on a file from editor(also I got that action wasn't
> called because resources selection wasn't active).
Honestly I don't understand your explanation. When I select something in
Package Explorer, and then open another file in the editor, then opened
file will have selection, isn't it?
Lets forget about Package Explorer (or any other view) for a moment.
Lets assume, that I have file in my editor area and I want to perform
some action (like checking for differences between revisions) on it with
keyboard shortcut. I'm able to perform such actions like copy & paste,
"Refactor" -> "Move" and so on, but I'm not able to perform Subversive
related actions more than once, until I reopen the file in editor.
Sorry for drilling down this topic, but I really would like to use
keyboard shortcuts on a file without the need of selecting it in Package
Explorer.
Radoslaw Jozwik
|
|
|
Re: Assign hotkeys for Team>Commit/Update [message #41361 is a reply to message #41330] |
Sun, 08 February 2009 19:45 |
sNop Messages: 281 Registered: July 2009 |
Senior Member |
|
|
Hi Radoslaw Jozwik napsal(a):
>
> Honestly I don't understand your explanation. When I select something in
> Package Explorer, and then open another file in the editor, then opened
> file will have selection, isn't it?
>
> Lets forget about Package Explorer (or any other view) for a moment.
> Lets assume, that I have file in my editor area and I want to perform
> some action (like checking for differences between revisions) on it with
> keyboard shortcut. I'm able to perform such actions like copy & paste,
> "Refactor" -> "Move" and so on, but I'm not able to perform Subversive
> related actions more than once, until I reopen the file in editor.
>
> Sorry for drilling down this topic, but I really would like to use
> keyboard shortcuts on a file without the need of selecting it in Package
> Explorer.
>
I follow this thread and I absolutely agree with you Radoslaw, I lack this too
|
|
|
Goto Forum:
Current Time: Wed Sep 25 19:57:05 GMT 2024
Powered by FUDForum. Page generated in 0.05784 seconds
|