Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367682 - Ugly/confusing presentation of (sub) source folders in C/C++ view
Summary: Ugly/confusing presentation of (sub) source folders in C/C++ view
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-31 14:52 EST by Andrew Gvozdev CLA
Modified: 2020-09-04 15:25 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Gvozdev CLA 2011-12-31 14:52:50 EST
Cloned from: bug 181020: Ugly/confusing presentation of (sub) source folders in C/C++ view
https://bugs.eclipse.org/bugs/show_bug.cgi?id=181020

Well, bug 181020 deals with the problem by introducing a preference for different presentation. But the ugliness is still there with the default presentation.
Having using this presentation (and its benefits) for quite a bit, I'd say that ugliness comes from
 a) useless empty folder chain in the regular resource tree leading to the source folder but not displaying it, see attachment 64062 [details],
 b) buggy implementation, i.e. inconsistent showing/hiding source folders with non-trivial nesting in the regular resource tree.

On the other hand,
 c) there is a point in displaying the empty tree branch because otherwise it could be problematic to access the folders in the middle (for example to add files). This would be a rare occasion though.

It would be better for everyday use to filter out the useless folder chain (a). But to make possible (c) there should be a way to turn it back on temporarily. I think it could be done via "Filters" in View Menu (pointed down triangle in top right corner). Also, to make it less ugly when present, it should also display the source folder like in attachment 138571 [details].