• 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

XML Suggestions in Eclipse

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ranchers,

I am using Eclipse IDE.

What should I do to let eclipse prompt me for xml suggestions?

Eg: When I type <action and then do CTRL+Space, Eclipse should prompt me with all the valid attributes of action tag.

Currently, I am using default XML editor in Eclipse which does not give suggestions.

Thank you.>
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As far as I can tell, the XML editor in Eclipse is buggy as all get-out and can't be expected to do much of anything reliably. I was relieved when a recent update finally kept it from actually corrupting my text whenever I reformatted it.

In theory, you're supposed to be able to set up a DTD/schema library and XML that has the proper definition references in it should prompt. In practice, this often doesn't seem to work for me.
 
Matt Thomassan
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Tim,

Thanks for your reply.

I did come across a plugin that works at most times for XML Code Completion.

We just need to put this jar file in the plug in folder of the eclipse.

The jar's name is tk.eclipse.plugin.htmleditor_2.0.6.1.jar.

Hope it helps...

Best Regards
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic