分配"Ctrl + S"到Subversion提交 [英] Assign "Ctrl+S" to Subversion commit
本文介绍了分配"Ctrl + S"到Subversion提交的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在NetBeans中,我如何做到这一点,以便每次保存文件时都将其提交给Subversion?
In NetBeans, how can I make it so that every time I save a file it gets committed to Subversion?
推荐答案
这听起来像是灾难的秘诀!
话虽如此. .
- 转到菜单中的工具:选项.
- 转到键盘映射标签.
- 在搜索框中输入
commit
. - 找到提交..."/"Subversion"的行.
- 双击其快捷方式单元格.
- 按所需的快捷方式(例如 Ctrl + Alt + Shift + S ).
- 点击确定按钮.
- 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.
由于首先自动提交文件,因此您可以可以使用 Ctrl + S 作为快捷方式.
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. :)
这篇关于分配"Ctrl + S"到Subversion提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文