Everything
 

Add File dialog box


This dialog box is used to create a new file and add it to the project.

Figure A.9

Add File Dialog Box

 

The following items are explained here.

[How to open]

-

From the [File] menu, select [Add] >> [Add New File...].

-

On the Project Tree panel, select the Project node, Subproject node, File node, Category node, or Download files node, and then select [Add] >> [Add New File...] from the context menu.

[Description of each area]

(1)

[File type] area

Select the type of the file to be created.

When the file type is selected, the description is displayed at the lower box.

(2)

[File name] area

Directly enter the name of the file to be created.

".c" is displayed by default.

Remark

If any extension is not designated, the one selected in the [File type] area will be added.
Also, if the extension different from the one selected in the [File type] area is designated, the one selected in the [File type] area will be added (for example, if you designate "aaa.txt" as the file name and select "C source file (*.c)" as the file type, the file is named as "aaa.txt.c").
Note that if [All files (*.*)] is selected in the [File type] area, no extension will be added.

(3)

[File location] area

Designate the location to be created the file by directly entering its path or selecting from the [Refer...] button.

The path of the project folder is displayed by default.

However, when this dialog box is opened from the context menu in the Category node (only when a shortcut to the folder has been made and the folder exists), the path to the folder specified in the category is displayed.

(a)

Button

Refer...

Opens the Browse For Folder dialog box.

If a folder is selected, the path will be added in the text box.

Remark 1.

If the text box is blank, it is assumed that the project folder is designated.

Remark 2.

If the relative path is designated, the reference point of the path is the project folder.

Remark

Up to 259 characters (path and file name combined) can be specified in the [File name] area and [File location] area. When the input violates any restriction, the following messages will be shown on the [File name] area in the tooltip.

Message

Description

The file name including the path is too long. Make it within 259 characters.

The file name with the path is more than 259 characters.

The specified path contains a folder that does not exist.

The path contains a folder that does not exist.

The file name or path name is invalid. The following characters cannot be used: \, /, :, *, ?, ", <, >, |

The file name with the invalid path is designated.

The following characters cannot be used for the file name and folder name: \, /, :, *, ?, ", <, >, |

[Function buttons]

Button

Function

OK

Creates the file with the entered file name, adds it to the project, and opens with the Editor panel. And then closes this dialog box.

Cancel

Does not create a file and closes this dialog box.

Help

Displays the help of this dialog box.