Open and Switch Case

Published 29 August 06 01:15 PM | Adam Singer 

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.

Filed under:

Comments

# Rob Caron said on August 29, 2006 5:11 PM:
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.
# Team System News said on September 1, 2006 8:57 AM:
Buck Hodges on Team Build blogger: Aaron Halberg.

And speaking of Aaron Halberg, here is his post...
New Comments to this post are disabled

About Adam Singer

Faster than a speeding batch file, stronger than a well coded C# library, Adam is often seen testing those dark, dank quagmires of features where few tread and even fewer return. And he does so with a signature chipper attitude not sold in stores.

Search

This Blog

Syndication

Page view tracker