Overview
Source code browsing in Paradigm
C++ Professional allows you to efficiently navigate your code without having to keep
track of declarations and references in your head. Browser commands are
located under the Search menu or are accessible from the Edit Window local
menu, letting you search through your object hierarchies, classes, functions,
variables, types, constants, and labels that you've clicked on in your program's
code. The Browser also lets you:
- Graphically view the hierarchies
in your application, then view the functions and symbols contained in an
object chosen.
- List the variables your program
uses, then select one and view its declaration, list all references to
it in your program, or go to where it is declared in your source code.
- List all the classes your
program uses, then select one and list all the symbols in its interface
part. From this list, you can select a symbol and browse as you would with
any other symbol in your program.
The Browser requires the compiler
to create the program database so it is only useful if the application has
been compiled. If the program has not been compiled, Paradigm C++ Professional displays
a message to let you know the requested information is not available.
Browser
views
- Global Symbols
- Class Hierarchy
- Class Inspection
Using the
Browser
If you need to see the class
hierarchy of your entire application, this is not a problem with the Paradigm
C++ Professional class browser. And you can select any class and go instantly to the
declaration or see where it is used in your application.
View
Browsing objects
You can also browse the class
member functions and data:
View
Browse window
Working with a large class
is no problem since you can select to view member functions, member variables,
and see what is inherited.
Edit Buffer
Browsing
If your source code has been
modified, you can still get around the code in an edit buffer using the
Paradigm C++ Professional edit buffer browser.
Edit buffer browsing is an
instantly available technology that allows you to navigate the code and
data structures in the current editor view with a simple click of the mouse.
Edit buffer browsing can instantly parse the edit buffer and display a list
of the functions, include files, structures/classes, or enumerations and
bring you right to the definition. You can also use it to find all instances
of selected text and go there with a click of the mouse.
Here is a sample of the edit
buffer browser parsing the current buffer for the functions:
View
parsing sample
Selecting any function name
from the list will take you to its definition plus you have plenty of options
to customize the browser to work the way you like to work.
Browser
References
The following screen shot shows
how you can pick a symbol, be it a function, type, variable, or constant
and query the browser for where it is used. In this example, we can see
where the overloaded operator * is used within the application:
View
Browsing Globals
No longer do you need to perform inefficient text searches that dont consider the scope of
an object to find the declaration and usage. Just use the Paradigm C++ Professional Browser
and this once difficult task makes maintaining a large body of source code
a breeze.
Finder utility
Searching text across multiple
files or directories in your project can be easily accomplished with Search
| Finder. Just select the text, and enter the directories to be searched
in Search | Finder, this action can be saved and reinvoked next time you
use Finder. |