forked from qt-creator/qt-creator
Doc: using locator to open a file to the specified line
Change-Id: Ic732bd32ccc16fe507b42db211e7d34ddb85b3dd Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -1806,8 +1806,14 @@
|
||||
|
||||
The main.cpp file opens in the editor.
|
||||
|
||||
\o To move to a line in the file, enter the line number in the locator.
|
||||
|
||||
\endlist
|
||||
|
||||
To move directly to a particular line in the document when you open the
|
||||
document, append a plus sign (+) or a colon (:) to the file name in the
|
||||
locator. For example, to open main.cpp to line 41, enter: \c {main.cpp:41}.
|
||||
|
||||
If the path to a file is very long, it might not fit into the locator
|
||||
window. To view the full path, press \key Alt when the filename is selected.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user