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 - Move method implementation to source file
Summary: Move method implementation to source file
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-10 09:57 UTC by charfeddine_ahmed
Modified: 2013-12-27 07:11 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.