[Qt-creator] Disabling File Changed dialog

Jonathan Arnold jdarnold at buddydog.org
Wed Jul 8 16:32:25 CEST 2009


Thorbjørn Lindeijer wrote:
> By not using a bool but an enum, you could make even more people happy. 
> I've read requests for never asking for reload as well, so what about 
> having a combo box showing three options?
> 
>   Reload externally modified files:
>     * Always ask
>     * Ask only with unsaved changes
>     * Never reload
> 
> I'm not entirely sure whether these options are immediately clear 
> though. And at the moment I don't think we should have a "Without 
> asking" option, since I consider that quite dangerous. I'm not sure what 
> the use-case is of editing a file in Qt Creator but then wanting those 
> changes to be thrown away without asking.

I like the way Visual Studio does it. There's an option to always reload
externally modified files, but even then, if the file has been modified in
VS, it will ask if you want to lose your changes by reloading the file. As
Emacs does something very similar, I think it is the right way to go:)

I too am looking forward to this change. This would give me a pretty seamless
way to use Emacs as my editor, thus reducing, although not removing entirely,
my least favorite aspect of Qt Creator. I know there was some talk in the
mailing list (or forum?) about an Emacs keymap, which would be even better.

-- 
Jonathan Arnold        Webstream: http://hieronymus.soup.io

The ships hung in the sky in much the same way that bricks don't.
 -- Douglas Adams



More information about the Qt-creator-old mailing list