Author Topic: Virtual Folder question  (Read 4334 times)

Offline cromefx

  • Single posting newcomer
  • *
  • Posts: 4
Virtual Folder question
« on: November 25, 2012, 03:43:30 pm »
After some searching I found an answer to my question but I wonder if it is still up to date:


3.  So my project is toast.  I have over 100 cpp/.h files.  I have virtual folders.  How can I add directly to the virtual folder?

I don't think that this is possible (at the moment).

Can anybody confirm this is the actual state of CB?
I can only add one file at a time and I have too many to add manually.
Isn't there something like add files recursively to virtual folder?

EDIT: some spelling and layout

Thank you.
cromefx
« Last Edit: November 25, 2012, 03:52:33 pm by cromefx »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Virtual Folder question
« Reply #1 on: November 25, 2012, 04:19:20 pm »
Can anybody confirm this is the actual state of CB?
No, meanwhile its possible.

Just add the files to your project, then select all of them (i.e. using CTRL + Mouse) and drag them to the virtual folder. Maybe we can enhance this in the future so its possible directly from the "Add files..." menu.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline cromefx

  • Single posting newcomer
  • *
  • Posts: 4
Re: Virtual Folder question
« Reply #2 on: November 25, 2012, 04:28:08 pm »
Thank you for the quick reply.

Unfortunately Ctrl+Mouse (left button) doesn't work. The files don't stay selected when I pick the next one (still pressing Ctrl while selecting, like in Windows Explorer), I can only drag one at the time.

I am on W7 with CB 10.05

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Virtual Folder question
« Reply #3 on: November 25, 2012, 04:33:05 pm »
I am on W7 with CB 10.05
I think this is a new feature... try 12.11rc2 or wait for some time when we get out 12.11 final.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline cromefx

  • Single posting newcomer
  • *
  • Posts: 4
Re: Virtual Folder question
« Reply #4 on: November 25, 2012, 04:39:08 pm »
Thank you! I will wait for the final.