aboutsummaryrefslogtreecommitdiffstats
path: root/doc/qtcreator/src/editors/creator-editors-options.qdoc
blob: 152b89e6b15a964657674f7978a1cda82dac23db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only

// **********************************************************************
// NOTE: the sections are not ordered by their logical order to avoid
// reshuffling the file each time the index order changes (i.e., often).
// Run the fixnavi.pl script to adjust the links to the index order.
// **********************************************************************

/*!
    \page creator-editor-options.html
    \if defined(qtdesignstudio)
    \previouspage creator-editor-quick-fixes.html
    \else
    \previouspage creator-beautifier.html
    \endif
    \nextpage creator-preferences-text-editor-font-colors.html

    \title Configuring the Editor

    You can configure the text editor to suit your specific needs by selecting
    \preferences > \uicontrol{Text Editor}.

    \image qtcreator-font-colors.png "Text Editor preferences"

    The settings you specify apply globally to all projects.

    You can also specify indentation settings separately for C++ and QML files
    either globally or for the open project. For more information, see
    \l{Indent text or code}.

    You can perform the following configuration actions:

    \list
        \li Set the \l{Font & Colors}{font preferences and
            apply color schemes} for syntax highlighting in
            \uicontrol {Font & Colors}.
        \li Specify \l{Generic Highlighting}
            {definition files for syntax highlighting} for other types of files
             than C++ or QML in \uicontrol {Generic Highlighter}.

        \li Set \l{Indent text or code}{tabs, indentation, the handling of
            whitespace, and mouse operations} in \uicontrol Behavior.

        \li Set various display properties, such as \l{Highlighting Blocks}
            {highlighting} or \l{Folding Blocks}{folding} blocks or text
            wrapping in \uicontrol Display.

        \li Add, modify, and remove \l{Snippets}{code snippets} in
            \uicontrol Snippets.

        \if defined(qtcreator)
        \li View and remove \l{Using Text Editing Macros}{text editing macros}
            in \uicontrol Macros.
        \endif

        \li Configure \l{Completion}{code completion} in \uicontrol Completion.

    \endlist

    \if defined(qtcreator)
    \sa {Specify editor settings}, {Edit like in Vim}, {Completion}, {Snippets}
    \endif

*/