sublimetext2 - SublimeText 2: What does the number on the left side mean in command palette? -
when search file name- on left gives numbers ranging 0-999. these numbers represent? seems search ranking i'm not sure.
they measure of likelihood result match search query. algorithm happens under hood on predictive or autocomplete searches (like google's or mac's spotlight search) st2 team decided neat show numeric result.
it takes few items consideration. each 1 of these criteria adds more value result:
of matching characters
- how file has been used
- proximity top folder
- whether letters in sequence or dispersed through filename
- whether filename starts matched letters, or matched letters somewhere in between.
in example below, can see values go "index.html" gradually becomes more accurate. expected, buried files, or files used less lower value.
Comments
Post a Comment