| View previous topic :: View next topic |
| Author |
Message |
wiegerw
Joined: 02 Nov 2009 Posts: 2
|
Posted: Mon Nov 02, 2009 12:18 am Post subject: refactoring errors in Netbeans 6.8 beta |
|
|
I experimented with refactoring with Netbeans 6.8 beta, and it seems like it isn't reliable. What I did was to create a project with existing sources, and then rename a class A to B in the header file A.h.
In the file A.h itself refactoring works fine, but in other files containing occurrences of A it goes wrong. Instead of replacing the occurrences of A, the new name B is inserted at the beginning of the file for each occurrence of A in that file. |
|
| Back to top |
|
 |
Vladimir Voskresensky Posted via mailing list.
|
Posted: Mon Nov 02, 2009 5:10 am Post subject: refactoring errors in Netbeans 6.8 beta |
|
|
Hi,
Fixed in trunk.
It was P1 http://www.netbeans.org/issues/show_bug.cgi?id=175578
Thanks,
Vladimir.
wiegerw wrote:
| Quote: | I experimented with refactoring with Netbeans 6.8 beta, and it seems like it isn't reliable. What I did was to create a project with existing sources, and then rename a class A to B in the header file A.h.
In the file A.h itself refactoring works fine, but in other files containing occurrences of A it goes wrong. Instead of replacing the occurrences of A, the new name B is inserted at the beginning of the file for each occurrence of A in that file.
|
|
|
| Back to top |
|
 |
wiegerw
Joined: 02 Nov 2009 Posts: 2
|
Posted: Mon Nov 02, 2009 10:54 pm Post subject: Re: refactoring errors in Netbeans 6.8 beta |
|
|
Good to hear that! It's a very useful feature.
Thanks,
Wieger
| Vladimir Voskresensky wrote: | Hi,
Fixed in trunk.
It was P1 http://www.netbeans.org/issues/show_bug.cgi?id=175578
Thanks,
Vladimir.
wiegerw wrote:
| Quote: | I experimented with refactoring with Netbeans 6.8 beta, and it seems like it isn't reliable. What I did was to create a project with existing sources, and then rename a class A to B in the header file A.h.
In the file A.h itself refactoring works fine, but in other files containing occurrences of A it goes wrong. Instead of replacing the occurrences of A, the new name B is inserted at the beginning of the file for each occurrence of A in that file.
|
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|