Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Editing XML Files In Eclipse

 
Dave Hewy
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been looking at the XML "pretty display" plugins out there for Eclipse.
I had a look at XML Buddy, which is a nice addon, but there's already an XML editor in Eclipse, for editing build.xml Ant files.
This would do fine for me, I just want the source colour coded, but you only get the option to open with Ant Editor on this build.xml file.
Is there a way to enable this for other XML files?
I'm using Eclipse 3.0M5, moving to M6 soon.
Thanks
Dave
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the preferences, under Workbench/File Associations, add *.xml and associate the ant editor with it.
I am not sure how well the editor works on non-ant files, though. XML-Buddy works quite well for me.
 
Dave Hewy
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh yeah - why didn't I think of that !
Thanks
Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic