I want setup the projectile project for project that has no local git, hg, bzr, etc. directories so I cannot use their repositories as source of project files. Is it enough to just create the .projectile file in the root directory and use the C-u C-c p f to refresh the cache. I've tried this and in my case it is not working (my .projectile is empty - shall I fill it with some rules?). What I would expect is the emacs/projectile to automatically index all my project, i.e. directory-by-directory, file-by-file, so I can make later quick search for the files.
Could you please give me some step-by-step hints ?
Thanks!
[--Update--]
This is an excerpt from my .emacs config file:
(require 'projectile)
(projectile-global-mode)
(setq projectile-indexing-method 'native)
(setq projectile-enable-caching t)
After the C-c p f sequence I'm asked by the "Find file:" prompt but the only file in the list is the .projectile file itself - none of the project files are displayed.
projectile-enable-cachingandprojectile-indexing-method? The empty .projectile approach is valid. What happens when you hitC-c p f? - juanleonprojectile-globally-ignored-directoriesorprojectile-globally-ignored-filesmatch the rest of the files? What versions of Emacs/projectile are you using (I assume you are using Windows, because of the native indexing method)? - juanleonprojectile-globally-ignored-directoriesdirectories orprojectile-globally-ignored-filefiles match any of the files/directories in my project. The project includes mainly (~99,9%)*.c,*.hand Makefiles - michal.szulc