You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by 孙立伟 <da...@gmail.com> on 2009/03/01 04:14:22 UTC

auto tag complementation in Eclipse 3.4

I tried to add "tapestry_5_0_0.xsd" in Eclipse 3.4's XML Catalog and
wish to get an auto-complete of Taepstry 5's tags, but I failed. Did
anyone successfully make this work?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: auto tag complementation in Eclipse 3.4

Posted by Alex Kotchnev <ak...@gmail.com>.
The XSD that you mention does not contain much, that's why the code
completion doesn't work. Although I think it should be possible to generate
the XSD from the code (e.g. at least generate an XSD that indicates optional
and required parameters), it's currently not being done. I've experimented
w/ adding some additional tags to the xsd w/ varying success.

In the end, proper  IDE support (that is, completion, navigation between
page classes and templates, prompts for the various prefixes, etc) probably
depends on a proper IDE module and is much more than the XSD can provide.
However, I agree that XSD based completion might be an easy win that would
work across different IDEs and code editors.

Cheers,

Alex K

On Sat, Feb 28, 2009 at 10:14 PM, 孙立伟 <da...@gmail.com> wrote:

> I tried to add "tapestry_5_0_0.xsd" in Eclipse 3.4's XML Catalog and
> wish to get an auto-complete of Taepstry 5's tags, but I failed. Did
> anyone successfully make this work?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>