forked from qt-creator/qt-creator
Doc: Mention new refactoring actions.
Change-Id: Ic995d3680d6572b466d0c269ca83c3d9edcd5743 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
This commit is contained in:
@@ -1597,6 +1597,11 @@
|
|||||||
\i Function signature. When this action is available, a light bulb
|
\i Function signature. When this action is available, a light bulb
|
||||||
icon appears:
|
icon appears:
|
||||||
\inlineimage qml-toolbar-indicator.png
|
\inlineimage qml-toolbar-indicator.png
|
||||||
|
\row
|
||||||
|
\i Add #include for undeclared identifier
|
||||||
|
\i Adds an #include directive to the current file to make the
|
||||||
|
declaration of a symbol available.
|
||||||
|
\i Undeclared identifier
|
||||||
\endtable
|
\endtable
|
||||||
|
|
||||||
\section2 Refactoring QML Code
|
\section2 Refactoring QML Code
|
||||||
@@ -1628,15 +1633,10 @@
|
|||||||
\i Move Component into 'filename.qml'
|
\i Move Component into 'filename.qml'
|
||||||
\i Moves a QML element into a separate file
|
\i Moves a QML element into a separate file
|
||||||
\i Element name
|
\i Element name
|
||||||
\row
|
|
||||||
\i Rename id
|
|
||||||
\i Renames all instances of an element ID in the currently open file
|
|
||||||
\i Element ID
|
|
||||||
\row
|
\row
|
||||||
\i Split Initializer
|
\i Split Initializer
|
||||||
\i Reformats a one-line element into a multi-line element. For example,
|
\i Reformats a one-line element into a multi-line element. For example,
|
||||||
rewrites
|
rewrites
|
||||||
|
|
||||||
\code
|
\code
|
||||||
Item { x: 10; y: 20; width: 10 }
|
Item { x: 10; y: 20; width: 10 }
|
||||||
\endcode
|
\endcode
|
||||||
@@ -1651,6 +1651,16 @@
|
|||||||
}
|
}
|
||||||
\endcode
|
\endcode
|
||||||
\i Element property
|
\i Element property
|
||||||
|
\row
|
||||||
|
\i Wrap in Loader
|
||||||
|
\i Wraps the element in a Component element and loads it dynamically in
|
||||||
|
a Loader element. This is usually done to improve startup time.
|
||||||
|
\i Element name
|
||||||
|
\row
|
||||||
|
\i Add a message suppression comment
|
||||||
|
\i Prepends the line with an annotation comment that stops the message
|
||||||
|
from being generated.
|
||||||
|
\i Error, warning or hint from static analysis
|
||||||
|
|
||||||
\endtable
|
\endtable
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user