I use helm-projectilein Emacs to search code in my codebase.
The structure of my codebase looks like this:
/rootdir
/project1
/.git
/code
/doc
/project2
/.git
/code
/doc
/project3
/...
I have three git repo and I only want to search in their code sub-directory. More importantly, when I do hlem-projectile-ack in project1. I want the search results to include the result from project2/code and project3/code.
By the default, helm-projectile only searches in the current git repo. How can I change the default search root to be /rootdir and also effectively ignore everything under /doc folders?
This can be solved by adding a
.projectileunder/rootdirReference: Projects in Projectile. By the way, the documentation says that contents of
.projectileare ignored when thealienindexing method is used. I am usingalienmethod and adding a.projecctileworks for me.