Adding an Existing File to a Project

When you add packages and files to a project, they are viewable on the Project tab in the Explorer. All files that have been added to a project are checked by the compiler when you choose the Compile Project and Build Project commands.

Mounting a directory does not automatically include the files in the project.

To add an existing directory, package, or file to a project:

  1. Click the Project tab in the Explorer. Right-click the root Project node, and choose Add Existing.
  2. In the Select Objects dialog box, navigate to the directory, package, or file you want to add to the project. Click OK.

    The node that you select appears on the Project tab as a link. If you delete this node, the node disappears from the Project tab. However, the files remain accessible on the Filesystems tab.

Tip You can also add a directory, package, or file to a project. Right-click the file on the Filesystems tab in the Explorer and choose Tools and choose Add To Project.
See also
Projects in the IDE
Creating a New Project
Adding a New File to a Project
Deleting a Project

Legal Notices