CLion
 
Get CLion
Join the CLion 2025.1 Early Access Program and try out new features before they are released! Find out more

Create template-based files

Last modified: 09 October 2024

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++