diff options
Diffstat (limited to 'doc/qtcreator/src/editors/creator-code-refactoring.qdoc')
-rw-r--r-- | doc/qtcreator/src/editors/creator-code-refactoring.qdoc | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/doc/qtcreator/src/editors/creator-code-refactoring.qdoc b/doc/qtcreator/src/editors/creator-code-refactoring.qdoc index cd1177b427..ab8145b5f7 100644 --- a/doc/qtcreator/src/editors/creator-code-refactoring.qdoc +++ b/doc/qtcreator/src/editors/creator-code-refactoring.qdoc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2019 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Creator documentation. @@ -115,9 +115,10 @@ When you rename a class, you can also change filenames that match the class name. - To rename a specific symbol in a Qt project, place the cursor - on it and select \uicontrol Tools > \uicontrol {C++} > + To rename a C++ symbol in a project, place the cursor + on it and select \uicontrol Tools > \uicontrol {C++} > \uicontrol {Rename Symbol Under Cursor} or press \key {Ctrl+Shift+R}. + Use the keyboard shortcut to rename Python symbols. \endif To rename a QML type in a project, select \uicontrol Tools > @@ -152,9 +153,14 @@ \section1 Column Editing - To apply a change to several rows in a column simultaneously, press - \key Alt, select the rows, and enter or remove text. The changes are made - simultaneously at the cursor position on all the selected rows. + To apply a change to several rows in a column simultaneously, hold + \key Alt, select the rows using the mouse, and enter or remove text. + The changes are made simultaneously at the cursor position on all the + selected rows. + + On Windows and Linux, you can also hold \key {Alt+Shift} and select + the rows using the arrow keys and the \key PageUp, \key PageDown, + \key Home, \key End keys. \section1 Applying Refactoring Actions @@ -575,6 +581,11 @@ definition of a symbol available. \li Undeclared identifier \row + \li Add Forward Declaration + \li Adds a forward declaration for an undeclared identifier + operation. + \li Undeclared identifier + \row \li Reformat Pointers or References \li Reformats declarations with pointers or references according to the code style settings for the current project. In case no |