I would rather just work with a real directory tree. Alternately, is there any "export" functionality,, to convert your projects virtual structure to an actual file system structure? Thanks.
Is there any way to disable virtual folders?
-
- CodeLite Curious
- Posts: 1
- Joined: Fri Aug 06, 2021 2:19 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Is there any way to disable virtual folders?
Hi,
I don't use it myself, but it sounds as if you should choose the newish File System workspace.
Regards,
David
-
- CodeLite Curious
- Posts: 1
- Joined: Fri Aug 06, 2021 2:19 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Is there any way to disable virtual folders?
Thanks, this seems to work. You just have to write your own makefile, and you can't move files from within Codelite. Out of curiosity, what are the advantages of using virtual folders? I can see how it would simplify local #include directives. Should I give it another try?
Codelite works really well, btw!
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Is there any way to disable virtual folders?
Out of curiosity, what are the advantages of using virtual folders?
For me, it's mostly habit; as I said, File System workspaces are fairly new. But virtual directories do allow me to categorise dirs and files as I wish, without needing to alter their real location.
And anyway, if I want to replicate their real structure, it's quite easy to do that with the Reconcile Project dialog.
-
- CodeLite Curious
- Posts: 5
- Joined: Thu Dec 29, 2022 3:32 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Is there any way to disable virtual folders?
I don't see any point in using a virtual project structure either. Firstly, this is confusing for beginners, and secondly, it is not convenient to synchronize the real file system with the virtual one (you only do this with files, but there are no settings for real folders).
To transfer the project to an already existing workspace, it was possible to make a settings file in the root of this folder and load the necessary folder and file settings from it, and the parent folder would be automatically converted to the project name.
Linux Mint 21.1, CodeLite 16.7.0
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Is there any way to disable virtual folders?
There are advantages of using virtual folders (e.g. you can organize your source code in a more logic way without affecting the changes to the file system like placing .cpp files in a src
folder and h
files in headers
. Or just making virtual folders for logical components (base, network etc))