summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2011-12-07 14:23:00 +0100
committerChristian Kamm <christian.d.kamm@nokia.com>2011-12-08 10:03:40 +0100
commit852b2a948f1e1e736e7f0b682ea26208f68cb553 (patch)
tree847d4dcb5607402332dbd8d15e8fd6ea16a827ff
parent43f1e98bd1a761880ed0f27a130adc73e3120ec6 (diff)
downloadqt-creator-852b2a948f1e1e736e7f0b682ea26208f68cb553.tar.gz
Doc: Mention new refactoring actions.
Change-Id: Ic995d3680d6572b466d0c269ca83c3d9edcd5743 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
-rw-r--r--doc/src/editors/creator-editors.qdoc20
1 files changed, 15 insertions, 5 deletions
diff --git a/doc/src/editors/creator-editors.qdoc b/doc/src/editors/creator-editors.qdoc
index ee675705d9..a355cfc57f 100644
--- a/doc/src/editors/creator-editors.qdoc
+++ b/doc/src/editors/creator-editors.qdoc
@@ -1597,6 +1597,11 @@
\i Function signature. When this action is available, a light bulb
icon appears:
\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
\section2 Refactoring QML Code
@@ -1629,14 +1634,9 @@
\i Moves a QML element into a separate file
\i Element name
\row
- \i Rename id
- \i Renames all instances of an element ID in the currently open file
- \i Element ID
- \row
\i Split Initializer
\i Reformats a one-line element into a multi-line element. For example,
rewrites
-
\code
Item { x: 10; y: 20; width: 10 }
\endcode
@@ -1651,6 +1651,16 @@
}
\endcode
\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
*/