Page 1 of 1

ide - simple 'reload' entry for the file menu

Posted: Mon Mar 24, 2008 12:44 am
by #NULL
..to update a sourcecode / reload from disk (to discard changes is to be confirmed by the user).

Posted: Tue Mar 25, 2008 2:04 am
by kenmo
Yep, good idea, though I'd call it 'Revert'

Posted: Sun Jun 08, 2008 1:14 pm
by tinman
I'd also like to see it keep a watch on the files for any external changes and prompt you whether you wanted to reload the file or not.

Possibly also have an option to configure this (prompt or always reload).

Posted: Sun Jun 08, 2008 1:17 pm
by Trond
kenmo wrote:Yep, good idea, though I'd call it 'Revert'
But that's not what it does.

Revert = discard changes since last save
Reload = discard changes and load from disk

The difference becomes apparent when you remember that other programs can change the file.

Posted: Sun Jun 08, 2008 1:18 pm
by blueznl
Note that 'revert' doesn't help much if you do a compile... as the source is overwritten (which is why I keep numbered backups).

Posted: Sun Jun 08, 2008 1:54 pm
by UserOfPure
@blueznl: You can disable "Save before compile" and therefore don't need any "Revert" option.

Posted: Sun Jun 08, 2008 3:06 pm
by blueznl
Well, I wasn't asking for a revert option, was I? :-)

Posted: Sun Jun 08, 2008 3:10 pm
by UserOfPure
blueznl wrote:Well, I wasn't asking for a revert option, was I? :-)
It was implied by your comment of:
blueznl wrote:Note that 'revert' doesn't help much if you do a compile

Posted: Sun Jun 08, 2008 7:23 pm
by Trond
UserOfPure wrote:
blueznl wrote:Well, I wasn't asking for a revert option, was I? :-)
It was implied by your comment of:
blueznl wrote:Note that 'revert' doesn't help much if you do a compile
That comment implies that he's not looking for revert, not that that he's looking for it.

Posted: Sun Jun 08, 2008 7:24 pm
by blueznl
In fact, I don't WANT a revert, as I don't NEED it. It may be helpful to others though.

Posted: Sun Jun 08, 2008 7:44 pm
by Trond
blueznl wrote:In fact, I don't WANT a revert, as I don't NEED it. It may be helpful to others though.
You mean RELOAD!