Sources Tab: Adding Files to a Project

When you create a new project, the Project Configuration dialog pops up automatically with the Sources tab shown. Use it to add entire directories of source code with one click of the button. You can also turn parsing on/off for specific files or entire directories.

You can open this dialog for an existing project at any time by choosing the Project->Configure menu item.

To add source files to the project:

  1. Type the full directory path, or click Browse and locate the directory that contains the source files. Click the Open button to load the directory path into the Directory field.
  2. Modify the file filter to match your source files. By default, all .a* files will be added to the project. Simple wild cards (* and ?) are supported in the file filter.
  3. If you want to exclude certain files, you can enter a filter for that purpose. For example, temp*.* excludes all files that begin with “temp”.
  4. To select and add multiple subdirectories to a project configuration, check the Add All Files in Sub Directories box. This causes all source files matching the filter in all subdirectories of the specified path to be added to the project.
  5. On UNIX, you can choose whether symbolic links should be followed when adding files.
  6. After you have specified the path and file filter, click the Add button or press Enter to add the source files in that directory to the project.
  7. Tip: You may browse and add files from multiple directory trees.

  8. If you do not want to make any changes to the source code with Understand for Ada, check the Open all project files as read only files box.

If you are using Microsoft Windows, you may drag and drop a folder, a file, or a selection of files, from another window into the Project Configuration dialog to add it to the project. To drag and drop a folder and all its subdirectories into the project, be sure the Add All Files in Sub Directories box is checked. When dragging an individual file into the project, that file will be added to the project whether it matches the file filter or not.

Once the directory paths and files are specified and added to the project, the directory tree and project files are shown.


Scientific Toolworks, Inc.
http://www.scitools.com