+318
Completed

Search/Find in files

Noname 12 years ago updated by Alan Truly 7 months ago 31 6 duplicates
Allow some method for searching in all files in a folder

Answer

+2
Answer
Completed

Textastic 9.8 with support for Find in Files was released today.

You can find more information in the manual at https://www.textasticapp.com/v9/manual/managing_files/find_in_files.html

Duplicates 6

+5
For me this is my top most wanted feature. My main use for Textastic is to pull in nested folders of C++ (our main library codebase) for browsing and looking things up. Being able to search for a function name across all those files is one of the main things I need to do.
+2
I see. This would indeed be pretty nice to have. I don't know if I can have the same kind of incremental visual search I have for searching in a single file due to memory constraints though.
+2
Consider how Sublime just puts some Grep-like output in a new buffer. Basically we just need some ability for this even if it isn't as pretty as the regular search UI.
+3
yes! would be an essential feature for each coder which is reviewing bigger projects!
+2
I am using certain text strings as placeholders in documents I have to work with. Right now, the app does highlight the these within the document which is excellent. But first I would have to find the documents I have to work with. Typically there are 50-100 in one folder. Such a fuction as suggested would be quite useful.
+1
This is indeed the most needed function for anyone working on a set of documents.
I'm a developer and I'd really love to have the whole API of a large commercial application for reference when on the go.
I have my iPad always with me and Textastic is perfect for me. The only missing and very important feature is ability to search within multiple documents in multiple (sub)directories. Support for regular expressions is welcomed, but even simplified versions of regexp wiould be enough for the beginning.
Thank you for your work!
Jan
+4
The incremental search as implemented for single file is indeed very nice, but in case of multiple files I believe more useful would be just list of files, where searched string was found (including figure indicating number of occurances for each file). The search within individual files will come into play after user clicks one of the files in the result list. User should be able to go through all the occurances of searched string easily.
This is all the requiments I have.
Thanks for your detailed description.
+3

I think I may have requested this elsewhere, but FWIW, ditto this request. For now, I'm living without it by either (1) syncing files with my laptop and multi-file searching in BBEdit or (2) multi-post searching in one of my Wordpress sites. Tedious. Aside from this occasional need, I'm *very* pleased that I've come to maintain all my sites using Textastic! Great app.

+7
This is a must. Without it working with more than one source file is impossible. Working with code off line is 90% searching. 
In OS X, ag is my favourite. If ag is integrated with Textastic, that's game changing for me!!
+5

I was just trying to figure out how to do this on my iPad Pro. I was shocked to discover that this isn't already a basic feature. For me, project-wide text search is what separates an IDE from a mere editor. Even Coda for iOS doesn't support this yet. Please make this a priority. It's the difference between using iOS for casual edits or serious work

+1

Hard to believe any modern multi-file editor doesn't have this kind of capability. Please do consider adding it

As I use Textastic with more and larger projects, I find I’m missing search in files more and more. As others have mentioned, a simple ‘spit out a text file with line-number links’ like Sublime does would be a huge benefit. By opening one file at a time and extracting the matches there shouldn’t be a memory issue, and even if it takes a while searching large projects this way, I don’t think you’d hear anyone complain!

I totally agree. I have looked high and low for a iOS text editor that allows this, in particular regex searching. It would be a game changer.

+5

Regex search and replace across files would be epic. No app in the iOS App Store or the Google Play store has this and many desktop text editors skip this very powerful feature.

With regex search and replace you can change formatting, function names, variable names, strip white space, etc from multiple files at once. This is literally the number one use case for computers - eliminating repetitive tasks.

I just ran a search replace manually on 114 files.... ugggh. And sometimes there are more. Please help us Obi wan, you are our only hope!

Totally agree. Dringend have this feature but it will be great to have it in Textastic.

This is the ONE killer feature missing from Textastic, IMHO. It’s such a fantastic app, but I often find myself wanting to grep across all the files in a folder (and descendants).

I would agree with other posters here, I need this feature the most. I need to be able to do a regex search across all of my files.

probably, without such feature makes whole ide useless: if several devs works in project we can't know where some object can be used

+4
Started

I'm working on this feature right now and hope to include it in the next major update. 

Alexander, you are the best!

+2
Answer
Completed

Textastic 9.8 with support for Find in Files was released today.

You can find more information in the manual at https://www.textasticapp.com/v9/manual/managing_files/find_in_files.html

+1

Incredible continued support for this great app! Thank you. 

+1

That's great, thank you!

+1

Any chance that an option to replace across files might be added? That is what I needed for making changes across a range of documents.

I was hesitant to implement this because you could potentially delete all your data using that.

For example, you could search in your iCloud Drive folder using a regular expression search for something like ".*" that matches all text and replace it with an empty string.

I guess that is true for all other text editors, too, that implement this, but it might still be a nightmare for a user if and when this happens.

I'll consider adding replace in multiple files if I get enough people asking for this feature.

Maybe  Replace in Files could pop up a warning of the danger and advise testing on one file first.