Start new file wizard
- Right click on the project tree folder where you want to create the new file.
- Select New ▸ Other… from the pop-up menu.
If this is the first time you have ever done this, the only options are Makefile… and Other…. After you create your first new C source or header file, you will see them as additional options the next time you select New.
Name the file and choose where to save it
- Give your file a name in the File Name text box. Note: You do not need to specify the file extension as part of the name. It will be added automatically.
- Choose the File Extension from the combo box.
- In the Location combo box, choose the physical location where you want the file saved. In general, the only option will be the project folder (HelloWorld in this example). However, if you have added any existing files or folders to the project that are not in your project directory, you can also select one of those locations to store the new file.
- Optionally, select a subdirectory of the Location by clicking on the browse button next to the Folder combo box and picking a directory. The Created File item will show the full path for the new file to help you verify that you have chosen the options above correclty.
- Click Finish.
Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.