Change IDE history for multiple versions?

Working on new editor enhancements?
User avatar
minimy
Addict
Addict
Posts: 885
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Change IDE history for multiple versions?

Post by minimy »

I have a question that is surely stupid, but he who does not ask does not learn.
I use PB6.02 a lot for compatibility with my old mac (Catalina). When I open PB6.02 or PB6.4 it loads the listings I am using in the IDE.
Is there a way for 6.02 to charge some and 6.40 to charge others?.
I explain: I am using Windows and each PB is in a different folder but they share the IDE files. Could you change the route of the IDE history?
Is posible?

As i said, stupid ask... :lol:
Thanks for the help.
If translation=Error: reply="Sorry, Im Spanish": Endif
User avatar
HeX0R
Addict
Addict
Posts: 1253
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: Change IDE history for multiple versions?

Post by HeX0R »

Start your IDEs with parameter /PORTABLE
User avatar
spikey
Addict
Addict
Posts: 809
Joined: Wed Sep 22, 2010 1:17 pm
Location: United Kingdom

Re: Change IDE history for multiple versions?

Post by spikey »

The /H parameter allows you to set a specific location for the history file. (If you don't want everything to go /PORTABLE).
User avatar
minimy
Addict
Addict
Posts: 885
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: Change IDE history for multiple versions?

Post by minimy »

Wow! really good!
I didn't know if it could be done, I thought some parameter would have to be changed in some file.
Both solutions are very good.
Thank you very much for the help.
If translation=Error: reply="Sorry, Im Spanish": Endif
User avatar
HeX0R
Addict
Addict
Posts: 1253
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: Change IDE history for multiple versions?

Post by HeX0R »

I don't think he really meant the history, to me it sounds more as if he was talking about source files which are open at start.

When you want your different IDEs to share your tools, templates and session history, you can also do it like this:
/PORTABLE /T "%APPDATA%\PureBasic\Templates.prefs" /A "%APPDATA%\PureBasic\tools.prefs" /H "%APPDATA%\PureBasic\history.db"

That's what I am using (besides session history, I don't use that)
Post Reply