21
CHAPTER 2 OPERATION
2.5 Creating and Registering Source File in Project
This section explains the procedure for creating a new source file with SOFTUNE
WORKBENCH and registering the file in the project.
■ Creating the new source file
1. Select the [File]-[New] Menu.
When the [New] dialog box opens, select [Text File] from [Types of Files], then click the [OK] button.
2. Select the [File]-[Save As] Menu.
When the [Save As] dialog box opens, select [Text File] from [Types of Files], then click the [OK]
button.
When the file dialog box for specifying the directory to which the created file is to be saved and the file
name opens, select the directory, specify the file name, then click the [Save] button.
■ Registering the created file in the project
Select the [Project]-[Add Member] menu. The File dialog is opened to select the file to be added to the
member. Select the created source file, followed by the folder to be inserted into the Project window, and
click the [Open] button. The file is stored in the project and its name is displayed in the source file category
in the Project window.
■ Storing Created File with Directory in Project
Select the [Project]-[Add Member]-[Directory] menu. The Add Member Directory dialog is opened to
select the folder to be added to the member. Select the directory having the created source file, followed by
the folder to be inserted into the Project window, and click the [OK] button. The file and directory are
stored in the project and the file and directory below the specified directory are displayed in the specified
folder in the Project window.
The type of file to be stored can be restricted by setting [Type of File] in the dialog.
■ To delete files stored in the project
Select a file(s) to be deleted in the Project window. Select "Delete" from the shortcut menu. The selected
file is deleted from the project member, but the file itself is not deleted. Users cannot delete files in the
[Dependencies] category and [Debug] category files.