aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Editing XML Files In Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Editing XML Files In Eclipse" Watch "Editing XML Files In Eclipse" New topic
Author

Editing XML Files In Eclipse

Dave Hewy
Ranch Hand

Joined: Aug 21, 2003
Posts: 93
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

Joined: Jul 11, 2001
Posts: 14112
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.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Dave Hewy
Ranch Hand

Joined: Aug 21, 2003
Posts: 93
Oh yeah - why didn't I think of that !
Thanks
Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Editing XML Files In Eclipse