Assign "Ctrl+S" to Subversion commit
In NetBea开发者_Go百科ns, how can I make it so that every time I save a file it gets committed to Subversion?
This sounds like a recipe for disaster!
That being said . . .
- Go to Tools : Options in the menu.
- Go to the Keymap tab.
- Type
commit
in the Search box. - Locate the row for "Commit..." / "Subversion".
- Double-click in its Shortcut cell.
- Press the desired shortcut (e.g. Ctrl + Alt + Shift + S).
- Click the OK button.
As committing a file automatically saves it first, you could use Ctrl + S as the shortcut if you wish.
Note that this also works when you select one or more files in the Projects pane. Thanks for asking the question as I get really sick of navigating through the popup menus all the time. :)
精彩评论