How to make XML files always open in the text editor rather than the XML editor?
For people who are looking for a simple text based XML editor, the default XML editor in Eclipse comes with a text based view with syntax highlighting (as it should). It's just not intuitive to know this view exists.
- After you open the file with "XML Editor" the text view can be toggled by clicking on the "Source" tab on the bar just below the file.
By default the view is "Design". "Source" is the simple text based view with syntax highlighting.
For a much better illustration, see:
How do I view xml in Eclipse with simple syntax highlighting?