Using the context menu, I can easily create a .cpp
and a header file in CLion by right clicking and new
> C++ Class
.
The header file has a .h
extension. How do I make .hpp
the default header extension?
Right click and select new
> C++ Class
.
Click the settings icon next to the type drop down box:
Select the desired header extension: