CodeWarrior IDE Tutorial
Metrowerk's CodeWarrior is a program that is used to write applications
(other programs) in a variety of programming languages. By using such a
program, also known as an integrated development environment (IDE), many
distinct steps are completed from a single program window.
In this course, CodeWarrior is used for writing programs in Java. There
are several steps that must be completed in the process of writing a Java
program. This tutorial explains each step with words and graphics from
the CodeWarrior IDE.
This tutorial will help you to become familiar with the CodeWarrior
IDE. You can navigate through the tutorial step-by-step by clicking on
the
and
links at the top and bottom of each page. You may also use the index to
jump directly to the specific step that you wish to review.
Index
Here is a brief description of each step in this tutorial. The underlined
word in bold is used as the link label throughout the tutorial.
Start |
The start of the tutorial (top of this page). |
Launch |
Step 1: How to launch the CodeWarrior IDE. |
Create |
Step 2: How to create a new programming project. |
Edit |
Step 3: How to edit an existing project. |
Run |
Step 4: How to run your program. This also includes building or compiling
your project. |
Handin |
Step 5: How to hand in your program files.
|
Change folder options to display file extensions
You only need to do this once.
-
Click on the
button
on your desktop.
-
Select Settings-> Control Panel from the menu.
-
A new window titled Control Panel should appear. Double click on the Folder
Options icon.
-
A new window titled Folder Options will appear, click on the View tab.
-
Uncheck the box next to "Hide file extensions for known file types".
-
Click OK to exit and save the change.
-
Click the close window button
in
the upper right hand corner of the Control Panel to close the window.
Window buttons

Create a course folder
Before you start CodeWarrior, you will need a central folder to store your
projects. This folder is created only once. Folders for individual projects
developed throughout the course are created automatically by CodeWarrior
when you create the project.
Follow these steps to create a course folder named cs302 in your private
directory:
-
Double click on the
icon on your desktop.
-
Double click on the Afs (U:) drive icon.
-
Double click on the private folder icon.
-
Choose File -> New -> Folder from the menu bar.
-
A new folder should appear. Name this folder cs302.
-
Close this window.
We're ready to start CodeWarrior!
Step 1: How to launch the CodeWarrior IDE
This step will show you how to start the CodeWarrior program on the
Windows 2000 operating system. This will be very familiar if you already
know how to start other programs in a Windows environment.
-
Click on the
button in the lower left corner of your desktop.
-
Find the CodeWarrior program in the Windows menu.
-> Programs
-> Metrowerks CodeWarrior -> CodeWarrior Development Tools for Windows, Version 8.0 -> CodeWarrior IDE.
-
The CodeWarrior environment will come up with a blank work area, similar
to the one shown. Maximize this program window by clicking the maximize
button
in
the upper right hand corner of the CodeWarrior window.
Now you are ready to use the CodeWarrior IDE to develop your Java programming
project.
Last modified Thursday, September 4, 2003 12:34am by Clark Kirkman IV
Original version created by Sue Hazlett