Bug 72901

Summary: .hpp not in list of file extensions with known content
Product: [Tools] CDT Reporter: Patrick Dubroy <Patrick_Dubroy>
Component: cdt-coreAssignee: Alain Magloire <alain>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: All   
OS: All   
Whiteboard:

Description Patrick Dubroy CLA 2004-08-30 15:38:19 EDT
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.
Comment 1 Michael Valenta CLA 2004-08-30 16:13:18 EDT
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?
Comment 2 Patrick Dubroy CLA 2004-08-30 16:33:12 EDT
My apologies, I didn't realize this was contributed by CDT. Reassigning to CDT.
Comment 3 Patrick Dubroy CLA 2004-09-02 09:37:03 EDT
A patch to fix this has been submitted to cdt-patch.
Comment 4 Alain Magloire CLA 2004-09-02 22:38:04 EDT
> 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.
Comment 5 Alain Magloire CLA 2004-09-03 11:08:04 EDT
Fix in the head and branch