creator-coding.qdoc 3.34 KB
Newer Older
1
2
/****************************************************************************
**
3
** Copyright (c) 2014 Digia Plc and/or its subsidiary(-ies).
hjk's avatar
hjk committed
4
** Contact: http://www.qt-project.org/legal
5
**
hjk's avatar
hjk committed
6
** This file is part of Qt Creator
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
**
**
** GNU Free Documentation License
**
** Alternatively, this file may be used under the terms of the GNU Free
** Documentation License version 1.3 as published by the Free Software
** Foundation and appearing in the file included in the packaging of this
** file.
**
**
****************************************************************************/

// **********************************************************************
// 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.
// **********************************************************************

/*!
26
    \contentspage {Qt Creator Manual}
27
28
29
30
31
32
33
34
35
36
    \previouspage creator-usability.html
    \page creator-coding.html
    \nextpage creator-editor-functions.html

    \title Coding

    \image creator_coding.png

    \list

37
        \li \l{Writing Code}
38
39
40
41
42
43

            Writing, editing, and navigating in source code are core tasks in
            application development. Therefore, the code editor is one of the
            key components of \QC. You can use the code editor in the \gui Edit
            mode.

44
        \li \l{Finding}
45
46
47

            Use the incremental and advanced search to search from currently
            open projects or files on the file system or use the locator to
48
            browse through projects, files, classes, functions, documentation and
49
50
            file systems.

51
        \li \l{Refactoring}
52
53
54
55
56
57

            Code refactoring is the process of improving and simplifying code
            without modifying the existing functionality of an application. You
            can easily find and rename symbols and apply predefined actions to
            refactor code.

58
59
60
61
62
63
        \li \l{Beautifying Source Code}

            Beautifying code means applying indentation and style to source
            code files. You can use the Artistic Style, ClangFormat, or
            Uncrustify tool to format source files.

64
        \li \l{Configuring the Editor}
65
66

            You can change the fonts, colors, highlighting, and indentation.
Sergio Ahumada's avatar
Sergio Ahumada committed
67
            If you are used to the Vim editor, you can even run the main
68
69
70
71
72
73
74
75
            editor in a manner similar to it in the \gui{FakeVim} mode.

    \endlist

    \section1 Related Topics

    \list

76
        \li \l{Editing MIME Types}
77
78
79
80
81

            \QC uses the MIME type of a file to determine which mode and editor
            to use for opening the file. If your files do not match the
            predefined MIME types, you can edit the MIME types.

82
83
84
85
86
        \li \l{Comparing Files}

            You can use a diff editor to compare two versions of a file and
            view the differences side-by-side in the \gui Edit mode.

87
88
89
90
91
92
93
94
        \li \l{Parsing C++ Files}

            An experimental Clang code model plugin enables you to replace the
            built-in \QC code model with the Clang code model. Clang is a C
            language family front end for LLVM. Clang provides you with more
            accurate information than the built-in code model but can be slower
            to use for large projects.

95
96
97
    \endlist

*/