Previous Next
Add/Remove Files dialog

You can add/remove files to/from a project with the Add/Remove Files dialog.
In the Project Editor
To add and remove files from a given project:

  1. Make sure the Project Description File you want to add/remove files to/from is writable.
  2. In the Project Tree, highlight the relevant project by clicking on it's name.
  3. Choose Project > Add/Remove Files...
    The Add/Remove Files dialog appears. At the top of the dialog, the currently selected project and path are shown.

    Click for full size, then use Back button

The File Types Filter
The File Types filter allows you to filter the view for individual, or all, file types included in the project.
Buttons in the Add/Remove Files dialog

Button Description
All
Selects all elements in the respective File List.
Remove
Removes the selected source file(s) from the current project, but does not delete the file. All symbols of an unloaded file are removed from the project. A file can also be removed by double-clicking.
New
Opens a dialog which prompts for the name of a new file to be created and added to the project. The new filename must match one of the legal file types of this project (it must match one of the signature patterns. See also File Types view).
Add
Adds the selected source file(s) to the project. To add a file to a project means to parse the file and load the symbolic information. A file can also be added by double-clicking it.
Rename
Pops up a dialog box which prompts for the new name of the file. Only files in the directory can be renamed.
To rename the file belonging to a project, unload the file, rename it and load it again. The button is only enabled if a file is selected.
Note: This button should not be used to rename archived files, neither for Clearcase nor for any other Version Control tool.
Delete
Deletes the selected file(s) if the file permissions allow it. SNiFF+ asks for confirmation before actually deleting the file(s).
Update
Updates the file lists. Necessary when, for example, a new file is created in the shell.
Ok
Closes the Add/Remove Files dialog and applies the changes.
Cancel
Closes the Add/Remove Files dialog without applying any changes.

Previous Next