How can I change the font of layout (XML) editor in Eclipse?

Bobs picture Bobs · Jun 25, 2012 · Viewed 21.4k times · Source

I know how to change the font of "Java editor" in Eclipse in menu WindowsPreferencesAppearanceColors and Fonts, but I could not find an option for changing the font of "layout editor" for files like myLayout.xml or strings.xml.

Where is it?

Answer

Aleksandr Kravets picture Aleksandr Kravets · Jun 25, 2012

Use menu WindowsPreferencesAppearanceColors and FontsBasicText Font. This is a common text font setting that is applied to XML file editors by default.

I also found this message.