Results 1 to 8 of 8

Thread: Auto Completion in Context Xml files

  1. #1

    Default Auto Completion in Context Xml files

    Can anyone shed some light on how i can achieve auto completion in Spring xml files. My current development environment consists of : eclipse 3.1RC2,spring-ide 1.2.0 , WTP M4 and xmlbuddy 2.0.62.

    Thanx.

  2. #2
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    XMLBuddy alone should be sufficient to get autocompletion. Are you sure that XMLBuddy knows about the DTD? Normally it should be able to get it through the net, but if for some reason it can't connect, you won't get autocompletion, and will have to configure XMLBuddy to refer to a local DTD.

    You should never need to type in a Spring XML tag!
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

  3. #3
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    With the advent of the Eclipse webtools project (WTP), their suite of html+jsp+css+xml+etc editors is looking more and more compelling. WTP Milestone 5 is working nicely for me--I now prefer it over XmlBuddy.

    So yes, also with WTP, you get DTD code completion within your XML documents.

    You can download WTP here: http://www.eclipse.org/webtools

    Keith
    Keith Donald
    Core Spring Development Team

  4. #4

    Default Thanks Spring

    Thanks a lot for the input. I'll choose between the two.

    Quote Originally Posted by Rod Johnson
    You should never need to type in a Spring XML tag!
    That's what i've been looking for!!

    Thanks

  5. #5

    Default Chose WTP M5

    Quote Originally Posted by Rod Johnson
    XMLBuddy alone should be sufficient to get autocompletion. Are you sure that XMLBuddy knows about the DTD? Normally it should be able to get it through the net, but if for some reason it can't connect, you won't get autocompletion, and will have to configure XMLBuddy to refer to a local DTD.
    I just discovered a while ago that there was something wrong with my local DTD file and that's why it didn't work.

    But i have now now decided to go the WTP M5 route and it working nicely.
    Thanks Again.

    Quote Originally Posted by Rod Johnson
    You should never need to type in a Spring XML tag!
    I will never!!

  6. #6
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    Hello twicet,

    There is already a feature request on the Roadmap http://springide.org/project/wiki/RoadMap for Spring IDE to provide a more feature rich XML Editor.

    As soon as Web Tools Project is stable the Spring IDE team will start implementing an extended version of the Web Tool XML Editor which will provide you with autocompletion features for e.g. class attributes and property names depending on your configured ConfigSets.

    Greetings

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

  7. #7

    Default More good news

    Quote Originally Posted by cdupuis
    Hello twicet,

    There is already a feature request on the Roadmap http://springide.org/project/wiki/RoadMap for Spring IDE to provide a more feature rich XML Editor.

    As soon as Web Tools Project is stable the Spring IDE team will start implementing an extended version of the Web Tool XML Editor which will provide you with autocompletion features for e.g. class attributes and property names depending on your configured ConfigSets.

    Greetings

    Christian
    Thanks Christian, that's more good news.

  8. #8
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    Hello,

    Torsten just recently posted the first draft screenshot of Spring IDE's Xml Editor. Check out http://springide.org/project/wiki/BeansXmlEditor and don't forget to post your feature requests.

    Greetings

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

Similar Threads

  1. Replies: 2
    Last Post: Jan 20th, 2009, 04:33 AM
  2. Replies: 1
    Last Post: Dec 19th, 2007, 03:21 PM
  3. IOExceptions with application context files
    By seanoshea in forum Container
    Replies: 2
    Last Post: Oct 21st, 2005, 10:02 AM
  4. Loosing my SecureContext
    By sklakken in forum Security
    Replies: 3
    Last Post: Jul 21st, 2005, 01:44 PM
  5. Replies: 3
    Last Post: Apr 15th, 2005, 08:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •