TFS: How do I view .cs files in the VS IDE when viewing details of a shelveset?

前端 未结 3 1911
走了就别回头了
走了就别回头了 2021-01-13 03:49

For our code review process we open the details of a shelveset to see all files that have been worked on. Right clicking and choosing \"Compare\" works great for existing (

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-13 04:22

    Inspired by AakashM's reply, and since I am using Notepad2 recommended by @shanselman here, and since there is a way to permanently replace Notepad with Notepad2, as mentioned in the link provided in the same article (method 2 in that MSDN blog page), I first replaced Notepad with Notepad2 and then implemented AakashM's suggestion.

    After that there are two options:

    1. You can set .cs files to be opened always in VisualStudio in which case the Changeset window -> Open prompted me to select an application to open cs files.
    2. Or even better, set .cs files to be always opened in Notepad2, and now that we have replaced Notepad with Notepad2, when we click Open from Changeset window it automatically opens in Notepad2 (with syntax highlighting).

    Perhaps you can do it with any good text editor, but I haven't tried it with anything other than Notepad2.

提交回复
热议问题