Search code examples
eclipseeclipse-cdtsyntax-highlightingfile-association

How to get Eclipse CDT to parse .h.in files like .h files?


I'm editing a config.h.in file for my project, and I want syntax highlighting like in .h files. I added *.h.in as a file type of C++ headers using Eclipse' preference dialog, closed the app and restarted it - but the file is still treated like plain text. Is this because of the double-extension? If not, can I do something about it (other than renaming the file of course)?

I'm using Oxygen.3 on GNU/Linux.


Solution

  • As @HighCommander commented, this is indeed the known Eclipse bug 422923.