How can I open a resx file in Visual Studio XML editor by default?
19,501
- Right Click on Resources File
- Choose
Open With
- Select
XML (Text) Editor
orXML (Text) Editor with Encoding
- On the right side of the dialog, click
Set as Default
Author by
JoeB
Updated on June 21, 2022Comments
-
JoeB about 2 years
I want the 'View Code' view by default (xml editor), so that I can use features in R# File Structure window.
-
Johan Boulé over 8 yearsWhat's the difference between "XML (Text) Editor" and "XML (Text) Editor with Encoding" ?
-
Nyerguds about 8 years@JohanBoule The "with encoding" one always specifically asks the encoding. The other one just autodetects it. Given the fact xml should always start with a text encoding declaration, the "with encoding" one is actually prety useless unless you're specifically dealing with noncompliant xml files that lack it.