Link XML files to Eclipse XML Editor

Each time I double-click on an XML file, a spreadsheet opens. I find this very annoying, and I have to open the XML files with a text editor in Eclipse. This is not a color coding, like a copy of it in Dreamweaver.

How to configure my computer so that when I double-click on an XML file I get an Eclipse editor with color coding?

+4
source share
4 answers

Try setting file associations in Eclipse Settings> General> Editors> File Statuses

+2
source

Have you checked the bottom of the editor area for tabs labeled Design and Source ? Perhaps you just need to turn to another page in the editor.

+1
source

Go to Window -> Preferences , and then enter File Associations in the quick search box on the left, find the * .xml file type and by default mark the editor you want to use to open the file.

0
source

You can associate the .xml file type with any program you want to open with. since iam associates it with a notepad.

You can do this from a browser window. go to "Tools"> "Folder Options" and select the "File Types" tab. scroll down to find the xml type, and then click the edit button to view the program you need.

0
source

Source: https://habr.com/ru/post/1341489/


All Articles