Reputation: 191
In CLion, is there a way to make all C++ source files have the .cc
extension instead of the .cpp
extension by default? For example, in a new project, there is a main.cpp
file. I want it to be main.cc
.
Upvotes: 1
Views: 1268
Reputation: 13475
When creating a new file, click a settings icon near the file type selector.
You will get to a settings window where you can set the extensions:
Upvotes: 0
Reputation: 2069
Yes, you can! You can rename file main.cpp
or any other from context menu or by Shift+F6
hot keys.
Upvotes: 1