aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2022-02-22 16:37:13 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2022-02-23 07:48:58 +0000
commitb0a7fe31c02c962eb943907f27d6acbb52d04239 (patch)
tree66e7f18834cdf1c53880d114965cb34a0026cd0e
parentc43ba1ae329937db62c4824311fe017b68b6033f (diff)
Doc: Update Options > Environment > System screenshot
- Mention "Auto-save files after refactoring" in Opening Files. - Include the screenshot in Specifying Environment Settings. Task-number: QTCREATORBUG-26610 Change-Id: I05eaf85244ba1f1acf870bbcd37ba81f616b17a4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--doc/qtcreator/images/qtcreator-options-environment-system.pngbin10861 -> 12580 bytes
-rw-r--r--doc/qtcreator/src/editors/creator-only/creator-clang-codemodel.qdoc8
-rw-r--r--doc/qtcreator/src/projects/creator-only/creator-projects-settings-environment.qdoc2
-rw-r--r--doc/qtcreator/src/user-interface/creator-open-documents-view.qdoc2
4 files changed, 4 insertions, 8 deletions
diff --git a/doc/qtcreator/images/qtcreator-options-environment-system.png b/doc/qtcreator/images/qtcreator-options-environment-system.png
index bc7ccc8ee8..9d6cb599c1 100644
--- a/doc/qtcreator/images/qtcreator-options-environment-system.png
+++ b/doc/qtcreator/images/qtcreator-options-environment-system.png
Binary files differ
diff --git a/doc/qtcreator/src/editors/creator-only/creator-clang-codemodel.qdoc b/doc/qtcreator/src/editors/creator-only/creator-clang-codemodel.qdoc
index 3211d7d950..d6f5709c37 100644
--- a/doc/qtcreator/src/editors/creator-only/creator-clang-codemodel.qdoc
+++ b/doc/qtcreator/src/editors/creator-only/creator-clang-codemodel.qdoc
@@ -157,14 +157,6 @@
re-scanning is incremental, so nothing is lost by closing and re-starting
\QC.
- Because clangd considers only the on-disk state of included header files
- when parsing a source file, you need to save changes in header files to
- have them considered elsewhere for completion, diagnostics, and so on.
- Partly for this reason, files that are changed by refactoring actions are
- saved automatically. To disable this feature, select \uicontrol Tools >
- \uicontrol Options > \uicontrol Environment > \uicontrol System >
- \uicontrol {Auto-save files after refactoring}.
-
The document outline in the \l{Viewing Defined Types and Symbols}
{Outline} view is backed by clangd's document symbol support, which
makes the results more reliable than before.
diff --git a/doc/qtcreator/src/projects/creator-only/creator-projects-settings-environment.qdoc b/doc/qtcreator/src/projects/creator-only/creator-projects-settings-environment.qdoc
index 6a4dc9bf92..c47b9144e4 100644
--- a/doc/qtcreator/src/projects/creator-only/creator-projects-settings-environment.qdoc
+++ b/doc/qtcreator/src/projects/creator-only/creator-projects-settings-environment.qdoc
@@ -45,6 +45,8 @@
\uicontrol Environment > \uicontrol System, and then select
\uicontrol Change in the \uicontrol Environment field.
+ \image qtcreator-options-environment-system.png "Environment options System tab"
+
In addition, you can specify custom environment variables in the
\uicontrol {Project Settings} > \uicontrol Environment settings.
They are added to all build environments. The final build environment
diff --git a/doc/qtcreator/src/user-interface/creator-open-documents-view.qdoc b/doc/qtcreator/src/user-interface/creator-open-documents-view.qdoc
index ff0fef58dd..ad53a9912c 100644
--- a/doc/qtcreator/src/user-interface/creator-open-documents-view.qdoc
+++ b/doc/qtcreator/src/user-interface/creator-open-documents-view.qdoc
@@ -63,6 +63,8 @@
\li Select the \uicontrol {Auto-save modified files} check box to
automatically save changed files at the intervals specified in
the \uicontrol Interval field.
+ \li Select the \uicontrol {Auto-save files after refactoring} check
+ box to automatically save \l{Refactoring}{refactored files}.
\li Select the \uicontrol {Auto-suspend unmodified files} check
box to automatically free the resources of open files after
prolonged inactivity. The files are still listed in the