PDA

View Full Version : Auto Completion in Context Xml files



twicet
Jul 4th, 2005, 09:25 AM
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.

Rod Johnson
Jul 4th, 2005, 01:11 PM
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!

Keith Donald
Jul 4th, 2005, 10:18 PM
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

twicet
Jul 5th, 2005, 02:17 AM
Thanks a lot for the input. I'll choose between the two.



You should never need to type in a Spring XML tag!

That's what i've been looking for!!

Thanks

twicet
Jul 5th, 2005, 08:19 AM
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.


You should never need to type in a Spring XML tag!

I will never!! :D

Christian Dupuis
Jul 5th, 2005, 12:38 PM
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

twicet
Jul 6th, 2005, 02:31 AM
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.

Christian Dupuis
Jul 10th, 2005, 07:34 AM
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