This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 199336

Summary: Move method implementation to source file
Product: cnd Reporter: charfeddine_ahmed
Component: -- Other --Assignee: issues@cnd <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description charfeddine_ahmed 2011-06-10 09:57:40 UTC
I believe it would be a great refactoring feature available to Netbeans C/C++ developers to be able to move a method implementation from a header file to the source file.

I have 4 years in development and still write implementation in .h and when finalized I move it to .cpp rather than do it directly in the cpp. I think many developers do the same. This behavior can be explained by the fact that that it is much easier to code a method while getting the whole picture of the class : its functionalities and data which the new method often depends on.

It is a tragedy that the Navigator window can not help. If you do implementation in the .cpp, navigator does not show you the data of the corresponding class, it only discovers what the .cpp has.

Thanks.
Comment 1 Alexander Simon 2013-12-27 07:11:03 UTC
Code completion in source class has "extract body" refactoring since 7.4.