Hi,
it seems to me, that the project drawer does not allow automatic or manuel refreshment. This is quite a drawback to my mind. I think it would be great to have a manual refresh-button/command. It would be even greater to have some kind of automatic refresh every x seconds/minutes.
Regards. Christian
On Jan 29, 2005, at 11:46, Christian Schwanke wrote:
it seems to me, that the project drawer does not allow automatic or manuel refreshment. [...]
It refreshes if you deactivate and activate TextMate. A gesture I think I read somewhere that users have come to expect from many programs.
On Jan 29, 2005, at 6:26 AM, Allan Odgaard wrote:
On Jan 29, 2005, at 11:46, Christian Schwanke wrote:
it seems to me, that the project drawer does not allow automatic or manuel refreshment. [...]
It refreshes if you deactivate and activate TextMate. A gesture I think I read somewhere that users have come to expect from many programs.
This causes the folder structure to retract which is quite annoying. There still should be a "refresh" menu option for the project drawer.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 29. jan 2005, at 14:35, Michael Gregoire wrote:
This causes the folder structure to retract which is quite annoying. There still should be a "refresh" menu option for the project drawer.
Or the folder structure should just stay intact. I believe it's on the todo.
On Jan 29, 2005, at 8:57 AM, Sune Foldager wrote:
On 29. jan 2005, at 14:35, Michael Gregoire wrote:
This causes the folder structure to retract which is quite annoying. There still should be a "refresh" menu option for the project drawer.
Or the folder structure should just stay intact. I believe it's on the todo.
Well, when adding files, a person should have the ability to refresh manually, or an auto refresh should occur after a new files is added, rather than have to bring to focus another application and come back to TM, which I may add doesn't always guarantee a refresh. I have a couple times where the refresh simply didn't happen and I had to quite and open TM again, in order for the new files to be added to my list.
-- Sune. :: the Cottage of Lost Play. :: http://cyanite.org
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 29. jan 2005, at 15:09, Michael Gregoire wrote:
Well, when adding files, a person should have the ability to refresh manually, or an auto refresh should occur after a new files is added, rather than have to bring to focus another application and come back to TM, which I may add doesn't always guarantee a refresh. I have a couple times where the refresh simply didn't happen and I had to quite and open TM again, in order for the new files to be added to my list.
The best would maybe be to have the OS tell when files were updated, but I don't know how well that system is actually implemented.
On Jan 29, 2005, at 8:42 AM, Sune Foldager wrote:
On 29. jan 2005, at 15:09, Michael Gregoire wrote:
Well, when adding files, a person should have the ability to refresh manually, or an auto refresh should occur after a new files is added, rather than have to bring to focus another application and come back to TM, which I may add doesn't always guarantee a refresh. I have a couple times where the refresh simply didn't happen and I had to quite and open TM again, in order for the new files to be added to my list.
The best would maybe be to have the OS tell when files were updated, but I don't know how well that system is actually implemented.
man kqueue. It works well enough, but the API -- copied from FreeBSD -- is the usual inscrutable Unix cruft[*]. However:
http://www.zathras.de/angelweb/sourcecode.htm http://www.zathras.de/programming/cocoa/UKKQueue.zip
A wrapper class around the kqueue file change notification mechanism.
Simply create a UKKQueue, add a few paths to it and listen to the change notifications via NSWorkspace's notification center.
You may or may not want to use the UKKQueue code, but it demonstrates how to do it.
Chris
[*] but at least it doesn't require you to hardcode a fixed number of file descriptors, unlike some...
On Jan 29, 2005, at 22:29, Chris Thomas wrote:
man kqueue. It works well enough, but the API -- copied from FreeBSD -- is the usual inscrutable Unix cruft[*].
Yes, I have glanced at this on a few occasions :/ I do indeed plan to change to kqueue, make folder-scanning lazy etc. Though there still is a problem with network mounted drives with regard to auto-refresh. Though with lazy folder-scanning, refreshing a folder would just be to collapse/expand it in the outline.
To the OP, I don't think it's a common problem that the automatic folder refreshing is not working, so adding an explicit button to refresh them seems a bit drastic.