Editing multiple projects at once

Working on new editor enhancements?
technopol
User
User
Posts: 27
Joined: Thu Mar 24, 2011 11:00 pm

Editing multiple projects at once

Post by technopol »

Is there a safe way to edit multiple projects simultaneously? I have 3 purebasic Windows programs that need to work together with a fourth one in Assembler on an "exotic" CPU. At the beginning I managed to deal with the multiple executables inside the same project, but it led me to some disastrous errors.

Is it true 6.02 LTE does open multiple projects at once?
Can I SAFELY migrate my projects from 5.62 to 6.02?

technopol
benubi
Enthusiast
Enthusiast
Posts: 220
Joined: Tue Mar 29, 2005 4:01 pm

Re: Editing multiple projects at once

Post by benubi »

Hello

Not directly from the IDE, I think all versions share the same "last project" ini files in the user directories.

I suggest you create a batch file "MyProject.bat" that starts multiple PB instances with the parameter /P <preference file>. See "Command-line options for the IDE" in your help. The preference file should contain the name of "the last" used project file. I haven't tried it out but I suppose it should work, if the command line options aren't colliding between the multiple IDE's (i.e. the same project opened multiple times).


Migrating 5.62 to 6.02

I am not 100% sure. There are conversion and compatibility macros in the forums concerning version switches, but they are not 100% reliable. You should backup everything you do and I would copy the project into a new directory... you would have to edit the copied project file manually to correct the new folder names; this may be necessary for every single project-included file (those in the project list, not necessarily those you XInclude/Include later when they use relative paths).

There have been name and parameter changes in the libraries between the versions, you will have to do some handiwork on it one way or an other.
technopol
User
User
Posts: 27
Joined: Thu Mar 24, 2011 11:00 pm

Re: Editing multiple projects at once

Post by technopol »

It appears that Purebasic 5.62 can open only one instance of the IDE. Could it be different with 6.02? Shall I give it a try and install 6.02 again?
Little John
Addict
Addict
Posts: 4789
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Editing multiple projects at once

Post by Little John »

technopol wrote: Fri Aug 25, 2023 11:57 pm It appears that Purebasic 5.62 can open only one instance of the IDE.
In the PureBasic IDE, go to File > Preferences > General, then uncheck the option
[  ] Run only one Instance
technopol
User
User
Posts: 27
Joined: Thu Mar 24, 2011 11:00 pm

Re: Editing multiple projects at once

Post by technopol »

Little John wrote: Sat Aug 26, 2023 12:16 am
technopol wrote: Fri Aug 25, 2023 11:57 pm It appears that Purebasic 5.62 can open only one instance of the IDE.
In the PureBasic IDE, go to File > Preferences > General, then uncheck the option
[  ] Run only one Instance
Little John! My saviour!, and the one making me feel like so stupid (or lazy) I should remember the name of SpaceX drone ship "Just Read the Instructions" or RTFM. I must admit I never got through the IDE instructions; I guess it's time to take the time.

THANKS SO MUCH!
Little John
Addict
Addict
Posts: 4789
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Editing multiple projects at once

Post by Little John »

You are welcome! :-)
Post Reply