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 - Add refactoring features
Summary: Add refactoring features
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-08 02:09 UTC by cooldmitri
Modified: 2014-04-01 11:46 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 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.