Bug 63234 - No Source Folder icons when project is selected
Summary: No Source Folder icons when project is selected
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 2.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: 2004-05-20 11:52 EDT by Bogdan Gheorghe CLA
Modified: 2020-09-04 15:21 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 Bogdan Gheorghe CLA 2004-05-20 11:52:26 EDT
Using the most excellent CPath mechanism to designate source folders results 
in a source folder being decorated with a "C". This is useful as it helps 
distinguish source folders from non-source folders.

If you select the top level project - which makes all of the contained folders 
source folders - you don't get any source folder decorations. To avoid 
confusion to the user, we should be consistent in our source folder 
decoration...
Comment 1 Alain Magloire CLA 2004-05-20 12:18:09 EDT
> Using the most excellent CPath mechanism to designate source folders 

[[laughs]]
Are you looking for Boston Cream with Coffee ?
... It will not happen ... 8-)

> you don't get any source folder decorations.

Correct, if there is no source folder or the source folder
is explicetly the project, we do not show any source folder.
This is done because:
 - To be consistent with JDT
 - To be backward compatible
 - To be consitent.  Even if we create a Source folder(SourcRoot)
   it is collapse by the CView so it is less confusing to the user.
   Since the folders underneath are ICContainer but not ISourceRoot

I think what you are saying is that we should have another icons
to indicate that a folder is part of the model.  For example
in JDT they have 2 icons:
 IPackageFragmentRoot --> source folders
 IPackageFragment     --> folders under package folders:
                      (can be collapse, depending on the layout)
 IFolder              --> normal non Java folders.
So C should do the same
  ISourceRoot  --> source folder
  ICContainer  --> folder underneath source folders
  IFolder      --> non CElement folder
Comment 2 Kleo Hapitas CLA 2004-07-07 16:54:38 EDT
PR was not targeted to any particular release. Changing target milestone to 2.1
Comment 3 Alain Magloire CLA 2005-09-06 10:53:47 EDT
Returning to the pool.
Comment 4 Doug Schaefer CLA 2007-08-21 10:56:23 EDT
Future means you commit to fix it in the Future. Inboxes can't make committments. Moving to '--'.