Skip to main content



      Home
Home » Newcomers » Newcomers » Refactor not working in C++
Refactor not working in C++ [message #231903] Sun, 09 September 2007 21:48 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Parms for Eclipse
Next Topic:Cannon build?
Goto Forum:
  


Current Time: Wed May 07 12:38:36 EDT 2025

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

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

Back to the top