Home » Eclipse Projects » Eclipse Platform » Question(s) on JSP Editor
Question(s) on JSP Editor [message #256613] |
Tue, 29 June 2004 06:27  |
Eclipse User |
|
|
|
Greetings,
I am curious to know what are basics underlying the implementation of a JSP
editor.
My question arises after having used JSP editor in IntelliJ. I would like to
understand how the underlying implementation works with respect to the
following :
-- content-assist/auto-complete feature within JSPscriplets/page imports.
-- Error reporting and marking them.
I know Jasper fits in the picture somewhere but not sure how.
I'd appreciate any thoughts or pointers to resources that can help my
understanding here.
Look forward to thoughts, ideas , suggestions...
Cheers,
Rahul
|
|
|
Re: Question(s) on JSP Editor [message #257144 is a reply to message #256613] |
Wed, 30 June 2004 12:14   |
Eclipse User |
|
|
|
This question's very general, so not sure I can say much. If you've been
following the "webtools project" creation, you'll know its all been
officially approved and you can expect some code contributions to start
appearing "in public" over the next few months, so you'd be able to see
the JSP Source Editor we plan to contribute.
And, briefly, yes, any JSP editor would have to do a certain amount of
translation to distinguish Java and non-Java portions. We don't use
Jasper, but similar in concept we have our own "custom" translator to
produces a Java "document" in memory, that forms a compilation unit, we
then try and re-use exising JDT functionality to do things like content
assist, error reporting, and map the document coordintates back and forth.
No easy task to keep in synch.
Good luck,
On Tue, 29 Jun 2004 22:27:04 +1200, Rahul <rahul.thakur@clear.net.nz>
wrote:
> Greetings,
>
> I am curious to know what are basics underlying the implementation of a
> JSP
> editor.
>
> My question arises after having used JSP editor in IntelliJ. I would
> like to
> understand how the underlying implementation works with respect to the
> following :
> -- content-assist/auto-complete feature within JSPscriplets/page imports.
> -- Error reporting and marking them.
>
> I know Jasper fits in the picture somewhere but not sure how.
>
> I'd appreciate any thoughts or pointers to resources that can help my
> understanding here.
>
> Look forward to thoughts, ideas , suggestions...
>
> Cheers,
>
> Rahul
>
>
|
|
|
Re: Question(s) on JSP Editor [message #258031 is a reply to message #257144] |
Fri, 02 July 2004 18:11  |
Eclipse User |
|
|
|
Originally posted by: gercan.NOSPAM.acm.org
Lomboz basically does the same thing but instead of using a custom
translator lomboz uses jasper to parse the jsp files into in memory java and
then uses the JDT to provide things such as code assist.
Lomboz is already open source, and will contribute to WTP also. You can
examine the code for the jsp editor,
http://forge.objectweb.org/projects/lomboz/
Gorkem Ercan
"David Williams" <david_williams@us.ibm.com> wrote in message
news:opsae0p8xhac05ss@news.eclipse.org...
> This question's very general, so not sure I can say much. If you've been
> following the "webtools project" creation, you'll know its all been
> officially approved and you can expect some code contributions to start
> appearing "in public" over the next few months, so you'd be able to see
> the JSP Source Editor we plan to contribute.
>
> And, briefly, yes, any JSP editor would have to do a certain amount of
> translation to distinguish Java and non-Java portions. We don't use
> Jasper, but similar in concept we have our own "custom" translator to
> produces a Java "document" in memory, that forms a compilation unit, we
> then try and re-use exising JDT functionality to do things like content
> assist, error reporting, and map the document coordintates back and forth.
> No easy task to keep in synch.
>
> Good luck,
>
>
> On Tue, 29 Jun 2004 22:27:04 +1200, Rahul <rahul.thakur@clear.net.nz>
> wrote:
>
> > Greetings,
> >
> > I am curious to know what are basics underlying the implementation of a
> > JSP
> > editor.
> >
> > My question arises after having used JSP editor in IntelliJ. I would
> > like to
> > understand how the underlying implementation works with respect to the
> > following :
> > -- content-assist/auto-complete feature within JSPscriplets/page
imports.
> > -- Error reporting and marking them.
> >
> > I know Jasper fits in the picture somewhere but not sure how.
> >
> > I'd appreciate any thoughts or pointers to resources that can help my
> > understanding here.
> >
> > Look forward to thoughts, ideas , suggestions...
> >
> > Cheers,
> >
> > Rahul
> >
> >
>
|
|
|
Goto Forum:
Current Time: Thu Jun 19 09:53:32 EDT 2025
Powered by FUDForum. Page generated in 0.04171 seconds
|