Getting Files into a Project
Once you have created a project, there are several ways to populate it with files.
Creating New IDL Source Files
If you are starting a new application and creating new .pro files. simply select File → New IDL Source File or click the
icon. When you save the new file, the Save As dialog prompts you to choose the "parent folder" from a list of project folders in your workspace.
Importing Files
If you have a group of files you want to move into a project, select File → Import... to launch the Import Wizard. Select File System from the General folder and click Next. The wizard allows you to select multiple files from the file system and import them into an existing project folder.
To create a new project populated with files copied from another directory:
- Create a new, empty project. (Refer to Creating a Project in the Workspace.)
- In the Project Explorer view, right-click on the project you just created.
- From the context menu, select Import. (Alternately, select File → Import...) The Import dialog appears.
- On the Import dialog, select General → File System. Click Next.
- Enter the directory you want to copy the files from into the From directory box, or browse for it.
- Select the files you want to copy:
- If you want to change the destination directory from the selected project, Browse for the directory or enter the path into the Into Folder box.
- In the Options section, select the appropriate file copy options.
- Click Finish.
Drag-and-Drop (Windows Only)
On Windows systems, you can drag files from the Windows Explorer and drop them onto folders in the Project Explorer view. The files will be copied into the selected project directory.
Creating Linked Resources in a Project
You might want to create a project that encompasses directories or files from several locations. To do this, first create a project (either in the workspace directory or in a linked directory), then create linked resources in the existing project. Linked resources are files or folders located somewhere other than inside the main project directory.
To create a linked folder:
- In the Project Explorer view, right-click the project or folder where you want to add the linked folder.
- From the pop-up menu, select New → Folder.
- Enter the Folder name. This name can be different from the name of the folder in the file system.
- Click Advanced.
- Select Link to folder in the file system.
- Enter or browse to a file system folder.
- Click Finish.
To create a linked file:
- In the Project Explorer view, right-click the project or folder where you want to add the linked file.
- From the pop-up menu, select New → Other. The New dialog appears.
- Click General → File from the tree, and click Next.
- Click Advanced.
- Select Link to file in the file system.
- Enter or browse for the file path.
- Click Finish. The new file link is listed in the Navigator view.
Where are my files?
Files displayed in the Project Explorer view are either contained in or linked into a project directory. If you are unsure of where a project directory or individual file resides on the filesystem, you can inspect the item's properties to see the location. Select the folder or file in the Project Explorer view and Project → Properties (or select Properties from the context menu). Some examples:
|
![]()
|


