Use inferred grammar in the absence of DTD/Schema
I’ve been meaning to blog about this little feature for a while…
The Eclipse Web Tools has a neat little feature in its XML editor. As is expected, if your XML file has a DTD or schema specified, content assist (ctrl-space) will offer suggestions as you type. More interestingly, if your XML file does not have a DTD or schema specified, content assist will still offer suggestions.
The suggestions that it offers are based on the content of the file. Here’s what it looks like in operation (just after hitting ctrl-space):
If you (for whatever reason) want to turn this off (perhaps to reduce the performance hit while editing really large XML files), there is a preference setting, "Web and XML > XML Files > XML Source".
Cool features like this make me giggle like a small child…
Posted October 26th, 2006 by Wayne Beaton in category: Other
You can skip to the end and leave a response. Pinging is currently not allowed.
One Response to “Use inferred grammar in the absence of DTD/Schema”
Leave a Reply
You must be logged in using your Eclipse Bugzilla account to post a comment.


David Willliams Says:
October 28th, 2006 at 2:50 am
It’s always rewarding to see someone appreicate the little things