How to change the default program (notepad) that opens the selected file when viewing the TFS changeset in Visual Studio 2010?

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

PS. In my machine, when I open a .config file, for example app.config, TFS asks the program to open it! I want TFS to also request a .cs file! It must be somewhere to fix this, I think.

+3
source share
3 answers

, .

: Windows 7 Enterprise x64

.

  • Run: Regedit (alt + r, type regedit)
  • ** HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations **
  • "SystemFileAssociation" → , .cs
  • .cs , shell
  • , 6
  • , , exe, . ex: C:\Program Files (x86)\Notepad ++\notepad ++. exe% 1
    % 1 .exe
  • open
    open , , % 1, , tfs, .

    , .
+13

, TFS, , : http://YourServerNametfs01: 8080/tfs/.../.../...& FileName = YourFileName.YourExt

, , HTTP, . , HTTP- ( , ), - URL-, , , .

.

+2

, , Windows VS IDE:

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe

2010 .

+1

Source: https://habr.com/ru/post/1752568/


All Articles