Page 1 of 1

How to specify a *.inl file is the same as a *.cpp file

Posted: Thu Mar 15, 2012 9:17 am
by Tyler
Hello,

I have a templated class where the header is separate from the implementation (per course requirements). The implementation extension is .inl

I've gotten CodeLite to highlight the syntax correctly as if it's a c++ file (settings->syntax->c++->default->File Extensions->;*.inl). How can I get everything else within CodeLite to treat the file as a c++ file?

Thanks,
Tyler

Re: How to specify a *.inl file is the same as a *.cpp file

Posted: Thu Mar 15, 2012 12:33 pm
by jfouche
Got o : Settings => Syntax Highlght
Select C++
In file extension, add the *.inl

Re: How to specify a *.inl file is the same as a *.cpp file

Posted: Thu Mar 15, 2012 7:55 pm
by Tyler
Thanks for the reply, but I've already done that. (read the second part of my post).

I'm trying to get code completion and other features to work. Any ideas?

Re: How to specify a *.inl file is the same as a *.cpp file

Posted: Thu Mar 15, 2012 10:30 pm
by jfouche
Oups, sorry

You can goto settings > Tags settings > CTags > advanced and add the .inl extension to the list

Re: How to specify a *.inl file is the same as a *.cpp file

Posted: Fri Mar 16, 2012 4:52 am
by Tyler
Great! That's what I wanted (it worked).

Thanks for your help.