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
How to specify a *.inl file is the same as a *.cpp file
-
- CodeLite Curious
- Posts: 3
- Joined: Thu Mar 15, 2012 9:10 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
-
- CodeLite Guru
- Posts: 351
- Joined: Mon Oct 20, 2008 7:26 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: How to specify a *.inl file is the same as a *.cpp file
Got o : Settings => Syntax Highlght
Select C++
In file extension, add the *.inl
Select C++
In file extension, add the *.inl
Jérémie
-
- CodeLite Curious
- Posts: 3
- Joined: Thu Mar 15, 2012 9:10 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: How to specify a *.inl file is the same as a *.cpp file
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?
I'm trying to get code completion and other features to work. Any ideas?
-
- CodeLite Guru
- Posts: 351
- Joined: Mon Oct 20, 2008 7:26 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: How to specify a *.inl file is the same as a *.cpp file
Oups, sorry
You can goto settings > Tags settings > CTags > advanced and add the .inl extension to the list
You can goto settings > Tags settings > CTags > advanced and add the .inl extension to the list
Jérémie
-
- CodeLite Curious
- Posts: 3
- Joined: Thu Mar 15, 2012 9:10 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: How to specify a *.inl file is the same as a *.cpp file
Great! That's what I wanted (it worked).
Thanks for your help.
Thanks for your help.