首页 > 解决方案 > In Visual Studio 2017 is there a way to enable the Source Control dialog from a Tab?

问题描述

When working in Visual Studio 2017, it would be handy to have access to the Source Control dialog to "Undo Checkout" when you right click on the tab for an open document. We frequently work with complex solutions where files we work on concurrently reside in many different folders. Finding and opening the folder for an opened file is annoying when the task I need to perform is an "Undo Checkout".

Reviewing these preferences, I don't see anything that would enable this type of feature from opened tabs.

Tools > Options > Environment > Tabs and Windows
Tools > Options > Source Control

Is what I'm requesting an available feature, and if so how can I enable it? Thanks.

标签: visual-studiotfs

解决方案


如果没有插件扩展,我不知道有任何方法可以更改 VS2017 中的选项卡。

但是,您可以右键单击编辑器窗口(显示代码的位置),在显示的上下文菜单中是一个源代码控制子菜单,如果更改未决,它将提供“撤消”选项。

此外,您可以将“团队资源管理器”窗口添加到侧边栏之一或作为现有弹出窗口中的选项卡。我喜欢将属性、解决方案资源管理器和团队资源管理器标签在一起并显示在编辑器工作区的一侧。


推荐阅读