Page 1 of 1

File organisation in CodeLite

Posted: Sun Nov 24, 2013 8:56 pm
by Fox Mulder
Hello everyone,
I would like to know how you store your files for your mid to large projects.
I have a Workspace folder Structure like this:

Code: Select all

Workspace_A
      --Project_A
            --VirtualFolder_A
                      --Sourcefile_A
                      --Headerfile_A
                      --Sourcefile_B
                      --Headerfile_B
             --VirtualFolder_B
                      --Sourcefile_C
                      --Headerfile_C
                      --Sourcefile_D
                      --Headerfile_D
      --Project_B
            --VirtualFolder_A
                      --Sourcefile_A
                      --Headerfile_A
                      --Sourcefile_B
                      --Headerfile_B
             --VirtualFolder_B
                      --Sourcefile_C
                      --Headerfile_C
                      --Sourcefile_D
                      --Headerfile_D

My real folder Structur is just:
Workspace___A
      --Project___A
              --Sourcefile___A
              --Headerfile___A
              --Sourcefile___B
              --Headerfile___B
              --Sourcefile___C
              --Headerfile___C
              --Sourcefile___D
              --Headerfile___D
       --Project___B
               --Sourcefile___A
               --Headerfile___A
               --Sourcefile___B
               --Headerfile___B
               --Sourcefile___C
               --Headerfile___C
               --Sourcefile___D
               --Headerfile___D

Is it possible to build automaticly the same real folder structure as the virtual structure is.
Does it make sense at all.
I noticed the tooltip in the NewClass wizard if you hover over the path for the real structure:
Where to put this file...This will be normaly the directory corresponding to the virtual class directory.
However the predefined path is: Workspace/project.
Have i missed a flag in the properties or have I to direct it maualy?

The second thing is how can I separate header and sourcefiles in the class wizard?

The third is, how do you organize your files. Im new to programming and would ask some experienced users.

Re: File organisation in CodeLite

Posted: Sun Nov 24, 2013 10:21 pm
by eranif
Fox Mulder wrote:Is it possible to build automaticly the same real folder structure as the virtual structure is.
Note atm. Please file a feature request for this ( I was actually playing with idea myself )
Fox Mulder wrote:Does it make sense at all.
Yes it does
Fox Mulder wrote:The third is, how do you organize your files. Im new to programming and would ask some experienced users.
There are different methods. For me, I simply place the files under the project folder.
Some people like to create an src folder and include folder
Its a matter of taste.

Eran

Re: File organisation in CodeLite

Posted: Sun Nov 24, 2013 11:55 pm
by Fox Mulder
Ok thanks for the quick reply.
I created the ticket for this. #639. (Its my first so forgive if I placed it wrong... dont know what TDB means)

Re: File organisation in CodeLite

Posted: Mon Nov 25, 2013 4:46 pm
by Jarod42
TBD stands for 'To Be Determined'.
And it seems that TDB does also... (It seems a typo for me...)