When you create a file in the database, the file type is automatically added based on the extension. For example, a file called main.c is given a type of csrc. However, you must sometimes change a file type manually.
Procedure
- To find a file, see Finding an object.
- Select a file that is a member of a modifiable project.
Note: The file you are changing must be modifiable and be a member of a single project.
- On the Edit menu, choose Change Type.
- In the Change Type dialog box, select the new type and click OK.
The type changes unless the file is a member of other projects.