Adding, Saving, and Removing Files
Working with files within a project is similar to working with the projects themselves.
To add a file to a project
Select "Project" from the menu and then "Add Source" or right click in the Project Window and select "Add Source". You may also click the Add Files button on the project toolbar. A file open dialog will then be displayed.
Add Files button
When you add a file to a project, you are simply including a reference to the existing file in the project; you are not adding a copy of the file. Therefore, if you make changes to a file and save it, your changes will affect any project that includes the file.
To change a file without affecting other projects, select the file in the Project Window, choose "Save File As" from the File menu, and save the file under a new file name.
To remove a file from a project
Select the file in the Project Window. Then, from the Project menu, chose "Remove Source". Additionally, from the shortcut menu (right click), you can chose "Remove Source". You may also use the Remove File button on the project toolbar. The file will be removed from the project but not from the disk.
Remove file button
If you remove a file from a project, the IDE Studio updates this information in the project file. If you delete a file outside of IDE Studio, however, the IDE Studio cannot update the project file. Therefore, when you open the project, the studio displays an error message warning you that a file is missing.
To save an individual file without saving the project
Select the file in the Project Window and from the File Menu, choose "Save File". You may also use the Save File button on the main IDE toolbar.
Save File button
![]() |