IDE - multihead

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
holzhacker
Enthusiast
Enthusiast
Posts: 125
Joined: Mon Mar 08, 2010 9:14 pm
Location: "Mens sana in corpore sano"
Contact:

IDE - multihead

Post by holzhacker »

I think it would be cool to have IDE support for multiple monitors can configure the development environment where (in which desktop) the executable will open and in which the debugger desktop opens.

Ex: Micro with 3 monitors (3 desktops)
Desktop (0) = IDE
Desktop (1) = Compile / Run
Desktop (3) = Standalone Debugger

Ex: PC with 2 monitors (2 desktops)
Desktop (0) = IDE / Debugger
Desktop (1) = Compile / Run

I'm working on a big multiplatform project. The IDE with this feature in many projects would gain a good production time, better than getting moving the Debugger window.
Greetings and thanks!

Romerio Medeiros
romerio@gmail.com
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: IDE - multihead

Post by Mistrel »

IMO this would be a job for an external tool.

You can intercept and reposition newly created windows using CBT hooks:
http://www.purebasic.fr/english/viewtop ... 12&t=29954

It also doesn't make sense to default a window to a specific monitor, as the numeric order is both user-defined and user-preferenced. And in my case of having 6 monitors, I often have several of them turned off when not in use. It's very frustrating whenever an application assumes that it would "help" to initialize on a second monitor while I'm left wondering where it went.

You could plot along x/y and enumerate which monitor is where along each axis but this wouldn't solve the aforementioned problem.

Again, this would be better suited for an external tool for your own devices.
Post Reply