spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
2021-01-31T12:50:17.041800Z

Hi everyone, How can I limit the SPC s p command in spacemacs to refrain from searching certain directories. In front-end projects with shadow-cljs using SPC s p causes the editor to look for matches even in minified js files causing the editor to hang. Thanks a lot in advance I am using practicalli's default spacemacs config

practicalli-john 2021-01-31T12:53:00.042200Z

Projectile should ignore patterns in the project .gitingnore file and I think / hope the users .gotignore-global file (if added).

practicalli-john 2021-01-31T12:54:55.042400Z

There is a projectile invalidate cache command somewhere, this should reload patterns from .gitignore. Or try revert-buffer on the file you are initiating the search command from.

practicalli-john 2021-01-31T12:56:36.042600Z

Or add a .projectile file in the root of the project with patterns to ignore, although I think this is really just where you want patterns that are not in . gitignore or are not using git

2021-01-31T13:02:55.042800Z

That's exactly it. Thanks a lot for your help, this was very helpful

👍 1
2021-01-31T14:57:05.043100Z

sorry but it didn't work. I searched quite a bit and the document mentions that .projectile file is ignored by alien indexing which apparently spacemacs has switched to on develop but even after setting the indexing method to 'native the issue persists Am I doing something wrong ?