Search code examples
c++clion

Make CLion have C++ Source Files as .CC


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.


Solution

  • Yes, you can! You can rename file main.cpp or any other from context menu or by Shift+F6 hot keys. enter image description here