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.
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.
it is ENH for C++ support
some preparations: http://hg.netbeans.org/main?cmd=changeset;node=3efd7661b15a
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++
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)
Alt+Insert is implemented in the scope of class body to generate getters/setters: http://hg.netbeans.org/main?cmd=changeset;node=a53af85cef88 http://hg.netbeans.org/main?cmd=changeset;node=3e33c165747e http://hg.netbeans.org/main?cmd=changeset;node=85d960c11b6b http://hg.netbeans.org/main?cmd=changeset;node=de479de2a974 http://hg.netbeans.org/main?cmd=changeset;node=3f439d66ef29 http://hg.netbeans.org/main?cmd=changeset;node=639d0d3aad34
consider for the next release due to lack of resources
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
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
it's already implemented in 6.9.1