Doc: Add conditions to hide broken links in the QDS Manual

The linked topics are not included in the QDS Manual.

Change-Id: If2bfb1dbc4478a924e56f6dcce840a80c83f19e8
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Leena Miettinen
2023-06-13 15:13:00 +02:00
parent cf90e478e6
commit 196245c8f6
3 changed files with 13 additions and 4 deletions

View File

@@ -433,15 +433,19 @@
\row \row
\li Find references to symbol under cursor \li Find references to symbol under cursor
\li Ctrl+Shift+U \li Ctrl+Shift+U
\if defined(qtcreator)
\note If this keyboard shortcut does not work on Linux, see \note If this keyboard shortcut does not work on Linux, see
\l {Editing Issues}. \l {Editing Issues}.
\endif
\row \row
\li Follow symbol under cursor \li Follow symbol under cursor
Works with namespaces, classes, functions, variables, include Works with namespaces, classes, functions, variables, include
statements, and macros. Also, opens URLs in the default browser statements, and macros. Also, opens URLs in the default browser
\if defined(qtcreator)
and Qt resource files (.qrc) in the \l{Resource Files} and Qt resource files (.qrc) in the \l{Resource Files}
{resource editor} {resource editor}
\endif
\li F2 \li F2
\row \row
\li Rename symbol under cursor \li Rename symbol under cursor

View File

@@ -60,9 +60,12 @@
\li Open a terminal window in the selected directory or in the directory \li Open a terminal window in the selected directory or in the directory
that has the file. To specify the terminal to use on Linux and that has the file. To specify the terminal to use on Linux and
\macos, select \uicontrol Edit > \uicontrol Preferences > \macos, select \uicontrol Edit > \uicontrol Preferences >
\uicontrol Environment > \uicontrol System. To use an \l{Terminal} \uicontrol Environment > \uicontrol System.
{internal terminal}, select \uicontrol Edit > \uicontrol Preferences \if defined(qtcreator)
> \uicontrol Terminal > \uicontrol {Use internal terminal}. To use an \l{Terminal} {internal terminal}, select \uicontrol Edit >
\uicontrol Preferences > \uicontrol Terminal >
\uicontrol {Use internal terminal}.
\endif
\li Search from the selected directory. \li Search from the selected directory.
\li View file properties, such as name, path, MIME type, default editor, \li View file properties, such as name, path, MIME type, default editor,
line endings, indentation, owner, size, last read and modified line endings, indentation, owner, size, last read and modified

View File

@@ -79,14 +79,16 @@
\li Add and remove subprojects. \li Add and remove subprojects.
\li Find unused functions. \li Find unused functions.
\endif \endif
\li Search from the selected directory. \li Search from the selected directory.
\li Open a terminal window in the project directory. To specify the \li Open a terminal window in the project directory. To specify the
terminal to use on Linux and \macos, select \uicontrol Edit > terminal to use on Linux and \macos, select \uicontrol Edit >
\uicontrol Preferences > \uicontrol Environment > \uicontrol System. \uicontrol Preferences > \uicontrol Environment > \uicontrol System.
\if defined(qtcreator)
To use an \l{Terminal}{internal terminal}, select \uicontrol Edit > To use an \l{Terminal}{internal terminal}, select \uicontrol Edit >
\uicontrol Preferences > \uicontrol Terminal > \uicontrol Preferences > \uicontrol Terminal >
\uicontrol {Use internal terminal}. \uicontrol {Use internal terminal}.
\endif
\li Open a terminal window in the project directory that you configured \li Open a terminal window in the project directory that you configured
for building or running the project. for building or running the project.
\li Expand or collapse the tree view to show or hide all files and \li Expand or collapse the tree view to show or hide all files and