Page 1 of 1

Custom file types

Posted: Sun Oct 25, 2015 11:26 pm
by biowep
Hi, In C++ you are allowed to use whatever file type you want for header files. How can I specify the extension of a file I want to be intepreted and highlighted as C++, let's say *.tpp (for template functions' implementation) ?

Re: Custom file types

Posted: Mon Oct 26, 2015 5:37 pm
by eranif
settings->colours and fonts->customize tab->c++->File extensions

You will need to close the file if its open, and then reopen it in CodeLite for the colouring to affect

Eran

Re: Custom file types

Posted: Tue Oct 27, 2015 8:42 pm
by biowep
Thank you, I watched many times at the menus but not that item.