Home » Language IDEs » Java Development Tools (JDT) » Refactor > Rename
Refactor > Rename [message #19464] |
Sun, 11 May 2003 22:19  |
Eclipse User |
|
|
|
I try refactor > rename for class, field, method and it don't work.
I don't get Compilation unit,I have nothing in source,nothing in log.
Command do nothing.
What is a problem ?
My system : linux-gtk (rh 8.0), eclipse 2.1
regards
Haris Peco
|
|
| | | | | | |
Re: Refactor > Rename [message #20861 is a reply to message #20813] |
Tue, 13 May 2003 09:31   |
Eclipse User |
|
|
|
If I select nothing and call refactor -> rename I get dialog with error :
Operation unavailable on the current selection.
Select a java project, source folder, resource package,
completion unit, type , field, method, parameter or a local variable.
If I select a java project or anything I get nothing.
It haven't message, error ...
I am try on win xp (cvs eclipse 2.1), too.It is same.
regards
Haris Peco
Adam Kiezun wrote:
>> Hello Adam,
>> If I try rename when have bad selection (nothing select or complete
>> line
>> select) I get error
>
> what kind of error?
> can you post a simple example here?
> a.
> --
> eclipse.org
|
|
| |
Re: Refactor > Rename [message #20892 is a reply to message #20886] |
Tue, 13 May 2003 10:44   |
Eclipse User |
|
|
|
Adam Kiezun wrote:
>> If I select nothing and call refactor -> rename I get dialog with error :
>>
>> Operation unavailable on the current selection.
>> Select a java project, source folder, resource package,
>> completion unit, type , field, method, parameter or a local variable.
>
> then i guess that's expected if you select something that is not
> a reference to anything that could be renamed.
>
>> If I select a java project or anything I get nothing.
>> It haven't message, error ...
>
> do you mean that you cannot rename a java project?
>
yes, I can't rename java project, field, class, method.
I can rename nothing
regards
Haris Peco
|
|
| | | | | | | | |
Re: Refactor > Rename [message #21812 is a reply to message #21545] |
Tue, 13 May 2003 13:53   |
Eclipse User |
|
|
|
Originally posted by: vkyr.nospam-ision.net
NO, it isn't! We don't have any third party plugins installed on our
University dev machines, just Eclipse 2.1 and our own actual plugin projects
which we have under development. - BTW, at home on my own two computers
(same OS same Eclipse version with plenty third party addon plugins...) I
don't get this behahaviour.
Hmmm, maybe for the Univerity computers it has something todo with access
rights or the like (I don't really know, just a guess into the blue), or
Eclipse makes somewhere some broken entry which yields any future rename
usage...? Absolutely strage related to this is, that there is always *no*
error message in the error log, console or somewhere else. - It just doesn't
do nothing in these strange and odd "rename behaviour" cases!
Valentino
"Adam Kiezun" <adam_kiezun@ch.ibm.spam.protection.com> schrieb im
Newsbeitrag news:b9r5ou$4h2$1@rogue.oti.com...
> > Is it possible that any plugin crash refactor - I have next plugins
(except
> > default) :
>
> it sure is
> i never used any of these plugins, though, so i have no idea
>
> a.
> --
> eclipse.org
>
>
|
|
| | | | | | | | | | | |
Re: Refactor > Rename [message #23809 is a reply to message #23765] |
Wed, 14 May 2003 17:47   |
Eclipse User |
|
|
|
Originally posted by: vkyr.nospam-ision.net
AFAIK we only have JDK 1.4 versions on those computers in the University,
even I'am not absolutely sure for this, so I will check this on monday when
I'am again there. - However, at home I use Eclipse 2.1 final on two
computers, both running W2K and the JDK 1.4.1 and here I don't have these
problems. At home it works so far.
Valentino
"snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
news:b9u9uj$qq9$1@rogue.oti.com...
> It is a problem that jdt.ui isn't compatible with jdk 1.3+
>
> Thanks
> Haris Peco
> Valentino Kyriakides wrote:
>
> > Yes, I use instead the Eclipse "jdt.ui" sources which are coming along
> > with the Eclipse 2.1 SDK. I always import the Eclipse "jdt.ui" plugin
with
> > sources into my dev workspace and the I'am recompiling these. The reason
I
> > usually tend to use a source import of the whole "jdt.ui" inside my
> > workspace is, that I'am adapting/combining foreign source model
> > refactoring plugins with the standard Eclipse Java refactorings which
come
> > along inside the jdt.ui.
> >
> > However, I now always have the effect, that after importing the Eclipse
> > "jdt.ui" plugin sources in the above described way (even I leave the
> > jdt.ui clean/unmodified by me), the rename refactorings don't work
inside
> > any "runtime-workbench" launch. All other refactorings in contrast seem
to
> > work instead. - I can only fix this odd "runtime-workbench" rename
> > refactoring behaviour, by deleting the imported "jdt.ui" and it's
sources
> > completely from the dev workspace. Since thus the next time when the
> > runtime-workspace is launched it uses again the default Eclipse deployed
> > "jdt.ui" plugin from the Eclipse plugin directory and not the imported
and
> > deleted stuff I had before in the workspace.
> >
> >
> > Valentino
> >
> >
> > "Adam Kiezun" <adam_kiezun@ch.ibm.spam.protection.com> schrieb im
> > Newsbeitrag news:b9tnov$8jt$1@rogue.oti.com...
> >> > Adam ?
> >>
> >> guys, do you also see the problem if you use the normal, pre-build
> >> eclipse
> > distribution?
> >> a.
> >> --
> >> eclipse.org
> >>
> >>
> >>
>
|
|
| | | |
Re: Refactor > Rename [message #24361 is a reply to message #23809] |
Thu, 15 May 2003 09:32   |
Eclipse User |
|
|
|
Is eclipse from cvs ?
Valentino Kyriakides wrote:
> AFAIK we only have JDK 1.4 versions on those computers in the University,
> even I'am not absolutely sure for this, so I will check this on monday
> when I'am again there. - However, at home I use Eclipse 2.1 final on two
> computers, both running W2K and the JDK 1.4.1 and here I don't have these
> problems. At home it works so far.
>
> Valentino
>
> "snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
> news:b9u9uj$qq9$1@rogue.oti.com...
>> It is a problem that jdt.ui isn't compatible with jdk 1.3+
>>
>> Thanks
>> Haris Peco
>> Valentino Kyriakides wrote:
>>
>> > Yes, I use instead the Eclipse "jdt.ui" sources which are coming along
>> > with the Eclipse 2.1 SDK. I always import the Eclipse "jdt.ui" plugin
> with
>> > sources into my dev workspace and the I'am recompiling these. The
>> > reason
> I
>> > usually tend to use a source import of the whole "jdt.ui" inside my
>> > workspace is, that I'am adapting/combining foreign source model
>> > refactoring plugins with the standard Eclipse Java refactorings which
> come
>> > along inside the jdt.ui.
>> >
>> > However, I now always have the effect, that after importing the Eclipse
>> > "jdt.ui" plugin sources in the above described way (even I leave the
>> > jdt.ui clean/unmodified by me), the rename refactorings don't work
> inside
>> > any "runtime-workbench" launch. All other refactorings in contrast seem
> to
>> > work instead. - I can only fix this odd "runtime-workbench" rename
>> > refactoring behaviour, by deleting the imported "jdt.ui" and it's
> sources
>> > completely from the dev workspace. Since thus the next time when the
>> > runtime-workspace is launched it uses again the default Eclipse
>> > deployed "jdt.ui" plugin from the Eclipse plugin directory and not the
>> > imported
> and
>> > deleted stuff I had before in the workspace.
>> >
>> >
>> > Valentino
>> >
>> >
>> > "Adam Kiezun" <adam_kiezun@ch.ibm.spam.protection.com> schrieb im
>> > Newsbeitrag news:b9tnov$8jt$1@rogue.oti.com...
>> >> > Adam ?
>> >>
>> >> guys, do you also see the problem if you use the normal, pre-build
>> >> eclipse
>> > distribution?
>> >> a.
>> >> --
>> >> eclipse.org
>> >>
>> >>
>> >>
>>
|
|
|
Re: Refactor > Rename [message #24648 is a reply to message #24361] |
Thu, 15 May 2003 11:10  |
Eclipse User |
|
|
|
Originally posted by: vkyr.nospam-ision.net
NO, it's the "jdt.ui" plugin from inside of the Eclipse 2.1 final SDK (and
thus not from the CVS server), which I import with included sources into the
workspace and then recompile for usage in the Eclipse runtime-workspace.
Valentino
"snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
news:b9vsgl$uhh$2@rogue.oti.com...
> Is eclipse from cvs ?
>
> Valentino Kyriakides wrote:
>
> > AFAIK we only have JDK 1.4 versions on those computers in the
University,
> > even I'am not absolutely sure for this, so I will check this on monday
> > when I'am again there. - However, at home I use Eclipse 2.1 final on two
> > computers, both running W2K and the JDK 1.4.1 and here I don't have
these
> > problems. At home it works so far.
> >
> > Valentino
> >
> > "snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
> > news:b9u9uj$qq9$1@rogue.oti.com...
> >> It is a problem that jdt.ui isn't compatible with jdk 1.3+
> >>
> >> Thanks
> >> Haris Peco
> >> Valentino Kyriakides wrote:
> >>
> >> > Yes, I use instead the Eclipse "jdt.ui" sources which are coming
along
> >> > with the Eclipse 2.1 SDK. I always import the Eclipse "jdt.ui" plugin
> > with
> >> > sources into my dev workspace and the I'am recompiling these. The
> >> > reason
> > I
> >> > usually tend to use a source import of the whole "jdt.ui" inside my
> >> > workspace is, that I'am adapting/combining foreign source model
> >> > refactoring plugins with the standard Eclipse Java refactorings which
> > come
> >> > along inside the jdt.ui.
> >> >
> >> > However, I now always have the effect, that after importing the
Eclipse
> >> > "jdt.ui" plugin sources in the above described way (even I leave the
> >> > jdt.ui clean/unmodified by me), the rename refactorings don't work
> > inside
> >> > any "runtime-workbench" launch. All other refactorings in contrast
seem
> > to
> >> > work instead. - I can only fix this odd "runtime-workbench" rename
> >> > refactoring behaviour, by deleting the imported "jdt.ui" and it's
> > sources
> >> > completely from the dev workspace. Since thus the next time when the
> >> > runtime-workspace is launched it uses again the default Eclipse
> >> > deployed "jdt.ui" plugin from the Eclipse plugin directory and not
the
> >> > imported
> > and
> >> > deleted stuff I had before in the workspace.
> >> >
> >> >
> >> > Valentino
> >> >
> >> >
> >> > "Adam Kiezun" <adam_kiezun@ch.ibm.spam.protection.com> schrieb im
> >> > Newsbeitrag news:b9tnov$8jt$1@rogue.oti.com...
> >> >> > Adam ?
> >> >>
> >> >> guys, do you also see the problem if you use the normal, pre-build
> >> >> eclipse
> >> > distribution?
> >> >> a.
> >> >> --
> >> >> eclipse.org
> >> >>
> >> >>
> >> >>
> >>
>
|
|
|
Goto Forum:
Current Time: Tue May 13 09:27:39 EDT 2025
Powered by FUDForum. Page generated in 0.10175 seconds
|