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.
Created attachment 163563 [details] Current list of actions Hi, currently "Source -> Insert code... -> Generate" inside a class gives some very useful options when writing code. See attachment for the list of actions that can be done on an empty class that derives from another class with pure virtual methods. However I believe some more may be added. Here are some suggestions. #1. Implement pure virtual method from base class Name: "Implement pure virtual base method" Enabled if: the class derives from another class which has pure virtual methods Example: class InterfaceA { public: virtual ~InterfaceA() {} virtual void SetInt(int i) = 0; }; class ConcreteA : public InterfaceA { // this can be auto generated virtual void SetInt(int i) override; // note 1: virtual is optional // note 2: override is for C++11 and above }; #2. override virtual method Name: "Override base class method" Enabled if: the class derives from another class which has virtual methods Example: Same as above, but for non-pure virtual methods. #3. Add destructor Name: "Add destructor" Enabled if: always, or at least when there are pure virtual functions in this class Example: class InterfaceA { public: // this can be auto generated virtual ~InterfaceA() {} // note 1: virtual is optional but would be good if it was added when there are pure virtual functions in the class virtual void SetInt(int i) = 0; }; Thanks, Marco
In netbeans 8.2 the functionality above is available using CTRL + <space>.
Closing. Functionality already available.