Search code examples
visual-studio-2010visual-studioankhsvn

How to set shortcut key for AnkhSVN commit in Visual Studio 2010?


I want to set a shortcut key to open the "Commit Solution Window", I just need to find out the command for it.

I am using AnkhSVN with Visual Studio 2010.

screenshot

Any help will be appreciated. Thanks


Solution

    • Use CommitPendingChanges to do immediate commit.

    • Use File.CommitItem to show "Commit to Subversion" dialog (the one where you can select items to commit and enter the log message).

    For example, you can assign any of these commands to Ctrl-A + Ctrl-C and run commit using this keyboard shortcut.