You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thank you for the fantastic app. It works great. But it seems there is one bug. Why the blue mark in the drop down list disappears if the search contains more than two words?
The text was updated successfully, but these errors were encountered:
Ransche
changed the title
Mark dissapear in dropdown at searched of multiple words
Mark dissapear in dropdown at search of multiple words
Oct 13, 2023
this "bug" is a limitation of vscode quick-pick only match and highlight exact words. and it's, afaik, impossible to get the highlighting right, due to the lack of vscode API.
if you search a b c d, and a line of a b c d matches each single word in exact order, all 4 words are highlighted.
The quick-pick matching and highlighting is very limited, it doesn't support the rich search syntax of this plugin.
To force quick-pick dropdown match, the trick i pulled was to do the custom match line by line, then append the user-input search string, e.g. a b c d, to the end of the matched line.
This is why if you have a line aa bb cc dd and you search for a b c d, this plugin still match, but there is no highlight (it's actually highlighting on the appended user-input search string)
more info on quick-pick highlighting limitation in this issue.
Hi,
thank you for the fantastic app. It works great. But it seems there is one bug. Why the blue mark in the drop down list disappears if the search contains more than two words?
The text was updated successfully, but these errors were encountered: