Bug 312257 - C/C++ property pages are showing for non-source files in file properties
Summary: C/C++ property pages are showing for non-source files in file properties
Status: ASSIGNED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 7.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 10:09 EDT by Andrew Gvozdev CLA
Modified: 2020-09-04 15:19 EDT (History)
0 users

See Also:


Attachments
patch (9.33 KB, patch)
2012-04-27 13:11 EDT, Andrew Gvozdev CLA
no flags Details | Diff

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