Possibility to add class/files directly to a project node

General questions regarding the usage of CodeLite
marfi
CodeLite Expert
Posts: 159
Joined: Mon Nov 03, 2008 9:17 pm
Contact:

Possibility to add class/files directly to a project node

Post by marfi »

Hi Eran,
I think it would be nice to allow user to add class/new or existing file directly to the project (tree node) instead of making him to add those items to virtual folders only. Since you allow to place <File> tag outside any <VirtualDirectory> in the *.project files, the implementation of this feature should be easy. Also "premake" configuration tool produces projects where source files are placed outside any virtual folder.

Regards
Michal
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Possibility to add class/files directly to a project node

Post by eranif »

marfi wrote:the implementation of this feature should be easy
Not really, there are cases in the code which make assumption that there is always a virtual folder
marfi wrote:"premake" configuration tool produces projects where source files are placed outside any virtual folder.
This is because they create the XML outside of codelite

Eran
Make sure you have read the HOW TO POST thread
Post Reply