I'm using projectile with emacs to manage a large project.
I moved a number of directories with scores of files.
The old file paths are still showing up in projectile find file (C-c p f).
How do I remove them in bulk or force projectile to re-initialize the project?
I've tried:
- projectile-purge-dir-from-cache
- projectile-invalidate-cache
- quitting emacs, deleting ~/.emacs.d/projectile.cache, restarting emacs
- adding a .projectile file with 'exclude' options for the original dirs
After all of these, the same original list of old paths/files still appears on C-c p f.
~/.emacs.d/projectile.cache
and using eitherag
(the silver searcher) orrg
(ripgrep) to generate the project files ? Check out my projectile config to get an idea on how you can userg
to generate project files – GuimarC-u C-c p f
? – Juncaceous