Project Windows
Project Windows
There are several project related panel windows. The main Project Window appears when you View > Panels
> Project Window
. The Project Window is set up by default as a tabbed container for all the project-related panels, such as the Project File List and Project Symbol List. Each project panel has a tab.
The Project Window can be either docked to a side of the Source Insight main application window, or it can float in front.
As with any grouped panels, you can click on the tab for any project panel and drag it out into its own floating window, or dock it separately.
Project File List
The Project File List shows all the files in the project. You can type into it to open files quickly; regardless of what directory they are in. Most files can be opened with just a few keystrokes. You can also type wildcards and change working directories directly by typing into the text box and pressing Enter.
Using name fragment matching, you can type part of a file name to locate a file, without bothering with the directory name.
Expanding Wildcards
If you type a wildcard specification and press Enter, then the file list will be filtered down to match that specification. For example, if you type *.c and press Enter, you will see all *.c files in your project, regardless of directory. To remove the wildcard, press * (asterisk) and press Enter.
Browsing Non-Project Files
If you want to browse your disk and see files that are not necessarily part of your project, type dot (.) and press Enter. The current working directory contents will fill the list. To return to the “project-only” view of the files, type ** (two asterisks) and press Enter. Alternatively, you can switch to the Project Folder Browser panel to browse directory contents.
48 Source Insight 4 User Guide
Project Windows
Project Symbol List
The Project Symbol List shows all the symbols in the project. You can quickly type the first few characters of most files to open them quickly without navigating to any directories.
To locate a symbol quickly, type a part of the symbol name and the list will be filtered down as you type. You can also use name fragment matching to find parts of symbol names. For example, if you type: doc write
this will match symbol names such as DocWrite, WriteDoc, WriteOpenDoc, CanWriteAnyDoc, etc. See “Name
Fragment Matching Symbol Names” on page 64.
Regular Expression Searches
You can also perform a regular expression search for symbol name by prefixing the regular expression with a question mark (?). For example,
?Insert.*Stack will find all symbols that have “Insert”, followed by zero or more characters, followed by “Stack”.
Finding Only Functions
You can limit search results to only function symbols by adding an open parenthesis at the end of the text.
For example:
Open( will find only function that contain Open in the name.
Combining With the Context window and Relation Window
Both the Context window and the Relation window track the current selection in the Project Symbol List.
Therefore if you select a function in the Project Symbol List, the Context window will automatically show you the definition of the function. The Relation window will automatically show the call tree or reference tree for
the function. (The Relation window has options you can set to tell it what you want to see.) See “Relation
Window” on page 91.
Source Insight 4 User Guide 49
Project Windows
Project Folder Browser
The Project Folder Browser shows disk directories and files. This allows you to perform some basic directory and file maintenance, and to open non-project files easily.
File Types View
File Type View shows a breakdown of project source files by file type.
50 Source Insight 4 User Guide
Project Symbol Categories
The Project Symbol Categories panel shows a breakdown of symbols by symbol type.
Project Windows
Source Insight 4 User Guide 51