如何更改在Visual Studio 2010中查看TFS更改集时打开所选文件的默认程序(记事本)? [英] How to change default program (notepad) which opens a selected file when viewing a TFS changeset in Visual Studio 2010?

查看:224
本文介绍了如何更改在Visual Studio 2010中查看TFS更改集时打开所选文件的默认程序(记事本)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在源代码管理中打开历史记录,然后打开一个变更集,然后在文件列表中选择一个文件,然后双击打开它。 TFS通过记事本打开文件,我想通过Visual Studio或任何其他文本编辑器打开文件(以使语法突出显示)。
我该怎么做?

I open the History in the Source Control, then open a changeset, then select a file in the file list and double click to open it. TFS open the file by Notepad, I wanna open the file by Visual Studio or by any other text editor (to have syntax highlight). How can I do this?

推荐答案

使用文件 - >打开命令。现在,您将获得打开文件对话框。在那里选择要打开的文件,然后单击"打开"旁边的三角形,然后选择"打开方式"。现在,您将获得可以关联的所有程序的对话框。选择合适的
,然后单击Set as default。
Use the File -> Open command. Now you get the open file dialog. In there select the file you want to open and click on the triangle besides the Open and select Open With. Now you get a dialog of all programs you can associate. Select the appropriate one and click on Set as default.


这篇关于如何更改在Visual Studio 2010中查看TFS更改集时打开所选文件的默认程序(记事本)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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