• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Editing XML Files In Eclipse

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh yeah - why didn't I think of that !
Thanks
Dave
 
reply
    Bookmark Topic Watch Topic
  • New Topic