Occasionally I will get TM2 into a state where "find in folder” and "CMD+T" will be missing files in their search scope.
Unfortunately, I don’t yet have a series of reproducible steps that cause this condition. However, for CMD+T at least, I’ve found that repeatedly hitting CMD+T will “recover” the ability to locate all files in the folder that’s open.
Some other points of interest… From reading the docs it seems like this could be related to http://manual.textmate.org/projects.html#effective-folder and it’s interaction with the fact that I have “single click to open file” enabled.
Have any other users experienced this? What sort of debugging information would be useful?
Thanks
On 18 Dec 2013, at 8:31, Matt Reiferson wrote:
[…] From reading the docs it seems like this could be related to http://manual.textmate.org/projects#effective-folder and it’s interaction with the fact that I have “single click to open file” enabled.
The effective project folder is setup when creating the window and will not implicitly change, but require user action to change. The folder used as project folder should also be visible in both the ⌘T and ⇧⌘F windows. So I do not think this is related to project folder.
Have any other users experienced this? What sort of debugging information would be useful?
Is this a regular local file system?
Any pattern to what files are missing? E.g. always the same file type, the same files, files in a certain folder, etc.
Does it make any sense that repeatedly hitting CMD+T would “clear” the issue?
This is an sshfs, it is unclear whether or not that’s related.
When the issue occurs, it appears that it reduces its search scope to a sub-directory of the parent folder that was originally opened. I will be sure to pay closer attention the next time it occurs and provide more details.
Thanks,
Matt
On Wed, Dec 18, 2013 at 10:22 PM, Allan Odgaard mailinglist@textmate.orgwrote:
On 18 Dec 2013, at 8:31, Matt Reiferson wrote:
[…] From reading the docs it seems like this
could be related to http://manual.textmate.org/projects#effective-folder and it’s
interaction with the fact that I have “single click to open file” enabled.
The effective project folder is setup when creating the window and will not implicitly change, but require user action to change. The folder used as project folder should also be visible in both the ⌘T and ⇧⌘F windows. So I do not think this is related to project folder.
Have any other users experienced this? What sort of debugging information
would be useful?
Is this a regular local file system?
Any pattern to what files are missing? E.g. always the same file type, the same files, files in a certain folder, etc.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 19 Dec 2013, at 11:37, Matt Reiferson wrote:
[…] This is an sshfs, it is unclear whether or not that’s related.
Someone had a similiar issue on IRC and was able to reproduce it outside TextMate by running something like “find /path/to/folder|wc -l” — here the number of files found would initially be too low.
I don’t recall the exact circumstances, but our conclusion was that the issue was with sshfs.