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 139787 - Autogeneration of common C++ code blocks
Summary: Autogeneration of common C++ code blocks
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
: 113131 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-12 14:46 UTC by obucinac
Modified: 2013-05-17 14:00 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 obucinac 2008-07-12 14:46:24 UTC
It would be nice to have a right click menu with functions like
New Class (creates h and cpp files with the same name, basic class body (c-tor, d-tor))
Inherit (creates new class inheriting the selected one, creates default bodies for pure virtual methods, etc...)
Comment 1 obucinac 2008-07-12 18:30:30 UTC
The following functions would handy too:

Add method: 
Ask user for method name, return type, parameters and create method declaration in .h and definition in .cpp file

Add property:
Ask user for property name and type and create private field and get/set methods declarations in .h and basic get/set
methods bodies in .cpp
Comment 2 Vladimir Voskresensky 2008-07-14 10:32:48 UTC
Thanks for suggestion, we have it in our plans.
For now you can find "Create Class" in context menu for project:
- in Projects tab, right click on Project or logical folder
- in submenu New choose "New Class..." action
Comment 3 avp 2008-07-14 11:11:53 UTC
*** Issue 113131 has been marked as a duplicate of this issue. ***