When you define a member function in a class Interface in Qt creator you can right click on the function prototype and select Refactor->Add Definition in YouClass.cpp . But this will be really handy If you can set a shortcut for it. I couldn't find it in options->shortcut section.
For example in Visual Assist you can press ALT+SHIFT+Q.
You can press Alt+Enter to open a context menu that contains refactoring actions, which are available at the current cursor position.
This is also mentioned in the documentation under Refactoring C++ Code
Maybe a solution with a macro or something in that direction exists as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With