Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • 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
 
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic