Commit f48974b
committed
Trying out suggested change from VS Marketplace
This adds another layer of filtering such that if an item isn't matched by looking for each space-delimited word in the search box, we then try to see if each letter in the search term appears, in order, in the uppercase letters from item.
So, for example, if we had 3 files in our solution:
AssemblyInfo.cs
Main.cs
README
Searching for "ai" would now find the first two items since "AssemblyInfo.cs" contains "ai" in that order as uppercase letters and "Main.cs" contains "ai" per the previous rules.
I feel like this might be more intuitive if the rules were tweaked to disregard the capital letter rule, but I can see the merit in this method, so we'll try it out and see how it goes.1 parent 3b2c37e commit f48974b
1 file changed
Lines changed: 32 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
55 | 62 | | |
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
59 | 66 | | |
60 | | - | |
61 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
62 | 81 | | |
63 | | - | |
| 82 | + | |
64 | 83 | | |
65 | 84 | | |
66 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
67 | 90 | | |
68 | | - | |
69 | 91 | | |
70 | 92 | | |
71 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
72 | 99 | | |
73 | 100 | | |
74 | 101 | | |
| |||
0 commit comments