Working with Documents in Microsoft Visual Studio
- 8/24/2011
- 04.01 Insert Documents to the Right of Existing Tabs
- 04.02 Recent Files
- 04.03 Working with Documents on Multiple Monitors
- 04.04 Navigate Open Document Windows
- 04.05 Close the Current Document Window
- 04.06 Open a File Location from the File Tab
- 04.07 Open the File Menu Drop-Down List from Your Keyboard
- 04.08 Using the IDE Navigator
- 04.09 Multiple Views of the Same Document
- 04.10 Closing Just the Selected Files You Want
- 04.11 Understanding the File Open Location
- 04.12 Show Previous Versions
- 04.13 Using Custom File Extension Associations
04.13 Using Custom File Extension Associations
WINDOWS |
Alt,T, O |
MENU |
Tools | Options | Text Editor | File Extension |
COMMAND |
Tools.Options |
VERSIONS |
2005, 2008, 2010 |
CODE |
vstipEnv0038 |
If you have a custom file extension that you would like to associate with an editing experience, just go to Tools | Options | Text Editor | File Extension to see the options shown in the following illustration.
Simply type in your extension and the editing experience you want to have when it is opened. In the following example, I have a .cool extension that is associated with the Script Editor:
When I click Add, as shown in the preceding illustration, the following information is added to the overall list:
Notice that you can select any item in the list, modify the extension and/or editor, and then click Apply to save the changes. Additionally, you can click Remove to take any entry out of the list.