bbatsov / helm-projectile

Helm UI for Projectile
327 stars 71 forks source link

Cannot disable fuzzy matching #169

Open zalky opened 1 year ago

zalky commented 1 year ago

Expected behavior

I'm trying to disable fuzzy matching, since it results in far too many candidates in medium to large projects. I've attempted to do so by both customizing helm-projectile-fuzzy-match, and also trying to setq it, but neither seems to have an affect.

Actual behavior

I'm not actually sure if this is even fuzzy matching, or maybe just a bug or misconfiguration: it appears to just be matching an arbitrary number of characters between the characters of the query. So if my query is term, it is seems to be matching .*t.*e.*r.*m.*, which is not a kind of fuzzy matching I'm familiar with. In any cases, it produces too many results which are not useful. Here is helm-projectile-find-file:

Screen Shot 2022-10-02 at 8 29 44 PM

Steps to reproduce the problem

Search for something with helm-projectile-find-file.

Environment & version information

mikaelspringer commented 10 months ago

I did this by using the :custom keyword in use-package, like this; (use-package helm-projectile :ensure t :after (helm projectile) :custom (helm-projectile-fuzzy-match nil) :config (helm-projectile-on))