
Table of Contents
1 Introduction
Introduction
Read the Release Notes!
IDE User Guide Overview
About the CodeWarrior IDE
Where to Go From Here
QuickStart and Tutorial Resources
2 Getting Started
Getting Started Overview
System Requirements
CodeWarrior IDE Installation
CodeWarrior IDE Guided Tour
Initial View of the IDE
IDE Menus
Editor Window Menus
Project Window Menus
Message Window Menus
Other IDE Components
3 Working with Projects
Projects Overview
Creating a Project
Empty Project
C or C++ Project
Java Project
Custom Project
Opening an Existing Project
Using the Open Command
Using the Recent Projects List
Saving a Project
Items Saved with Your Project
Saving a Copy of Your Project
Closing a Project
Guided Tour of the Project Window
Navigating the Project Window
Project Window User Interface Items
Managing Files in a Project
About Groups and Segments
Selecting Files and Groups
Expanding and Collapsing Groups
Adding Files
Moving Files and Groups
Creating Groups
Removing Files and Groups
Renaming Groups
Controlling Debugging in a Project
Activating Debugging for a Project
Adding Preprocessor Symbols to a Project
4 Working with Files
Working with Files Overview
Creating a New File
Opening an Existing File
Opening Files with the File Menu
Opening Files from the Project Window
Opening Files from an Editor Window
Saving a File
Closing a File
Closing One File
Closing All Files
Printing a File
Printing a Window
5 Editing Source Code
Source Code Editor Overview
Guided Tour of the Editor Window
Text Editing Area
Interface Pop-up Menu
Routine Pop-up Menu
Options Pop-up Menu
Permissions Pop-Up Menu
Read Only Pop-Up Menu
Line Number Display
Editor Window Configuration
Setting Text Size and Font
Basic Text Editing
Basic Editor Window Navigation
Adding Text
Deleting Text
Selecting Text
Using Cut, Copy, Paste, and Clear
Drag & Drop Editing
Balancing Punctuation
Shifting Text Left and Right
Undoing Changes
Controlling Color
Navigating in Text
Finding a Routine
Opening a Related File
Going to a Particular Line
6 Searching and Replacing Text
Searching and Replacing Text Overview
Guided Tour of the Find Window
Search and Replace Section
Multi-File Search Section
Navigating with the Keyboard
Searching for Selected Text
Searching and Replacing Text in a Single File
Finding Search Text
Controlling Search Range
Controlling Search Parameters
Searching with Special Characters
Replacing Found Text
Using Batch Searches
Searching and Replacing Text in Multiple Files
Activating Multi-File Search
Choosing Files to be Searched
Saving a File Set
Removing a File Set
Controlling Search Range
Using Regular Expressions (grep)
7 Configuring IDE Options
Configuring IDE Options Overview
Settings Dialogs Guided Tour
Settings Panels
Settings Panel Buttons
Editor Settings Panels
Editor
Font
Syntax Styling
General Settings Panels
Build Extras
Key Bindings
Editor Settings
Project Settings Panels
Access Paths
Target
PPC Project Panel
x86 Project Panel
Language Settings Panels
C/C++ Language
C/C++ Warnings
Code Generation Settings Panels
PPC Processor
PPC Disassembler
x86 Global Optimizations
x86 CodeGen
Linker Settings Panels
PPC Linker
PPC PEF
x86 Linker
Other Settings Panels
Res Tool
Shell Tool
8 Compiling and Linking
Compiling and Linking Projects Overview
Choosing a compiler
Understanding Plugin Compilers
Setting a File Extension
Compiling and Linking a Project
Compiling Files
Updating a Project
Making a Project
Enabling Debugging
Running a Project
Debugging a Project
Generating a Link Map
Removing Objects
Using Precompiled or Preprocessed Headers
Creating Precompiled Headers
Defining Symbols For C/C++
Preprocessing Source Code (C/C++ only)
Disassembling Source Code
Using the Disassemble Command
Using the option Machine Code (x86 only)
Guided Tour of the Message Window
Error Check Box
Warning Check Box
Notes Check Box
Message List Pane
Using the Message Window
Seeing Errors and Warnings
Stepping Through Messages
Correcting Compiler Errors and Warnings
Correcting Linker Errors
Saving the Message Window
Locating Errors in Modified Files
Running Shell Scripts from the IDE
9 IDE Menu Reference
IDE Menu Reference Overview
File Menu
Edit Menu
Search Menu
Project Menu
Window Menu
Add-ons Menu
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: support@metrowerks.com
Copyright © 1998, Metrowerks Corp. All rights reserved.
Last updated: February 15, 1998