2023-07-04 16:48:52 +02:00
|
|
|
// Copyright (C) 2023 The Qt Company Ltd.
|
2022-08-19 15:59:36 +02:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
|
2021-04-08 12:30:30 +02:00
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\page creator-open-documents-view.html
|
2023-07-04 16:48:52 +02:00
|
|
|
|
2022-12-05 09:02:44 +02:00
|
|
|
\if defined(qtdesignstudio)
|
2023-07-04 16:48:52 +02:00
|
|
|
\previouspage creator-file-system-view.html
|
2022-12-05 09:02:44 +02:00
|
|
|
\nextpage studio-content-library.html
|
|
|
|
|
\else
|
2023-07-07 12:17:51 +02:00
|
|
|
\previouspage creator-reference.html
|
2022-12-05 09:02:44 +02:00
|
|
|
\endif
|
2021-04-08 12:30:30 +02:00
|
|
|
|
2023-07-04 16:48:52 +02:00
|
|
|
\ingroup creator-reference-sidebar-views
|
|
|
|
|
\ingroup studio-views
|
|
|
|
|
|
2021-04-08 12:30:30 +02:00
|
|
|
\title Open Documents
|
|
|
|
|
|
2023-07-04 16:48:52 +02:00
|
|
|
\brief Shows currently open files.
|
2021-04-08 12:30:30 +02:00
|
|
|
|
2023-07-04 16:48:52 +02:00
|
|
|
\image qtcreator-open-documents-view.png {Open Documents view}
|
2021-04-08 12:30:30 +02:00
|
|
|
|
|
|
|
|
You can use the context menu to apply some of the functions also available
|
2021-11-11 17:53:35 +01:00
|
|
|
in the \uicontrol File menu and in the \l {File System Context Menu}
|
2022-11-02 16:51:20 +01:00
|
|
|
{File System} view to the file that you select in the view.
|
2021-04-08 12:30:30 +02:00
|
|
|
|
|
|
|
|
In addition, you can:
|
|
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
\li Copy the full path of the file or just the filename to the
|
|
|
|
|
clipboard.
|
2023-07-04 16:48:52 +02:00
|
|
|
\li Pin files to the top of the list to keep them open when you
|
|
|
|
|
select \uicontrol {Close All}.
|
2021-04-08 12:30:30 +02:00
|
|
|
\endlist
|
|
|
|
|
|
2023-07-04 16:48:52 +02:00
|
|
|
\section1 Setting Preferences for Opening Files
|
2021-04-08 12:30:30 +02:00
|
|
|
|
2023-07-04 16:48:52 +02:00
|
|
|
To set preferences for opening files and handling open files, select
|
2023-10-17 16:19:40 +02:00
|
|
|
\preferences > \uicontrol Environment > \uicontrol System:
|
2021-04-08 12:30:30 +02:00
|
|
|
|
2023-07-04 16:48:52 +02:00
|
|
|
\image qtcreator-options-environment-system.png {System tab in Environment preferences}
|
2021-04-08 12:30:30 +02:00
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
\li In the \uicontrol {When files are externally modified} field,
|
|
|
|
|
select whether you want to be prompted to reload open files
|
|
|
|
|
that were modified externally. For example, when you pull
|
|
|
|
|
changes from a version control system.
|
|
|
|
|
\li Select the \uicontrol {Auto-save modified files} check box to
|
|
|
|
|
automatically save changed files at the intervals specified in
|
|
|
|
|
the \uicontrol Interval field.
|
2022-02-22 16:37:13 +01:00
|
|
|
\li Select the \uicontrol {Auto-save files after refactoring} check
|
|
|
|
|
box to automatically save \l{Refactoring}{refactored files}.
|
2021-04-08 12:30:30 +02:00
|
|
|
\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
|
|
|
|
|
\uicontrol {Open Documents} view. Set the minimum number of files
|
|
|
|
|
that should be kept in memory in the \uicontrol {Files to keep open}
|
|
|
|
|
field.
|
|
|
|
|
\li Select the \uicontrol {Warn before opening text files greater than}
|
|
|
|
|
check box to receive warnings about opening big text files.
|
|
|
|
|
\li In the \uicontrol {Maximum number of entries in "Recent Files"}
|
|
|
|
|
field, set the number of recently opened files listed in
|
|
|
|
|
\uicontrol File > \uicontrol {Recent Files}.
|
|
|
|
|
\endlist
|
|
|
|
|
*/
|