Bug 72901 - .hpp not in list of file extensions with known content
Summary: .hpp not in list of file extensions with known content
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Alain Magloire CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-30 15:38 EDT by Patrick Dubroy CLA
Modified: 2009-01-09 14:57 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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