Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JSP code completion pluggability
JSP code completion pluggability [message #146407] Mon, 07 November 2005 14:10 Go to next message
Eugene Ostroukhov is currently offline Eugene OstroukhovFriend
Messages: 66
Registered: July 2009
Member
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 #146613 is a reply to message #146407] Tue, 08 November 2005 23:18 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4501
Registered: July 2009
Senior Member

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


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: JSP code completion pluggability [message #146648 is a reply to message #146613] Wed, 09 November 2005 07:48 Go to previous message
Eugene Ostroukhov is currently offline Eugene OstroukhovFriend
Messages: 66
Registered: July 2009
Member
"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?
Previous Topic:WebSphere 5.1 support
Next Topic:Latest Release (I20051105) Status info
Goto Forum:
  


Current Time: Sat Nov 09 04:07:17 GMT 2024

Powered by FUDForum. Page generated in 0.03014 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top