The CodeWarrior Eclipse IDE uses an indexer to build index of all sources in the background. To open definition, you need to
configure indexer preferences. The indexer can be configured per project or per workspace basis.
- Select
Window > Preferences
.
The Preferences dialog box appears.
- Type
indexer
as the filter text to narrow down the list of preferences.
- Select
C/C++ > Indexer
.
The
Indexer
page appears in the right panel.
Figure 1.
Indexer Page

- From the
Select indexer
drop-down list, select the
Full C/C++ Indexer
option.
- Click
OK
.
- Right-click the project with which the source file is associated in the
CodeWarrior Projects
view and select
Index > Rebuild
.
- Press F3, definiton will open.
Figure 2.
Function Definition

- Press F3 again to switch to the function declaration.
Figure 3.
Function Declaration

- Press ALT + Left to switch to the original location.
Repeat step 7-9 to open function declarations and definitions of other functions in the source file.