Physical Folder and Virtual Folder

General questions regarding the usage of CodeLite
dhs
CodeLite Enthusiast
Posts: 23
Joined: Fri Mar 16, 2012 3:02 pm
Genuine User: Yes
IDE Question: C++
Contact:

Physical Folder and Virtual Folder

Post 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
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Physical Folder and Virtual Folder

Post 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
dhs
CodeLite Enthusiast
Posts: 23
Joined: Fri Mar 16, 2012 3:02 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Physical Folder and Virtual Folder

Post by dhs »

Thanks
Post Reply