In Visual Studio (2010) editor how can i see other file extensions as an xmldocument (like .xml)
We have som开发者_如何学Pythone xml files in projects that have another extension becouse of the program that uses them, so we cannot change the extension.
How can we force visual studio to open it always like the xml editor instead of a long line of text? (Not anything like rename it temporaly or copypaste to an xml file please...)
You can tell Visual Studio to always open files with a certain extension in a particular editor:
- From the "Tools" menu, select "Options".
- Expand the "Text Editor" heading, and click "File Extension".
- In the pane to the right, type the extension you want Visual Studio to associate with the XML editor, and pick the "XML (Text) Editor" option from the combo box.
- Click the "Apply" button.
- Repeat steps 3 and 4 for each additional file extension you want to associate.
- Click the "OK" button.
精彩评论