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
Editing multiple projects at once
Re: Editing multiple projects at once
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.
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.
Re: Editing multiple projects at once
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?
-
- Addict
- Posts: 4789
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Editing multiple projects at once
In the PureBasic IDE, go to File > Preferences > General, then uncheck the optiontechnopol wrote: Fri Aug 25, 2023 11:57 pm It appears that Purebasic 5.62 can open only one instance of the IDE.
[ ] Run only one Instance
Re: Editing multiple projects at once
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.Little John wrote: Sat Aug 26, 2023 12:16 amIn the PureBasic IDE, go to File > Preferences > General, then uncheck the optiontechnopol wrote: Fri Aug 25, 2023 11:57 pm It appears that Purebasic 5.62 can open only one instance of the IDE.
[ ] Run only one Instance
THANKS SO MUCH!
-
- Addict
- Posts: 4789
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany