[TxMt] Re: Search beachballs on (very) long single-line file
Carpii UK
carpii.uk at gmail.com
Sun Jun 5 20:00:36 UTC 2016
If you don't already have one, try creating a ".tm_properties" file in your
project directory
Add the single line....
excludeInFolderSearch = "{$excludeInFolderSearch,*.json}"
On 5 June 2016 at 20:50, Walter Lee Davis <waltd at wdstudio.com> wrote:
> I am working in a Rails project, and one of the files in the project tree
> is a catalog of books, exported from another system as a 1MB single-line
> file. When I engage multi-file search, I will end up in
> spinning-pizza-of-death until I force-quit the app. As a work-around, I
> have had to keep search from looking inside it by declaring it to be one of
> the non-text files (right after jpeg) in the preferences in order to be
> able to search for anything at all across files.
>
> Is there a better way that I can handle this? It's non-ideal to never be
> able to look in a JSON file within TM. I can use BBEdit, which does not
> have any issue at all opening this file, but I'd like to keep it all
> together.
>
> How else could I globally keep multi-file search from trying to read this
> file?
>
> Thanks,
>
> Walter
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20160605/40d9e00d/attachment.html>
More information about the textmate
mailing list