Doc: Add docs for experimental Nim plugin

Change-Id: Ie866334c37b626a8e6eea0d58092134d3f545d4d
Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Leena Miettinen
2016-06-20 13:13:15 +02:00
parent 2734d27b8d
commit 66c0bf54b7
7 changed files with 50 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

@@ -73,8 +73,8 @@
\li \l{Indenting Text or Code} \li \l{Indenting Text or Code}
\QC indents text and code according to rules that you \QC indents text and code according to rules that you
specify separately for files that contain C++ or QML code and for specify separately for files that contain C++, QML, or
other text files. Nim (experimental) code and for other text files.
\li \l{Using Qt Quick Toolbars} \li \l{Using Qt Quick Toolbars}

View File

@@ -1190,6 +1190,8 @@
\li QML files \li QML files
\li Nim files
\li Other text files \li Other text files
\endlist \endlist
@@ -1273,6 +1275,33 @@
To specify different settings for a particular project, select To specify different settings for a particular project, select
\uicontrol Projects > \uicontrol {Code Style Settings}. \uicontrol Projects > \uicontrol {Code Style Settings}.
\section1 Indenting Nim Files
To specify settings for the Nim editor (experimental):
\list 1
\li Select \uicontrol Tools > \uicontrol Options > \uicontrol Nim.
\li In the \uicontrol {Current settings} field, select the settings to
modify and click \uicontrol Copy.
\image qtcreator-options-code-style-nim.png "Nim Code Style options"
\li Give a name to the settings and click \uicontrol OK.
\li Click \uicontrol Edit to specify code style settings for the project.
\image qtcreator-code-style-settings-edit-nim.png "Edit Code Style Settings dialog"
\endlist
You can specify how to interpret the \key Tab key presses and how to align
continuation lines.
To specify different settings for a particular project, select
\uicontrol Projects > \uicontrol {Code Style}.
\section1 Indenting Other Text Files \section1 Indenting Other Text Files
To specify indentation settings for text files that do not contain C++ or To specify indentation settings for text files that do not contain C++ or

View File

@@ -213,11 +213,22 @@
\list \list
\li Plain C or C++ Project \li Plain C or C++ Application
Plain C or C++ project that uses qmake, Qbs, or CMake but does Plain C or C++ application that uses qmake, Qbs, or CMake but does
not use the Qt library not use the Qt library
\li Nim Application (experimental)
\l{http://nim-lang.org/}{Nim} application that uses qmake
or CMake but does not use the Qt library
\note The \uicontrol {Nim Application} option becomes visible
after you enable the experimental Nim plugin. Select
\uicontrol Help > \uicontrol {About Plugins} >
\uicontrol {Other Languages} > \uicontrol Nim, and then restart
\QC.
\endlist \endlist
\li Import Project \li Import Project
@@ -316,6 +327,10 @@
Python class and source files that you can use to create Python Python class and source files that you can use to create Python
classes and scripts with UTF-8 encoding. classes and scripts with UTF-8 encoding.
\li Nim (experimental)
Nim source files with UTF-8 encoding.
\endlist \endlist
\section2 Creating C++ Classes \section2 Creating C++ Classes

View File

@@ -87,7 +87,8 @@
You can specify command-line arguments in the arguments fields: You can specify command-line arguments in the arguments fields:
\uicontrol {Additional arguments}, \uicontrol {Command arguments}, \uicontrol {Additional arguments}, \uicontrol {Command arguments},
\uicontrol {Make arguments}, or \uicontrol Arguments. You can create shell command lines \uicontrol {Make arguments}, \uicontrol Arguments, \uicontrol {Default Arguments},
or \uicontrol {Extra arguments}. You can create shell command lines
that can contain redirection and other advanced constructs. However, some that can contain redirection and other advanced constructs. However, some
more complex use cases, such as piping test data into the application being more complex use cases, such as piping test data into the application being
tested or grouping commands, are not supported because the value of the tested or grouping commands, are not supported because the value of the