News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

auto new tab instead of "Only one instance"

Started by PC_Nerd, January 31, 2009, 11:06:30 AM

Previous topic - Next topic

PC_Nerd

Hi,

How can I set codeblocks (ubuntu 8.10, package install (not nightly)), to open new files in a tab, instead of displaying a "Only one instance is allowed" message box.  Im opening the file externally to codeblocks (though the file browser), and wanted to set it as the default program instead of gedit etc, for .h and .cpp (already done in the codeblocks settings).

Thanks,
Jack

mariocup

HI PC_Nerd,

if you use one of the current CB nighlties, then the required functionality is already available. Go to the Settings->Environment dialogue and in the General settings set the checkbox "Use an already running instance instead of starting a new one (if possible)".

Bye,

Mario

PC_Nerd

Hi,

Thanks, is the nightly build the only way to get this functionality?

Also - Ive noticed its been a while since 8.02 (I think),  Will the nightlies be merged into a new release candidate?  Ubuntu 8.10 (only a few months old) still has 8.02 of codeblocks because there is no specific release recently? (anyway).

Thanks.
PC_Nerd

Jenna

The only thing you can do in 8.02 is starting a new instance of C::B if you open a file from commandline or filemanager (uncheck "Settings -> Environment... -> General settings -> Allow only one ...").

If that is not enough, you have to install either a nightly, or wait for the next release.

There are ubuntu and debian repos that can be used with intrepid ibex (ubuntu 8.10), see the actual nightly threads (http://forums.next.codeblocks.org/index.php/board,20.0.html).

You can also use my repo, even if it is build for and on debian (see signature).

PC_Nerd

Ok thanks,

Ive got it  working, so no need for the nightly (though the do have some nice features so i might migrate later on).

Thanks