make search suggestions more precise
Created by: rvantonder
- The new additions only pull out
file
andrepo
, but we can easily support other filters that make sense (likelang
) which filters down to files. Currently,lang
is ignored, so when I typelang:go parse
, I still get typescript suggestions for a functionparse
I suggest we go over the filters comprehensively and support all the ones that make sense (otherwise we might run into more of the above kinds of issues). if we run into filters that pose issues for some reason, it's better to show no suggestions than entirely irrelevant ones (IMO).
- As seen in screenshot above, there are a lot of hits for
parse
. Turns out they are all different, but it's difficult to see because the path gets cut off. Can we investigate appending the file path of matches to that dropdown directly (and right align it, so that the last part of the path always shows, in case it's too long?)