Custom file types

General questions regarding the usage of CodeLite
biowep
CodeLite Curious
Posts: 2
Joined: Sun Oct 25, 2015 11:23 pm
Genuine User: Yes
IDE Question: C++
Contact:

Custom file types

Post 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) ?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Custom file types

Post 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
Make sure you have read the HOW TO POST thread
biowep
CodeLite Curious
Posts: 2
Joined: Sun Oct 25, 2015 11:23 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Custom file types

Post by biowep »

Thank you, I watched many times at the menus but not that item.
Post Reply