• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

why no content assist in eclipse?

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'v set up a structure in eclipse for Struts:

i'v install the struts-1.2.8-bin ,

and add the struts.jar to classpath

but when i edit the xml in eclipse(xmlbuddy),

no content assist appera.

e.g:

<Servlet-class>org.apache.struts.action.ActionServlet</Servlet-class>

when i enter "org." ,the "apache.struts.action.ActionServlet" don't appera

someone help me!
 
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Jeffrey Ye:
i'v set up a structure in eclipse for Struts:

i'v install the struts-1.2.8-bin ,

and add the struts.jar to classpath

but when i edit the xml in eclipse(xmlbuddy),

no content assist appera.

e.g:

<Servlet-class>org.apache.struts.action.ActionServlet</Servlet-class>

when i enter "org." ,the "apache.struts.action.ActionServlet" don't appera

someone help me!



Hi I think you are expecting java content assist in an xml editor. AFAIK that is not supported

XML tags can contain any text unlike java which has syntax for it programs, So it is difficult to have content assist for it. Not only Eclipse and XMLBuddy, I have not come accross any xml editor that has this sort of content assist.

-Raj
 
A wop bop a lu bob a womp bam boom. Tutti frutti ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!