How do I perform isearch
over a whole projectile project, so that I can cycle through all occurrences of a string? This would be equivalent to multi-isearch-file
for all files in the projectile project.
2 Answers
I recommend projectile-ag
for this. Works very well and is somewhat faster than isearch
Projectile has built-in support for searching through project files with grep (or similar utils like ack or ag). See for example projectile-grep
.
If you want to use multi-isearch-file
, this seems to work:
(defun projectile-multi-isearch-files ()
(interactive)
(multi-isearch-files (projectile-current-project-files)))