Code Templates for customized file extension Follow
Hi, there.
I am working on a c++ project with Rider. However, when I add a new class/struct throught the context menu, it is added to the *.h and *.cpp files. To cofigure this for my customized extension, when I edit it in Editor / File Templates / C++, it only changes the header file and I don't see any wat to edit the source(cpp) file. Where can I change the template and extesion of the cpp files?
The Rider I am using is 2022.3.2.
Looking forward to your answer.
Thanks.
Please sign in to leave a comment.
Hello Samuel,
Thank you for contacting Rider support.
Regrettably, there is no way to make a multi-file file template (to edit .cpp together .h files per template). You may try to experiment with custom file extensions in File | Settings | Editor | File Templates | Other Languages.
Would you mind elaborating on the scenario you are trying to cover with it?