Visual Studio 2015 RC :: 键盘快捷键 "commit current file"
Visual Studio 2015 RC :: Keyboard shortcut "commit current file"
我在 Windows 10 Build 10130 上使用 Visual Studio 2015 候选发布版 (RC)。
我想在代码编辑器 window、 或 中为 "commit current file" 创建一个 Visual Studio 2015 键盘快捷键,当我选择解决方案资源管理器中的一个或多个文件 window.
这怎么可能?
在 Visual Studio 环境中遵循这些指示:
- 打开工具 --> 选项
- 导航至 环境 --> 键盘
- 在包含
的显示命令中键入 "commit"
- Select
Team.Git.Commit
Visual Studio 命令
- 在 中使用新的快捷方式,select
Text Editor
- 在 Press shortcut keys 下,键入快捷方式(例如 CTRL + SHIFT + C、CTRL + SHIFT + C)
重复上述步骤,但将第 5 步替换为 Solution Explorer
。使用相同的键盘快捷键以保持一致性。
结果
- 当您在
Text Editor
window中按下键盘快捷键时,您将在编辑器中提交当前打开的文件。
- 当您在
Solution Explorer
window 中按下键盘快捷键时,您将提交 select 在 Solution Explorer
中编辑的任何更改/添加的文件。
我在 Windows 10 Build 10130 上使用 Visual Studio 2015 候选发布版 (RC)。
我想在代码编辑器 window、 或 中为 "commit current file" 创建一个 Visual Studio 2015 键盘快捷键,当我选择解决方案资源管理器中的一个或多个文件 window.
这怎么可能?
在 Visual Studio 环境中遵循这些指示:
- 打开工具 --> 选项
- 导航至 环境 --> 键盘
- 在包含 的显示命令中键入 "commit"
- Select
Team.Git.Commit
Visual Studio 命令 - 在 中使用新的快捷方式,select
Text Editor
- 在 Press shortcut keys 下,键入快捷方式(例如 CTRL + SHIFT + C、CTRL + SHIFT + C)
重复上述步骤,但将第 5 步替换为 Solution Explorer
。使用相同的键盘快捷键以保持一致性。
结果
- 当您在
Text Editor
window中按下键盘快捷键时,您将在编辑器中提交当前打开的文件。 - 当您在
Solution Explorer
window 中按下键盘快捷键时,您将提交 select 在Solution Explorer
中编辑的任何更改/添加的文件。