A trick to speed up projectile-find-file in a large monorepo

Published on Oct 1, 2022, by Junji Zhi

When working on a large monorepo (like a ten-year-old Ruby on Rails app), we can use projectile-find-file to go to files but it be slow when the file list is long.

From projectile documentation, we can set the indexing method to alien to speed up the find file command:

(setq projectile-indexing-method 'alien)

This saves seconds when going to files and makes my action much crispier!




 Share: