Page 1 of 1

Physical Folder and Virtual Folder

Posted: Thu Mar 22, 2012 1:06 pm
by dhs
Hi

I know that CodeLite use Virtual Folder to classify the code source and it is a very nice feature.

I am trying to move my projects from Eclipse CDT to CodeLite.

I also would like to know if we can
1/ when we add a new virtual directory to a project with the same name as a source directory (physical) in the directory of the project, CodeLite will show all my existing source files in the new virtual directory ? I can add the files manually using Add Existing Item but I may prefer a automatic solution because I have a lot of directories.

2/ Is it possible to add directly a physical folder into a project ?

3/ How can we do multiple file selection in the Workspace view ?

Thanks

Re: Physical Folder and Virtual Folder

Posted: Thu Mar 22, 2012 1:57 pm
by DavidGH
Hi,

1) No. CodeLite doesn't scan your filesystem and try to guess which folders you'd want to add to a project.
However (assuming you have a sensible directory structure, with most/all of your directories as subdirs of a single (grand)parent) you import them all at once: right-click over the project name and select Import Files from Directory, then tick the subdirs that you want (or collapse the tree and tick the root dir; that selects all subdirs).

2) I'm not sure what you mean by that; maybe Import Files from Directory.

3) Click the last tool (the arrow) in the Workspace view toolbar.

Regards,

David

Re: Physical Folder and Virtual Folder

Posted: Thu Mar 22, 2012 8:50 pm
by dhs
Thanks