JSP code completion pluggability [message #146407] |
Mon, 07 November 2005 09:10  |
Eclipse User |
|
|
|
Hi everyone
I want to add custom code assist for the tags contained it taglib. I would
like to add attribute completion proposals, nested element proposals, etc. I
guess, the JSF plugin out there would have the same needs so I expect that
this pluggability is already in place. I checked the latest CVS sources (in
a head branch) but didn't find that support there. Maybe I should look some
other way?
Best regards,
Eugene
|
|
|
|
Re: JSP code completion pluggability [message #146648 is a reply to message #146613] |
Wed, 09 November 2005 02:48  |
Eclipse User |
|
|
|
"Nitin Dahyabhai" <nitind@us.ibm.com> wrote in message
news:dkrbnk$o4$1@news.eclipse.org...
> Eugene Ostroukhov wrote:
>> I want to add custom code assist for the tags contained it taglib. I
>> would like to add attribute completion proposals, nested element
>> proposals, etc. I guess, the JSF plugin out there would have the same
>> needs so I expect that this pluggability is already in place. I checked
>> the latest CVS sources (in a head branch) but didn't find that support
>> there. Maybe I should look some other way?
>
> Currently, you should already provided with completions for the attribute
> names and tag names defined in your tag library descriptor. Child element
> proposals also draw from the tag libraries you've referenced in your jsp
> file.
>
> There's no framework for contributing further individual proposals as of
> yet, though. It's something we might look into after 1.0.
>
> --
> - Nitin
TLD-driven completions are not enough in many cases (i.e. when attribute
value is a class name we would like to suggest the class names available).
Here comes another thing we would like to plug in - validation. Some
attributes are classnames, some are numeric - we would like to do these
validations too. Maybe I should submit enhancement request in Bugzilla?
|
|
|
Powered by
FUDForum. Page generated in 0.03459 seconds