-
-
Notifications
You must be signed in to change notification settings - Fork 5
Match Settings
Is part of Global Settings.
You can test the match options with live updating with the test bench (does not update in place). It shows each individual score for each file and you can tweak it as you like.

Used to make the file search a bit more flexible. Tells how many wrong characters can be present before deciding that a file path cannot match the search string.
Counts occurrences of each unique character present in the search string.
e.g. search string "file" has 5 occurrences in "/dir/file"
This option can affect performance more than the others, as it requires full passes over the file paths.
Set the multiplier for each individual character that was matched with "Match characters multiple times".
The final result is divided by 10 to avoid using floats and still get more precise control.
Tells how much static score does a partial path match add. This can be used to prioritize filename matches or pointing to the correct package/directory with a space.
- "file" matches "/dir/file"
- "dir" matches "/dir/file"
- "ext" matches "/dir/file.ext"
Note! The actual streak might not be the longest possible streak.
When checking that each character from the search string is present and ordered in the file path the longest streak is used to score the entry.
This is used to set the multiplier for the longest streak.
Search string is checked against each filename and the longest streak is used to score the entry.
This is used to set the multiplier for the filename streak. Thus enabling pushing only filename matches upper in the list.