atom / fuzzaldrin

Fuzzy filtering and string scoring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Score Capitol Letters Higher in Fuzzy Search

steveoh opened this issue · comments

It seems that Sublime and possibly the chrome dev tools give a higher priority to capitol letters when searching. This makes finding the file MyFileName.ext much easier since you can type MFN and not be bothered with having to spell it out. I think this is a great productivity feature since you can type less letters which introduces less spelling errors.

For instance, assume a list of files that would represent a front end javascript usecase.

var files = ['FilterFactors.js', 
'FilterFactors.styl', 
'FilterFactors.html', 
'FilterFactorTests.html', 
'SpecFilterFactors.js'];

In sublime, I could type FFT to get to FilterFactorTests.html. In atom, FFT matches FilterFactors .js, .styl, and .html above FilterFactorTests.html.

PR #22 now cover this case