2011-09-27 11:55:44 +02:00
|
|
|
/****************************************************************************
|
|
|
|
|
**
|
2013-01-28 17:12:19 +01:00
|
|
|
** Copyright (c) 2013 Digia Plc and/or its subsidiary(-ies).
|
2012-10-02 09:12:39 +02:00
|
|
|
** Contact: http://www.qt-project.org/legal
|
2011-09-27 11:55:44 +02:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** This file is part of Qt Creator
|
2011-09-27 11:55:44 +02:00
|
|
|
**
|
|
|
|
|
**
|
|
|
|
|
** 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.
|
|
|
|
|
// **********************************************************************
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\contentspage index.html
|
|
|
|
|
\previouspage creator-run-settings.html
|
|
|
|
|
\page creator-editor-settings.html
|
|
|
|
|
\nextpage creator-code-style-settings.html
|
|
|
|
|
|
|
|
|
|
\title Specifying Editor Settings
|
|
|
|
|
|
|
|
|
|
\QC uses the \l{Editing MIME Types}{MIME type} of the file to
|
|
|
|
|
determine which mode and editor to use for opening the file. For example,
|
|
|
|
|
\QC opens .txt files in \gui Edit mode in the text editor.
|
|
|
|
|
|
|
|
|
|
You can configure the text editor according to your needs. You can specify
|
|
|
|
|
editor behavior either globally for all projects or separately for each
|
|
|
|
|
project. To specify global editor behavior, select \gui {Tools > Options
|
|
|
|
|
> Text Editor > Behavior}.
|
|
|
|
|
|
|
|
|
|
To configure the text editor behavior for the current project:
|
|
|
|
|
|
2011-11-08 16:55:05 +01:00
|
|
|
\list 1
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2013-06-20 10:00:38 +02:00
|
|
|
\li Select \gui Projects > \gui Editor.
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2013-02-06 08:50:23 +01:00
|
|
|
\li In the \gui {Editor Settings} field, select \gui {Custom}.
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2013-02-06 08:50:23 +01:00
|
|
|
\li Specify text editor settings for the project.
|
2011-09-27 11:55:44 +02:00
|
|
|
|
|
|
|
|
\endlist
|
|
|
|
|
|
2013-06-20 10:00:38 +02:00
|
|
|
\image qtcreator-editor-settings.png "Editor view"
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2011-11-15 15:18:54 +01:00
|
|
|
Click \gui {Restore Global} to revert to the global settings.
|
|
|
|
|
|
2011-09-27 11:55:44 +02:00
|
|
|
For more information about the settings, see:
|
|
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
|
2013-04-05 10:55:53 +02:00
|
|
|
\li \l{Indenting Text or Code}
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2013-02-06 08:50:23 +01:00
|
|
|
\li \l{File Encoding}
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2013-02-06 08:50:23 +01:00
|
|
|
\li \l{Moving to Symbol Definition or Declaration}
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2013-02-06 08:50:23 +01:00
|
|
|
\li \l{Configuring Fonts}
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2013-11-01 16:47:38 +01:00
|
|
|
\li \l{Viewing Function Tooltips}
|
|
|
|
|
|
2011-09-27 11:55:44 +02:00
|
|
|
\endlist
|
|
|
|
|
|
|
|
|
|
*/
|