Partager via


Open and Switch Case

A few folks on the forums have asked how they can specify other editors to open files in Team Foundation version control. In particular, Acrobat PDF files have come up a few times. When investigating the issue, I discovered a workaround that I thought might be of general interest.

To open a single file with a particular application:

  1. Highlight the item in Solution Explorer
  2. Select the "View" --> "Open With..." menu option
  3. Choose one of the default applications, or click "Add..." to choose a different application
  4. Click "OK" to open the document

To set an application as the default for all files with a particular extension, follow the above instructions, adding a step "3a" to click the "Set as Default" button. Afterwards, when you open items from Source Control Explorer, they will use the specified applicaiton, as well.

Comments

  • Anonymous
    August 29, 2006
    It could just be me, but I had to do this recently and I found that the editor preference wasn't preserved unless I saved the solution after making the configuration change.
  • Anonymous
    September 01, 2006
    Buck Hodges on Team Build blogger: Aaron Halberg.

    And speaking of Aaron Halberg, here is his post...