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

Commit Key-binding?

From: Denny Valliant <valliant_at_unm.edu>
Date: 2005-09-02 04:25:15 CEST

Hello All!

    Just a dumb question. Does anyone know how to add a keybinding to
the commit action? I've tried a few variations of stuff in the
plugin.xml file, but none have worked. They added the option, but
nothing appears to happen and I don't get anything in the PDE(plugin)
log. Below is what I was trying in the plugin.xml. I'm a noob at
plugins, java, eclipse, etc., etc., so forgive me if this is impossible
or a dumb question. =-) I know it's possible, but I mean it might not be
possible to just add a few lines of stuff to the plugin.xml file and
have it majically work. ;)

Thanks for being here, and we are soooo lucky to be users of sucha
AWSOME plugin for eclipse. I mean, wow, how freaking cool are versioning
systems? Specifically, SUBVERSION ROCKS. Even more specifically,
SUBCLIPSE FREAKING ROLLS!!

Well, I know obsequious-ness prolly didn't get nobody nowhere, but what
the hell. I mean it. And I know ya'll know where I'm coming from. So
thanks for at least reading this (if you got this far =).

Sorry attempt at extending a keybinding for the commit action follows:

   <extension
         point="org.eclipse.ui.commands">
      <activeKeyConfiguration
            
keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
      </activeKeyConfiguration>
    <!-- this should add a SVN commit category and accel key bind. But
does not bind. Boo hoo. -->
      <category
            name="SVN"
            description="SVN key bindings"
            id="org.tigris.subversion.subclipse.commandCategory">
      </category>
      <command
            name="SVN Commit"
            description="SVN Commit File."
            categoryId="org.tigris.subversion.subclipse.commandCategory"
            
id="org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand">
      </command>
      <keyBinding
            
commandId="org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand"
            contextId="org.eclipse.ui.textEditorScope"
            
keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration"
            keySequence="Ctrl+Alt+N">
      </keyBinding>
    </extension>
</plugin>

I tried various actions in the ui plugin.xml file (which is where I've
tried adding the above, right at the end, obviously(/plugin)) where I
now have CheckinResourcesCommand, but none have done anything. Not even
an error, so I'm like: hrm, what's [not] happening? Eh. Maybe someone
here has an idea/solution. That's the hope, at least, neh?

Thanks in advance (isn't that kinda presumptuous?) and sorry for the
spelling et al,
:Den
Received on Fri Sep 2 12:25:15 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.