CodeWarrior IDE Logo 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 previous step and next step 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.
  1. Click on the   button on your desktop.
  2. Select Settings-> Control Panel from the menu.
  3. A new window titled Control Panel should appear. Double click on the Folder Options icon.
  4. A new window titled Folder Options will appear, click on the View tab.
  5. Uncheck the box next to "Hide file extensions for known file types".
  6. Click OK to exit and save the change.
  7. 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:

  1. Double click on the My Computer icon on your desktop.
  2. Double click on the Afs (U:) drive icon.
  3. Double click on the private folder icon.
  4. Choose File -> New -> Folder from the menu bar.
  5. A new folder should appear. Name this folder cs302.
  6. Close this window.
We're ready to start CodeWarrior!

Step 1: How to launch the CodeWarrior IDE

Launch Create Edit Run Handin previous step next step

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.
  1. Click on the Start button in the lower left corner of your desktop.
  2. Find the CodeWarrior program in the Windows menu.

  3. Start -> Programs -> Metrowerks CodeWarrior -> CodeWarrior Development Tools for Windows, Version 8.0 -> CodeWarrior IDE.
  4. 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.

  5.  

    CodeWarrior window with no project open
     

Now you are ready to use the CodeWarrior IDE to develop your Java programming project. 
Launch Create Edit Run Handin previous step next step

Last modified Thursday, September 4, 2003 12:34am by Clark Kirkman IV
Original version created by Sue Hazlett