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, 开发者_如何学Gowhen I double-click on an XML file, I get a color-coded editor in Eclipse?
Try setting the file associations in the Eclipse settings > General > Editors > File associations
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.
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.
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.
精彩评论