Can you run 2 copies of the IDE ?

Questions and discussion about the ZBasic IDE.
Post Reply
FFMan
Posts: 502
Joined: 09 January 2010, 12:52 PM

Can you run 2 copies of the IDE ?

Post by FFMan »

Sometimes its helpful to run 2 copies of the IDE with different projects open, however the IDE doesn't allow this.

Is this deliberate behaviour and is there a way round it ?
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Re: Can you run 2 copies of the IDE ?

Post by dkinzer »

FFMan wrote:Is this deliberate behaviour and is there a way round it ?
Yes, the SciTE editor was designed to run single-instance by default. There is a way to have multiple instances, though. See the penultimate post in the thread http://www.zbasic.net/forum/about659.html. The changes in "experimental version" described there are in the current release.
- Don Kinzer
FFMan
Posts: 502
Joined: 09 January 2010, 12:52 PM

Post by FFMan »

I'm trying to configure the iDE to have multiple copies on a new machine and the link to the solution above is broken.

I seem to recall it's easy but it's been a while...
FFMan
Posts: 502
Joined: 09 January 2010, 12:52 PM

Post by FFMan »

found an option in SciTEGlobal.properties called

check.if.already.open

set this to zero and seems to now allow multiple copies of the IDE

Will this get overwritten when there is a new release ?
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

FFMan wrote:set this to zero and seems to now allow multiple copies of the IDE
Here is the URL for the previous thread.
http://www.zbasic.net/forum/about659.html

As described in the penultimate post in that thread, you create a new shortcut and in its command line set check.if.already.open to zero and also point to a separate copy of the user properties file.

Code: Select all

C:\Program Files\ZBasic\IDE\ZBasicIDE.exe" -check.if.already.open=0 -userProperties:"user2.properties
The latter step is necessary because the IDE updates the user properties file on exit to reflect the IDE state (e.g. files open, etc.).
- Don Kinzer
Post Reply