Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Refactoring et al
Refactoring et al [message #494851] Mon, 02 November 2009 17:12 Go to next message
Eclipse User
Originally posted by: nowhere.a.com

Does WPT participate in re-factoring, "References in Workspace", and so
on?

If so, it does not work in my installation, which means I must have
turned off some preference?

--
Wojtek :-)
Re: Refactoring et al [message #494864 is a reply to message #494851] Mon, 02 November 2009 18:44 Go to previous messageGo to next message
Eclipse User
Originally posted by: nowhere.a.com

Wojtek wrote :
> Does WPT participate in re-factoring, "References in Workspace", and so on?
>
> If so, it does not work in my installation, which means I must have turned
> off some preference?

Um, more specifically in a JSP page scriplet

--
Wojtek :-)
Re: Refactoring et al [message #496367 is a reply to message #494851] Mon, 09 November 2009 14:09 Go to previous messageGo to next message
Nick Sandonato is currently offline Nick Sandonato
Messages: 126
Registered: July 2009
Senior Member
Hello,

Currently, the refactoring support for JSPs is pretty basic. As far as renaming goes, you should be able to refactor Java types, methods, and package fragments and have those reflected in your JSPs. Local variables, however, are not supported.

Additionally, JSPs are set up as participants to show results for "References in Workspace".
Re: Refactoring et al [message #496399 is a reply to message #496367] Mon, 09 November 2009 16:28 Go to previous messageGo to next message
Eclipse User
Originally posted by: nowhere.a.com

Nick Sandonato wrote :
> Hello,
>
> Currently, the refactoring support for JSPs is pretty basic. As far as
> renaming goes, you should be able to refactor Java types, methods, and
> package fragments and have those reflected in your JSPs. Local variables,
> however, are not supported.
>
> Additionally, JSPs are set up as participants to show results for "References
> in Workspace".

While I am glad that this exists, it does not work for me.

The project was originally created in version 3.0 and I was using
MyEclipse as the web tools plugin. I then d/l Eclipse EE, but there was
no way to convert the "normal" project to a "Dynamic Web" project. So I
created an empty Dynamic Web project, then copied over the classes and
JSP pages into the correct directories (I think it was around 3.2). I
have since installed the various new versions of Eclipse and pointing
all of them to the same workspace.

All the WPT stuff works (editors, validation, publishing, etc), EXCEPT
for refactoring and references. Oh yes, hovering over classes, methods
and constants does not pop up an info window. Maybe related? Though
CTRL-Click does go to the class source and content assist does work.

I have tried to go through the preferences to see if I have managed to
turn these off, but nothing stands out.

I am at 3.4, waiting for some free time to upgrade to 3.5 (and install
all the plugins etc).

--
Wojtek :-)
Re: Refactoring et al [message #496481 is a reply to message #496399] Tue, 10 November 2009 04:19 Go to previous messageGo to next message
Mauro Molinari is currently offline Mauro Molinari
Messages: 278
Registered: July 2009
Senior Member
Wojtek ha scritto:
>> Additionally, JSPs are set up as participants to show results for
>> "References in Workspace".
>
> While I am glad that this exists, it does not work for me.

Regarding this very annoying bug, please have a look at:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=151689

I really hope that this problem is addressed in 3.2 as the Target
Milestone field value says...

Mauro.
Re: Refactoring et al [message #496578 is a reply to message #496481] Tue, 10 November 2009 10:46 Go to previous message
Eclipse User
Originally posted by: nowhere.a.com

Mauro Molinari wrote :
> Wojtek ha scritto:
>>> Additionally, JSPs are set up as participants to show results for
>>> "References in Workspace".
>>
>> While I am glad that this exists, it does not work for me.
>
> Regarding this very annoying bug, please have a look at:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=151689
>
> I really hope that this problem is addressed in 3.2 as the Target Milestone
> field value says...

Thanks.

and bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=148592 is also
related, though not marked as a duplicate.

--
Wojtek :-)
Previous Topic:Status of Bug 160220
Next Topic:WTP and SOAP Attachments
Goto Forum:
  


Current Time: Mon Sep 01 09:50:00 EDT 2014

Powered by FUDForum. Page generated in 0.03012 seconds