分配"Ctrl + S"到Subversion提交 [英] Assign "Ctrl+S" to Subversion commit

查看:99
本文介绍了分配"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?

推荐答案

这听起来像是灾难的秘诀!

话虽如此. .

  1. 转到菜单中的工具:选项.
  2. 转到键盘映射标签.
  3. 搜索框中输入commit.
  4. 找到提交..."/"Subversion"的行.
  5. 双击其快捷方式单元格.
  6. 按所需的快捷方式(例如 Ctrl + Alt + Shift + S ).
  7. 点击确定按钮.
  1. Go to Tools : Options in the menu.
  2. Go to the Keymap tab.
  3. Type commit in the Search box.
  4. Locate the row for "Commit..." / "Subversion".
  5. Double-click in its Shortcut cell.
  6. Press the desired shortcut (e.g. Ctrl + Alt + Shift + S).
  7. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆