option to close the compiler window by default.

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

option to close the compiler window by default.

Post by jassing »

If there is an option for it; I've missed it.
The problem (if you can call it that) is that the compiler is sometimes too fast, I don't have enough time to check off "Close if no errors"

So the request is:
Keep the checkbox visible always, or allow it to be set thru preferences.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: option to close the compiler window by default.

Post by Fred »

I don't understant the request :)
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: option to close the compiler window by default.

Post by ts-soft »

I think, he will some of the global debugger preferences adding to compiler-options, per file.
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
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: option to close the compiler window by default.

Post by jassing »

When I compile a small program the compiler shows a dialog window - in the lower left corner is a checkbox "Close if successful" (or words to that effect)

Since it compiles faster than I can move the mouse to thecheck box, I always have to close the window -- I'd like it so that checkbox always remains visible, so even when compilation is complete, I can check it OR have a global IDE preference "Close compiler window if successful"
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: option to close the compiler window by default.

Post by Fred »

Could you post a screenshot ?
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: option to close the compiler window by default.

Post by jassing »

Image

While compilation is in progress, there is a checkbox in the lower left...
As near as I can tell; that's the only way to set that option...
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: option to close the compiler window by default.

Post by freak »

Actually, having it always visible only solves half the problem: Then you can easily check the box, but you cannot unckeck it again because the window will close before you can hit it next time ;)

The box was actually designed with larger projects in mind where this would not be an issue. The PB compiler is simply to fast!

I will look for a better place to put the setting in the next version. In the meantime, you can edit your project file with a text editor (while it is closed) and put the following into the "config" section:

Code: Select all

<buildwindow autoclose="1"/>
quidquid Latine dictum sit altum videtur
Post Reply