user_odoo
user_odoo

Reputation: 2358

How change editor color for xml in eclipse?

I use Eclipse and Odoo, how change editor for .xml in Eclipse luna.

After open xml file get text as following

https://i.sstatic.net/WNXKJ.jpg

I need some tags display in color.

Upvotes: 0

Views: 4787

Answers (3)

SGN Sabir
SGN Sabir

Reputation: 1

In Eclipse: Right click on the xml > Open With > Other > Select Java Editor > Check mark "Use it for all '*xml' files. > OK

Now your java editor is your xml editor, have fun! enter image description here

Upvotes: 0

Hardik Patadia
Hardik Patadia

Reputation: 1999

Try with following steps:

Step 1 - Go to Help menu
Step 2 - Click on "Install New Software"
Step 3 - From the drop down "Work With", select "--All available sites--" As soon as you will select this option, It will try to load the available options under it.
Step 4 - Try to find the option as "Web, XML, Java EE and OSGi Enterprise Development" and expand it.
Step 5 - From these expanded options find "Eclipse XML Editors..." and install it.

Upvotes: 3

Charif DZ
Charif DZ

Reputation: 14751

You are missing XML tools you need to install them :

Eclipse preferences try to install them from

Help ---> install new Software

search for XML

or download an eclipse IDE version for web developement.

Upvotes: 3

Related Questions