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.

screenshot showing numbers on left of menu

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.

example of increasing likelihood


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -