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 180407

Summary: Add refactoring features
Product: cnd Reporter: cooldmitri
Component: EditorAssignee: Alexander Simon <alexvsimon>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description cooldmitri 2010-02-08 02:09:14 UTC
In Refactoring menu it would be nice to add following commands:

for methods and functions (C/C++):

- Create implementation: if invoked for function in Header file - creates empty implementation function in corresponding source file
- Create declaration: if invoked for function in Source File - creates declaration in corresponding header file, e.g. void foo();

- Move implementation to Source File: if invoked for function in Header File - corresponding implementation of inline function moves to Source file, and function become not inline.
- Make this function inline: if invoked for function in Source File - move inplementation of function to Header file, and function become inline.

- Document method: if invoked for function - creates empty doxygen or javadoc style comment for function.