Crating templates in Clion

Revision en2, by Taha1506, 2020-12-13 18:57:02

Does anyone know how can I make a certain part of code always appear in Clion.And also how can I save a file as a template so that it appears without rewriting it?I searched the net but didn't see anything.

I got the solution to create templates Thanks to the comments.Now the only problem remaing is the following how can I make a part of code always appear when oppening a new file.More precisly I wan't this part always appear:

# inclue <bits/stdc++.h>

using namespace std; int main(){ ios::sync_with_stido(false): cin.tie(nullptr);

return 0;

}

#### History

Revisions

Rev. Lang. By When Δ Comment
en2 Taha1506 2020-12-13 18:57:02 374
en1 Taha1506 2020-12-13 18:02:52 233 Initial revision (published)