Question for Linux & Mac users

Working on new editor enhancements?
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Question for Linux & Mac users

Post by Tenaja »

At this time, I am only running Windows. Do the Linux and Mac versions have single-instance implemented in the IDE? In Win, if I double-click on a PB file, it opens that file in the PB IDE, and uses the existing instance of the program if the IDE was already open. Does it work the same way with Linux and Mac?

Fred, would you mind sharing how you pass that file name to the original instance? Are the platforms the same?

Thanks
User avatar
Ajm
Enthusiast
Enthusiast
Posts: 242
Joined: Fri Apr 25, 2003 9:27 pm
Location: Kent, UK

Re: Question for Linux & Mac users

Post by Ajm »

Hi,

I can only speak for the Linux version.

I'm running 4.60 64bit on Mint 10 and if I double click on a pb file in Thunar it open the pb IDE and then further files open in the same instance.
Regards

Andy

Image
Registered PB & PureVision User
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Question for Linux & Mac users

Post by ts-soft »

On mac it works like windows, on linux you have to register the extensions, see here:
http://www.purebasic.fr/english/viewtop ... 07#p333507
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Shardik
Addict
Addict
Posts: 2060
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: Question for Linux & Mac users

Post by Shardik »

Tenaja wrote:Do the Linux and Mac versions have single-instance implemented in the IDE?
On MacOS X you can only open one single instance of the IDE.
In Preferences/General the option "Run only one instance" is
greyed out and you can't select this option. But if you have the
IDE already open and double click on a PB source file in the
Finder, this file will be opened in the IDE.
Post Reply