Community
Participate
Working Groups
When adding a new file with the .hpp extension (a C++ header file), it is added as a binary file. HPP should be in the list of "File Extensions with Known Content", with type "ASCII". CC and CPP are both there for C++ source files, but only HH is there for header files.
None of the extensions you mentioned (CC, CPP or HH) are contributed by the Eclipse SDK. They must be contributed by an add-on plugin. Are you using CDT as your C development environment in Eclipse?
My apologies, I didn't realize this was contributed by CDT. Reassigning to CDT.
A patch to fix this has been submitted to cdt-patch.
> A patch to fix this has been submitted to cdt-patch. When can apply this on the head. Hopefully for eclipse-3.1 we will be able to ues the ContentType extensionPoint instead of relying on the miriad of extension attributes.
Fix in the head and branch