forked from qt-creator/qt-creator
Rename "[Mm]ethod(s)" to "[Ff]unction(s)"
Only methods as programming functions are affected. Besides renaming
some actions like "Switch Between Function Declaration/Definition" this
mostly touches (api) code comments.
This is a follow-up patch to commit 872bfb7.
Change-Id: Icb65e8d73b59a022f8885b14df497169543a3b92
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -391,14 +391,14 @@
|
||||
\row
|
||||
\li Follow symbol under cursor
|
||||
|
||||
Works with namespaces, classes, methods, variables, include
|
||||
Works with namespaces, classes, functions, variables, include
|
||||
statements and macros
|
||||
\li F2
|
||||
\row
|
||||
\li Rename symbol under cursor
|
||||
\li Ctrl+Shift+R
|
||||
\row
|
||||
\li Switch between method declaration and definition
|
||||
\li Switch between function declaration and definition
|
||||
\li Shift+F2
|
||||
\row
|
||||
\li Open type hierarchy
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
\section1 Locating Files
|
||||
|
||||
The \gui Locator provides one of the easiest ways in \QC to browse
|
||||
through projects, files, classes, methods, documentation and file systems.
|
||||
through projects, files, classes, functions, documentation and file systems.
|
||||
To quickly access files not directly mentioned in your project, you can
|
||||
create your own locator filters. That way you can locate files in a
|
||||
directory structure you have defined.
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
output panes (7).
|
||||
|
||||
You can use the locator (6) to to browse through projects, files, classes,
|
||||
methods, documentation, and file systems.
|
||||
functions, documentation, and file systems.
|
||||
|
||||
\section1 Modes
|
||||
|
||||
|
||||
@@ -281,17 +281,17 @@
|
||||
|
||||
The locator can be used to open files, but opening files is also just a
|
||||
step on the way to accomplish a task. For example, consider the following
|
||||
use case: \e {Fix AMethod in SomeClass which comes from
|
||||
use case: \e {Fix AFunction in SomeClass which comes from
|
||||
someclass.cpp/someclass.h}.
|
||||
|
||||
With a tabbed user interface, developers would search for someclass.cpp in
|
||||
the tab bar, and then search for \c {::AMethod}, only to find out that the
|
||||
method is not located in that file. They would then search for someclass.h
|
||||
the tab bar, and then search for \c {::AFunction}, only to find out that the
|
||||
function is not located in that file. They would then search for someclass.h
|
||||
in the tab bar, find our that the function is inline, fix the problem, and
|
||||
forget where they came from.
|
||||
|
||||
With \QC, developers can type \c {Ctrl+K m AMet} to find the method.
|
||||
Typically, they only need to type 3 to 4 characters of the method name.
|
||||
With \QC, developers can type \c {Ctrl+K m AFun} to find the function.
|
||||
Typically, they only need to type 3 to 4 characters of the function name.
|
||||
They can then fix the problem and press \key Alt+Back to go back to where
|
||||
they were.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user