aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPetar Perisin <petar.perisin@gmail.com>2012-11-01 03:43:28 +0100
committerDavid Schulz <david.schulz@digia.com>2013-01-11 12:48:44 +0100
commit39e9c5ef20df0b75eb8b5a1b27af609fa7ff20e3 (patch)
tree7d5fe369677aa4b2f2360ec3c359ecb7a346640f /doc
parentc0e7b65db3dafcd6e50756133b39b31701903494 (diff)
Editor: Allow to open links in a new split.
This changes current behavior while opening links. Link is now opened in next split by default. If you use CTRL+Click to open links, it will also open in next split. However, by using CTRL+ALT+click it will open in current split. There are two new checkboxes in Tools/Options/Text Editor/Display: - "Open Links in New Split" - if it is checked, links will not be opened in current split. However, if document with link is already opened, it will be used to open the split - "Force open links in next split" - Links will always open in next split, even if their document is already opened somewhere else. Task-number: QTCREATORBUG-8117 Change-Id: Ib99075b55d9e9683ed2c2386767227457de0a3fc Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/editors/creator-coding-edit-mode.qdoc14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/src/editors/creator-coding-edit-mode.qdoc b/doc/src/editors/creator-coding-edit-mode.qdoc
index ae99691081..c98a3b55e0 100644
--- a/doc/src/editors/creator-coding-edit-mode.qdoc
+++ b/doc/src/editors/creator-coding-edit-mode.qdoc
@@ -118,7 +118,9 @@
\section1 Moving to Symbol Definition or Declaration
You can move directly to the definition or the declaration of a symbol by
- holding the \key Ctrl and clicking the symbol.
+ holding the \key Ctrl and clicking the symbol. If you have multiple splits
+ opened, link will be opened in next split. To open it in current split,
+ hold \key Ctrl and \key Alt while clicking on the symbol.
To enable this moving function, in \gui Tools > \gui{Options} >
\gui{Text Editor} > \gui Behavior, select \gui{Enable mouse navigation}.
@@ -126,11 +128,17 @@
You can also select the symbol and press \key F2, or right-click the symbol
and select \gui {Follow Symbol Under Cursor} to move to its definition or
declaration. This feature is supported for namespaces, classes, methods,
- variables, include statements, and macros.
+ variables, include statements, and macros. If you have multiple splits
+ opened, the result will be shown in another split.
To switch between the definition and declaration of a symbol, press
\key {Shift+F2} or right-click the symbol and select \gui {Switch Between
- Method Declaration/Definition}.
+ Method Declaration/Definition}. If you have multiple splits opened, the
+ result will be shown in another split.
+
+ Although links are opened in another split by default, this can be disabled
+ in \gui Tools > \gui{Options} > \gui{Text Editor} > \gui Display, by
+ unchecking \gui{Open Links in Next Split}.
\section1 Using Update Code Model