Reputation:
Every time I double-click on an XML file, a spreadsheet thing opens. I find it very annoying, and I have to open XML files with the text editor in Eclipse. It is not color-coded like its counterpart in Dreamweaver.
How can I configure my computer so that, when I double-click on an XML file, I get a color-coded editor in Eclipse?
Upvotes: 5
Views: 5445
Reputation: 20013
Have you checked the bottom of the editor pane for tabs labelled Design and Source? Maybe you just need to flip to another page in the editor.
Upvotes: 2
Reputation: 1
you can associate the .xml file type with any program you want to be opened with. as iam associate it to notepad.
you can do it from you window browser. go to tools>folder options and choose file types tab. scroll down to find xml type and then click the change button to browse the program you like.
Upvotes: 0
Reputation: 50039
Go to Window -> Preferences
and then type in File Associations
in the quick search box on the left, browse for the *.xml file type and mark as default the editor you want to use to open the file.
Upvotes: 0
Reputation: 8456
Try setting the file associations in the Eclipse settings > General > Editors > File associations
Upvotes: 2