Bug 39299 - Further virtual folder organization under C/C++ projects
Summary: Further virtual folder organization under C/C++ projects
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement with 3 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-25 00:44 EDT by online CLA
Modified: 2020-09-04 15:21 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description online CLA 2003-06-25 00:44:13 EDT
the feature that i want is:

  I can virtually organize my projects, ie, under project, i can setup 
categories: mysource, myheadfiles, myimages. but all these are not real 
directories. they are just virtual. and within each virtual categoruy, i can 
define manually add files, instead of link to directory, since some files 
within the firectory are junk and shouldn't be put under this category.

   As you know, Virsual studio, and JBuilder both have this feature.this 
feature is my favorite. 

    In addition, to be honest, if CDT can behavors and has UI the same as 
VirsualStudio. it will be perfect. since in Virsual Studio, we can easily
set up Inlcude directories, source ditectories. library directories.
Comment 1 Nicolas Pinault CLA 2004-02-17 05:27:33 EST
I agree with you. Very nice feature. I won't use Eclipse/CDT untill this is 
implemented.
Comment 2 Kleo Hapitas CLA 2004-07-07 16:57:58 EDT
PR was not targeted to any particular release. Changing target milestone to 2.1
Comment 3 Alain Magloire CLA 2004-09-01 13:06:43 EDT
>  I can virtually organize my projects, ie, under project, i can setup 
> categories: mysource, myheadfiles, myimages. but all these are not real 
> directories

Does the category mysource, still have the hierarchy of the file system
or is it flat ?

For example:
prj/
  folder/
     foo.1.c
     folder2/
        folder3/
          *.c

People use folder to categorize there sources, I do not quite the advantage
of having everything flat ?
Comment 4 Alain Magloire CLA 2004-09-02 15:48:14 EDT
From Jessezx:

i forgot my login pwd of eclipse website. just
directly reply you.
 
=====================================================
Does the category mysource, still have the hierarchy
of the file system
or is it flat ?
 
For example:
prj/
  folder/
     foo.1.c
     folder2/
        folder3/
          *.c
========================================================================
1)please don't use folder. i don't want a real folder
name in my project settings' tree. mysource is a
virtual tree node in the tree, it isn't in real file
system.
 
2) it doesn't need to be flat under mysource, i can
add whatever
levels of virtual child nodes in the project settings'
tree.
 
                                                                               
                                             
take a look at VisualStudio.
                                                                               
                                             
Comment 5 Alain Magloire CLA 2004-09-02 16:20:08 EDT
> ========================================================================
> 1)please don't use folder. i don't want a real folder
> name in my project settings' tree. mysource is a
> virtual tree node in the tree, it isn't in real file
> system.
>
                                                                               
                                             
That's not what I meant, I mean if you project file system
already contains file/folders what will the "Virtual Source Folder"
look like ? how to make the distinction between folder1/foobar.c
and folder2/foobar.c
                                                                               
                                             
> 2) it doesn't need to be flat under mysource, i can
> add whatever
> levels of virtual child nodes in the project settings'
> tree.
>
                                                                               
                                             
Understood.  Those are virtual folder that you define
a filter for it.  I think for a first iteration we can do
something similar.  It may not be exactly what you expect.
But a good start.  Please feel free to give more
details to direct us ... I do not have VS++
                                                                               
                                             
> take a look at VisualStudio.
>
                                                                               
                                             
Do not have it.
Comment 6 Nicolas Pinault CLA 2004-11-04 10:21:54 EST
You can have many files called foobar.c when they are located in different 
folders (one per folder). In virtual tree, they are shown as foobar.c. It is 
your responsibility to know who is each instance of foobar.c
When you open the file, the relative (relative to project root) physical 
location could be displayed as the filename in the tab text.

Another feature of VisualC++ is that all C header files are automaticaly 
grouped in a virtual folder called Header.
Comment 7 Alain Magloire CLA 2005-09-06 10:53:43 EDT
Returning to the pool.
Comment 8 Doug Schaefer CLA 2006-12-04 22:07:50 EST
This is part of something I want to accomplish with the Eclipse File System (EFS). I want to support import of VisualStudio project and using EFS would be a huge help with that. I'll take this bug. I'm not sure when I'll be able to get to it though.
Comment 9 Jonah Graham CLA 2019-12-30 18:54:21 EST
This bug was assigned and targeted at a now released milestone (or Future or Next that isn't being used by CDT). As that milestone has now passed, the milestone field has been cleared. If this bug has been fixed, please set the milestone to the version it was fixed in and mark the bug as resolved.