Save / Load a Group of Files

Working on new editor enhancements?
naw
Enthusiast
Enthusiast
Posts: 573
Joined: Fri Apr 25, 2003 4:57 pm

Save / Load a Group of Files

Post 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)
Ta - N
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Post 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:
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

It's on the todo list.
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Post by Foz »

yay! :D
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Post by Kwai chang caine »

Since 2006, Nothing new about this ???? :roll:
ImageThe happiness is a road...
Not a destination
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post 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).
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Post 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:
ImageThe happiness is a road...
Not a destination
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Post 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
ImageThe happiness is a road...
Not a destination
Post Reply