forked from qt-creator/qt-creator
Doc: opening files from the CLI to a particular column
Change-Id: I1c4ded62dda05a988a394a2e49c7e344f678b000 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -31,16 +31,16 @@
|
|||||||
\title Using Command Line Options
|
\title Using Command Line Options
|
||||||
|
|
||||||
You can start \QC and specify some options from the command line. For
|
You can start \QC and specify some options from the command line. For
|
||||||
example, you can open a file to any line.
|
example, you can open a file to any line and column.
|
||||||
|
|
||||||
To specify command line options, enter the following command in the \QC
|
To specify command line options, enter the following command in the \QC
|
||||||
installation or build directory:
|
installation or build directory:
|
||||||
|
|
||||||
\c {qtcreator [option] [filename[:line_number]]}
|
\c {qtcreator [option] [filename[:line_number[:column_number]]]}
|
||||||
|
|
||||||
\note You can use either a colon (:) or a plus sign (+) as a separator
|
\note You can use either a colon (:) or a plus sign (+) as a separator
|
||||||
between the filename and line number. You can also use a space between the
|
between the filename and line number and the line number and the column
|
||||||
separator and the line number.
|
number. You can also use a space between the separator and the line number.
|
||||||
|
|
||||||
For example, on Windows:
|
For example, on Windows:
|
||||||
|
|
||||||
@@ -48,9 +48,9 @@
|
|||||||
|
|
||||||
\li \c {C:\qtcreator\bin>qtcreator -help}
|
\li \c {C:\qtcreator\bin>qtcreator -help}
|
||||||
|
|
||||||
\li \c {C:\qtcreator\bin>qtcreator C:\TextFinder\textfinder.cpp:100}
|
\li \c {C:\qtcreator\bin>qtcreator C:\TextFinder\textfinder.cpp:100:2}
|
||||||
|
|
||||||
\li \c {C:\qtcreator\bin>qtcreator C:\TextFinder\textfinder.cpp +100}
|
\li \c {C:\qtcreator\bin>qtcreator C:\TextFinder\textfinder.cpp +100+2}
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user