Create empty files
Besides template-based files, you can also create empty files without any pre-filled content.
Create an empty file
In the Project tool window, right-click the directory within which you want to add a new empty file. Select :
In the New File dialog, specify the file name. You can precede it with the required directory structure - if some of the nested directories do not exist, they will be created:
If you have not specified the file extension, or if the extension is not associated with any of the recognized file types, CLion shows the Register New File Type Association dialog:
To associate the extension with one of the recognized file types, select it under Open matching files in CLion.
If there are no appropriate file types for the new extension, you may want to create a new file type and associate the extension with it. For more information, see Register a new file type association.
The specified structure will be created under the chosen directory: