How to add short-key for “Add Definition in class.cpp” in Qt Creator

前端 未结 2 1576
栀梦
栀梦 2021-02-05 07:51

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

2条回答
  •  [愿得一人]
    2021-02-05 08:31

    As proposed by @Robin Karlsson:

    You can press Alt+Enter to open a context menu that contains refactoring actions available in the current cursor position.

    As mentioned by @Dmitry Volosnykh, the above appears in the documentation (more concretely at Applying Refactoring Actions )

提交回复
热议问题