File organisation in CodeLite

General questions regarding the usage of CodeLite
Fox Mulder
CodeLite Enthusiast
Posts: 38
Joined: Wed Oct 03, 2012 12:19 pm
Genuine User: Yes
IDE Question: C++
Contact:

File organisation in CodeLite

Post 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.
I want to believe.
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: File organisation in CodeLite

Post 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
Make sure you have read the HOW TO POST thread
Fox Mulder
CodeLite Enthusiast
Posts: 38
Joined: Wed Oct 03, 2012 12:19 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: File organisation in CodeLite

Post 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)
I want to believe.
User avatar
Jarod42
CodeLite Expert
Posts: 239
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: File organisation in CodeLite

Post by Jarod42 »

TBD stands for 'To Be Determined'.
And it seems that TDB does also... (It seems a typo for me...)
Post Reply