Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Rough idea for JSP code completion?
Rough idea for JSP code completion? [message #170111] Thu, 25 May 2006 10:50 Go to next message
Eclipse User
Originally posted by: lalo.ivanov.sap.com

Hi,

I am pretty new to Eclipse and WTP platform and currently I am struggling
with the JSP code completion part of the JSP editor.
However, I think I cannot go much far with only reading code. There are two
implementors of IContentAssistProcessor - JSPCompletionProcessor
and JSPJavaContentProcessor which I did not found quite useful in finding
the "<> tagname" list of available completions. I found the
JSP completions available through parsing the jspdefault-templates.xml, but
I did not get exactly the idea behind templates extension point in Editors
plugin.
Can you help me with rough idea where to find the base class to start
investigating the JSP code completions?

Thanks in advance, Best Regards: Lalo Ivanov
Re: Rough idea for JSP code completion? [message #171284 is a reply to message #170111] Thu, 15 June 2006 07:52 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2272
Registered: July 2009
Senior Member
Lalo Ivanov wrote:
> Hi,
>
> I am pretty new to Eclipse and WTP platform and currently I am struggling
> with the JSP code completion part of the JSP editor.
> However, I think I cannot go much far with only reading code. There are two
> implementors of IContentAssistProcessor - JSPCompletionProcessor
> and JSPJavaContentProcessor which I did not found quite useful in finding
> the "<> tagname" list of available completions. I found the
> JSP completions available through parsing the jspdefault-templates.xml, but
> I did not get exactly the idea behind templates extension point in Editors
> plugin.
> Can you help me with rough idea where to find the base class to start
> investigating the JSP code completions?

Can you be more specific about the kinds of proposals you're looking
for? If you are looking for where the tag names are generated,
org.eclipse.wst.xml.ui.internal.contentassist.AbstractConten tAssistProcessor
would be the place to start.

--
- Nitin


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:SourceViewer with StructuredTextViewerConfigurationXML - Exception
Next Topic:Can't debug JSPs
Goto Forum:
  


Current Time: Sat Sep 20 04:02:32 GMT 2014

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

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