35

I want the 'View Code' view by default (xml editor), so that I can use features in R# File Structure window.

Venkat
  • 2,549
  • 2
  • 28
  • 61
JoeB
  • 2,743
  • 6
  • 38
  • 51

1 Answers1

59
  1. Right Click on Resources File
  2. Choose Open With
  3. Select XML (Text) Editor or XML (Text) Editor with Encoding
  4. On the right side of the dialog, click Set as Default
Punit Vora
  • 5,052
  • 4
  • 35
  • 44
  • 6
    What's the difference between "XML (Text) Editor" and "XML (Text) Editor with Encoding" ? – Johan Boulé Jan 08 '16 at 16:23
  • 6
    @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. – Nyerguds May 30 '16 at 13:36