File change notification settings

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

File change notification settings

Post by Tenaja »

First, thank you, Fred, for the File Changed notification!!! I greatly appreciate it.

...however...it leads me to a new request:

I have a Program open, and a File open that the Program will change.
The undesired side-effect to the new feature is that the File to be changed steals focus as soon as I run the Program. This is a hassle when breakpoints are used, because now the wrong file has focus.

Can there be some settings for this in Preferences? Perhaps these radio buttons?

O Warn when a file changes
O Ignore changes during a program Run
O Disable

Thanks!
User avatar
kenmo
Addict
Addict
Posts: 2033
Joined: Tue Dec 23, 2003 3:54 am

Re: File change notification settings

Post by kenmo »

What about, instead of "ignore changes during program run", the IDE still monitors changes but doesn't pop up any notifications until the executed program has ended?

Or maybe that is what you mean, and I just interpreted it differently.
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: File change notification settings

Post by Tenaja »

kenmo wrote:What about, instead of "ignore changes during program run", the IDE still monitors changes but doesn't pop up any notifications until the executed program has ended?

Or maybe that is what you mean, and I just interpreted it differently.

Yes, delay notifications during program run is better, but even nicer yet would be both; ignore and delay. That will give users a choice.
Post Reply