FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

refactoring errors in Netbeans 6.8 beta

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
wiegerw



Joined: 02 Nov 2009
Posts: 2

PostPosted: Mon Nov 02, 2009 12:18 am    Post subject: refactoring errors in Netbeans 6.8 beta Reply with 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
View user's profile Send private message
Vladimir Voskresensky
Posted via mailing list.





PostPosted: Mon Nov 02, 2009 5:10 am    Post subject: refactoring errors in Netbeans 6.8 beta Reply with quote

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

PostPosted: Mon Nov 02, 2009 10:54 pm    Post subject: Re: refactoring errors in Netbeans 6.8 beta Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB