Refactor not working in C++ [message #231903] |
Sun, 09 September 2007 21:48  |
Eclipse User |
|
|
|
Originally posted by: no-reply.effisols.com
Eclipse 3.3 for C++ on Ubuntu Linux.
In version 3.3 it seems that the only refactoring available is Rename.
OK, I'll try it.
I put the cursor on some identifier and select Refactor->Rename. After
the preconditions have been examined, the program correctly identifies
the type of the identifier (method, global function, local variable ...)
and offers me a Preview button (OK is greyed, except for local variable).
But when I click Preview, in all cases I get a message "The refactoring
does not change any source code" and when I click "OK" everything is
left the way it was.
What am I doing wrong?
David Wilkinson
|
|
|
Re: Refactor not working in C++ [message #232287 is a reply to message #231903] |
Tue, 11 September 2007 18:01  |
Eclipse User |
|
|
|
Originally posted by: no-reply.effisols.com
David Wilkinson wrote:
> Eclipse 3.3 for C++ on Ubuntu Linux.
>
> In version 3.3 it seems that the only refactoring available is Rename.
> OK, I'll try it.
>
> I put the cursor on some identifier and select Refactor->Rename. After
> the preconditions have been examined, the program correctly identifies
> the type of the identifier (method, global function, local variable ...)
> and offers me a Preview button (OK is greyed, except for local variable).
>
> But when I click Preview, in all cases I get a message "The refactoring
> does not change any source code" and when I click "OK" everything is
> left the way it was.
>
> What am I doing wrong?
OK, I updated my JRE from 1.4 to 1.6 and it seems to be working now. Was
that the problem?
David Wilkinson
|
|
|
Powered by
FUDForum. Page generated in 0.09023 seconds