3.7.5. Removing files and groups

You can remove files from either the Files view or the Link Order view of the project window. A file is only removed from a project, it is not removed from your filesystem.

Note

If you remove files from the Files view, they are removed from all the build targets in the project. If you remove files from the Link Order view, the files are removed from the current build target only. See Build targets for more information on build targets.

To remove one or more files or groups from the project window:

  1. Click either the Files tab or the Link Order tab, depending on whether you want to remove the files from the entire project, or from the current build target only.

  2. Select the files or groups you want to remove.

    Note

    Selecting a group includes all of the files in that group, regardless of whether or not those files are visually selected in the project window. See Selecting files and groups for more information on selecting files.

  3. Either:

    • press Delete

    • right-click on the selected files and select Delete from the context menu.

    The CodeWarrior IDE displays a confirmation dialog box (Figure 3.20).

    Figure 3.20. Remove file confirmation dialog box

    Remove file confirmation dialog box
  4. Click either:

    • Cancel to leave the files in the project.

    • OK to continue. The selected files and groups are removed from the project or the current build target.

    Note

    You cannot undo this operation. If you remove a file or a group by mistake, you must re-add the removed files by one of the methods described in Adding files to a project.

Copyright © 1999-2001, 2005-2007 ARM Limited. All rights reserved.ARM DUI 0065G
Non-Confidential