Skip to content

Commit c00aeba

Browse files
committed
Settings search - highlight word matches in description for results from bing
(still not using it to filter settings locally)
1 parent 987073d commit c00aeba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/parts/preferences/electron-browser/preferencesSearch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ class RemoteSearchProvider implements ISearchProvider {
258258
scoredResults[getSettingKey(setting.key, 'core')] || // core setting
259259
scoredResults[getSettingKey(setting.key)]; // core setting from original prod endpoint
260260
if (remoteSetting && remoteSetting.score >= minScore) {
261-
const settingMatches = new SettingMatches(this.options.filter, setting, false, false, (filter, setting) => preferencesModel.findValueMatches(filter, setting)).matches;
261+
const settingMatches = new SettingMatches(this.options.filter, setting, false, true, (filter, setting) => preferencesModel.findValueMatches(filter, setting)).matches;
262262
return { matches: settingMatches, score: remoteSetting.score };
263263
}
264264

0 commit comments

Comments
 (0)