Page 1 of 1

Save / Load a Group of Files

Posted: Sun Oct 22, 2006 3:26 pm
by naw
Hi,
Now the PB Editor is TABbed and can edit multiple files *simultaneously*. Would it be possible to save those files as a group or project. Perhaps using a .pbp extension and saving in the format of an INI file:
eg:

ProjectName = My Project
File1 = C:\PBSRC\My Project\Main.pb
File2 = C:\PBSRC\My Project\Control.pb
File3 = C:\PBSRC\My Project\Includes.pbi
File4 = C:\PBSRC\My Project\Default.ini

When Loading this *project* all the associated files could be listed as well.

I think the PB IDE is written in PB and PB is particularly good at handling INI files, so I think this would be easy to code and would be very useful.

(apologies for being dim if this is already a facility in PB)

Posted: Mon Dec 03, 2007 6:21 pm
by Foz
*bump*

I'd like to know about this, and I'm guessing it falls under one of three possibilities:
1. It's possible with the current PB IDE, and I'm just being thick :lol:
2. This is on the TODO list, please wait...
3. This has been regarded as unnecessary and isn't going to be implemented.

So, which one is it?

Your available life lines are: Phone a friend and Ask the Forums! :wink:

Posted: Mon Dec 03, 2007 7:05 pm
by Trond
It's on the todo list.

Posted: Mon Dec 03, 2007 7:40 pm
by Foz
yay! :D

Posted: Wed Oct 15, 2008 9:48 am
by Kwai chang caine
Since 2006, Nothing new about this ???? :roll:

Posted: Wed Oct 15, 2008 10:40 am
by Trond
The open file dialog has multiselect functionality, just press Ctrl+A to get all files in your project (don't tell me you've got multiple projects in the same directory).

Posted: Wed Oct 15, 2008 10:55 am
by Kwai chang caine
don't tell me you've got multiple projects in the same directory
No :lol:
Hello TROND, glad to tell you :D
For one time, i'm like you all :D

It's a good option, if it's automatic 8)
Then why the extension PBI exist ??? if the IDE see it like a PB file :?

Since 2006, it's sad that FRED have not include this :cry:

Like the underscore for cut line code too long.
For replace this native function, i have found the great code of "DoubleDutch"
http://www.purebasic.fr/english/viewtop ... sc&start=0

It's sad to see that this simples functions is not incorpored after several years :cry:

Posted: Wed Oct 15, 2008 11:19 am
by Kwai chang caine
I have found the answer of my question :D

Thank Ts-Soft
http://www.purebasic.fr/english/viewtop ... t=load+ide

The problem is that i'm force to check the option "only one instance of IDE pureBasic" :cry:
But it's work fine :D

Thanks at all