Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312257

Summary: C/C++ property pages are showing for non-source files in file properties
Product: [Tools] CDT Reporter: Andrew Gvozdev <angvoz.dev>
Component: cdt-buildAssignee: cdt-build-inbox <cdt-build-inbox>
Status: ASSIGNED --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3    
Version: 7.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch none

Description Andrew Gvozdev CLA 2010-05-10 10:09:52 EDT
Such settings like "Tool Settings", "Paths and Symbols", "Exclude resource from build" etc. are not applicable to non-source files but still shows up even for plain text files. Properties UI should not display those. Also, context menu item "Resource configuration" (contributed by CDT) should be disabled for such files.
Comment 1 Andrew Gvozdev CLA 2012-04-27 13:11:46 EDT
Created attachment 214724 [details]
patch

I created a patch but now I am not so sure we can apply it. The patch would filter out the C/C++ pages by content type. However, I suppose plugins are free to derive own content types from CDT, and UPC plugin does. Such content types will be filtered out too.