Another vote for replacing the existing dialog :) Just for reference, the Eclipse approach is to not do anything until the particular file is viewed. If Eclipse doesn't have focus, nothing will happen until you focus on Eclipse, and (if the file that's changed happens to be the currently open tab) it will popup a dialog asking if you want to reload from disk or keep what you have. If the file that's changed is not in the open tab, it doesn't display the dialog until you focus on that tab.
Also, if the file has been *removed*, it will ask if you want to close the tab or save the file. If you click close, it'll focus on the next tab. If that has *also* been removed, it'll pop up the same dialog. This can get annoying if a whole lot of files have been removed (e.g you switched branches). Eclipse seems to expect you to do everything from within Eclipse, which is a weakness IMO (it gets worse if you're doing Java and building stuff outside Eclipse, which is sometimes necessary...). On 28 May 2010 04:34, David Mertens <dcmertens.p...@gmail.com> wrote: > On Thu, May 27, 2010 at 6:45 AM, Peter Lavender > <pla...@internode.on.net>wrote: > >> Hi everyone, >> >> I'm not the biggest fan of the current "file has changed" notification in >> Padre, I don't think the single dialog box that pops up when a file has >> changed state listing all the files to reload makes any sense. Sorry to >> who ever did it, it's just my cup of tea. >> >> I saw in the irc logs that someone else has voiced their dislike of it as >> well. >> > > +1. It also displays really badly on my machine, but maybe that's because I > have a super-wide screen. > > >> To me, I think the way it should work is pop up a dialog saying the file >> has change and to "Reload?" when changed or "Remove from Editor?" when >> deleted only when you go to the tab the file has changed on. >> > > You could alert the user that the file had changed on disk by putting a > small (temporary) icon on the tab itself, or change the font color. That way > the user could easily see that the file had changed on disk even if they are > working on a different file. Then, they could click on the tab of the > changed file and get the dialog. Also, I think the dialog should have > multiple buttons: [&Reload], [Reload &All], [&Ignore], and [A&dvanced], > where the Advanced button would bring up the current "File has changed" box. > Ditto that for deleted files, though deleted vs changed on disk should > operate separately. > > Not that I have any tuits for such work. Just ideas. Hope that's OK. > > >> Another way to do it is to have the IDE move to the effected tab and a >> pop up one of the same dialogs. >> > > This would get annoying for me. Sometimes I have a log file open and > getting automatically switched to the log file every few seconds would > become irritating. For me, this is a case of "The IDE shouldn't bug me > unless I ask it to bug me." > > David > > -- > Sent via my carrier pigeon. > > _______________________________________________ > Padre-dev mailing list > Padre-dev@perlide.org > http://mail.perlide.org/mailman/listinfo/padre-dev > >
_______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev