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 156057 - Provide Insert Code for C++
Summary: Provide Insert Code for C++
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker with 1 vote (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-25 06:40 UTC by shassett
Modified: 2011-08-04 12:59 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 shassett 2008-12-25 06:40:19 UTC
I can easily generate getters and setters for Java classes by clicking on Source --> Insert Code, but when I try this in
a C++ class, all that happens is the bell rings; there is no drop-down menu from which I can select "Getters and
Setters". I have tried this on Windows Ultimate 64-bit and also on Solaris.
Comment 1 Vladimir Voskresensky 2008-12-25 12:02:50 UTC
it is ENH for C++ support
Comment 2 Vladimir Voskresensky 2009-01-13 12:48:40 UTC
some preparations:
http://hg.netbeans.org/main?cmd=changeset;node=3efd7661b15a
Comment 3 Quality Engineering 2009-01-14 07:44:07 UTC
Integrated into 'main-golden', will be available in build *200901140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/645d12eb7b87
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: providing UI for IZ#156057: Insert Code doesn't work for C++
Comment 4 Quality Engineering 2009-01-16 07:29:39 UTC
Integrated into 'main-golden', will be available in build *200901160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f62cfa03d8c3
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: IZ#156057: Insert Code doesn't work for C++ (support constructor generation UI)
Comment 6 Vladimir Voskresensky 2009-09-25 14:06:00 UTC
consider for the next release due to lack of resources
Comment 7 batista_silva 2010-10-04 14:56:30 UTC
Hi, could you say me why some times when netbeans insert code in c++ in linux, it's insert this way: string name, insert getName, some times it's insert GetName, and not getName, it's change start from lower case to upper case, way this? how to fix this.

thanks regard.

Batista
Comment 8 Vladimir Voskresensky 2010-10-04 15:19:40 UTC
usually it checks class, inspect currently used method names and use the same if no any method names in class => upper case based name is inserted
Comment 9 Vladimir Voskresensky 2011-08-04 12:59:05 UTC
it's already implemented in 6.9.1