开发者

shortcut for 'update to HEAD'

开发者 https://www.devze.com 2023-01-13 23:38 出处:网络
is there any way to have either shortcut or icon for svn Update to HEAD of one project (not all of them) in eclipse? It would make my life much much easier.

is there any way to have either

  • shortcut or
  • icon

for svn Update to HEAD of one project (not all of them) in eclipse? It would make my life much much easier.

I have few php projects though. Time to time I click 'commit' by accident.

Running Eclipse for PHP Developers - Helios release - 开发者_如何学Goon OS X.


I'm posting this to help anyone interested since I got a lot of grief before figuring this out..

You have to go to Settings > General > Keys and bind the shortcuts as the others have said.

I have:

  • Commit: Ctrl + Alt + C

  • Update to HEAD: Ctrl + Alt + U

  • Synchronize with Repository: Ctrl + Alt + S, all "In Windows"

But, in order for the shortcuts to work, you must go to Window dropdown menu > Customize Perspective > Command Groups Availability and there check the SVN box.

With this option you also get a dropdown menu called SVN with all the relevant commands.

Selecting the file/package/project/working set and pressing the keys does its magic.


In preferences go to Bindings

Sort by category

Find SVN

Assign a shortcut to "Update"

Mine is Ctrl + U


Go to preferences and type "Bindings" in the search at the top and play around with that. You can't bind a button to it, but you might be able to bind a key to do what you want.

0

精彩评论

暂无评论...
验证码 换一张
取 消