CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Create template-based files

Last modified: 06 September 2023

CLion provides file templates for most of the supported languages. These templates help you create files with initial content already present.

There are four templates for C/C++: C++ Class, C++ Source File, C++ Header File, and C++ Module Interface Unit.

File templates for C/C++