I usually work with lot of files related to my project, majority of them being .c or .cpp files. I always have to right click,open new document file and then type all usual headers like
#include<stdio.h>
#include<string.h>
#include<iostream>
using namespace std;
.
.
.
This used to make things boring. Then one of my friends shared a new way to custom your templates. Just thought of shring with you all. Its a kind of common pattern used my professionals to make their files look elegant and customized.
There has been a folder called templates in ubuntu(/home/user/Templates). There you can create your custom templates.
Step 1
Right click there to create a new file and type what all you need for your frequent usage.
So similarly, if you want many different varieties of customized files, repeat the same and save them as new names. This can really help one in easy coding as well as in customized manner. Then you needn't want to paste your name and the frequent codes into project files again and again. Hope you all will like this way of customization.
No comments:
Post a Comment