[wingide-users] Single Instance

Michael Hipp Michael at Hipp.com
Mon Feb 4 13:09:26 MST 2008


Michael Foord wrote:
> Michael Hipp wrote:
>> Wingware Support wrote:
>>> Michael Hipp wrote:
>>>> I thought this was in preferences somewhere but I can't find it...
>>>>
>>>> Is there an option somewhere to allow Wing to run multiple instances 
>>>> by clicking on a .wpr file (in Winders)? Presently it just blows 
>>>> away whatever project I'm working on and loads the new project.
>>>>
>>>> If I have Wing open and click on another wpr file, I'd like it to 
>>>> load another instance so I can have both open without the hassle of 
>>>> having to start an "empty" instance of Wing.
>>>
>>> You can force Wing to start a new instance with the command line option
>>> --new
>>>
>>> If that doesn't help, please let me know.  There isn't a pref to turn 
>>> off
>>> the instance reuse facility, but perhaps we need to add one.
>>
>> Thanks.
>>
>> I went into the "file associations" thing in Windows and added the 
>> --new option to the 'open' action. And it seems to work great now.
>>
>> I'd suggest this should be the default behavior. When I'm working in 
>> one project and I click on a different project file, the most likely 
>> use case, IMHO, is that the user is wanting to open a different Window 
>> to examine or copy some related code. Having it wholesale eradicate 
>> what I'm currently working on falls outside the "least surprise" or 
>> "first, do no harm" dictum.
> 
> -1. Current behaviour is standard behaviour for applications and 
> certainly what I expect.

To each his own, but could you explain exactly where this "standard 
behaviour" is decided. Right off hand I can't think of any programs I 
use regularly that behave this way.

> An application wide preference option would be the middle ground...

Yes. But more work on the Wing developers.

Michael




More information about the wingide-users mailing list