[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: plans to provide key board/mouse shortcuts

From: Denny Valliant <valliant_at_unm.edu>
Date: 2005-10-28 08:19:53 CEST

There is a slow-moving movement to provide accellerator keys for the
standard actions.

So far I have a commit key-binding, which I have been using for a few
months (/me
starts to scratch his head... how could it be working(I just used it
OH!, I hadn't-never
mind. Just remembered that I just ran the update on my most-used box,
will have to
patch again I bet... ) but anyway it seems to work fine and not mess up
anything

EXCEPT (there's always one of those, it seems) it only checks the
currently selected
folder in the navigator. Wich is actually pretty cool because I might
have edited four
files, and so long as I have the root project selected, it will ask if I
want to commit
all four.
 I think I like that behavior better than if it just synced the
currently selected file.

And if you haven't selected anything in the navigator it throws a
null-pointer.

Other than that tho, it works like a charm. I have been holding off
adding the rest
of the standard actions until I figure out how to automagically select
the current
project or current file in editor. Probably just 2 or so lines of code,
but I haven't
found the magic two lines. Not that I've had time to check since I got
it "working".

At heart I'm a lazy bum, and I have a tonne of stuff on my plate, so
I've kinda left
it where it was. Sorry. If I was a real type dood I'd've figured it out
by now and
submitted a patch so all could enjoy my hard (*cough*) work. (I cough
cuz it
was hard for me because I'm so green. T'would be easy for a pro)

I'll have to re-patch my local version now anyway, maybe I'll take a
crack at at
least figuring out how to specify the current file in the editor, as
that's real fast
and most people would probably want just that file, vs. waiting the
second(s) for
the currently selected project to get synced up and display a list of
pendings...

If I figure it out that should at least get us commit and update (simple
action
classes) and maybe others. As soon as I have something working 100% I'll
submit a patch. Until then, if you're feeling saucy, you can get the
current "add
commit accellerator keybinding" patch at www.unm.edu/~valliant/subclipse and
fix the hell out of it. :-) Or be a lazy bum like me and just use it;
but then you
will find yourself n-sessantly patching your freshly updeated plugin...
if you're
lucky enough to have a plugin that releases enough to be n-sessant. ;-)

Sorry for so long for something so simple. I'm a yakking-lollygagger! That's
the scoop.
Maybe think about if you want only current file in editor. or whole
project, or
what, to be checked for pending transactions when key is pressed... IE what
should come up in dialog: current file, or more?

:Denny
.
Sridhar V Iyer wrote:

>Is there any plan to provide keyboard/mouse shortcuts
>for the svn actions ?
>
>Some suggestions:
>
>Ctrl+RightClick - should bring up the Team context
>menu
>key - for Commit
>key - for synchronize
>key - for resource history
>key - for properties
>
>may be some others.
>
>All keys must be customizable via Preferences.
>What do you guys think ?
>
>
>
>Sridhar Iyer
>email- iyers@rocketmail.com
>
>
>
>
>__________________________________
>Start your day with Yahoo! - Make it your home page!
>http://www.yahoo.com/r/hs
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
>For additional commands, e-mail: users-help@subclipse.tigris.org
>
>
>
Received on Fri Oct 28 16:19:53 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.