diff options
author | Rob Lourens <roblourens@gmail.com> | 2018-01-25 22:47:57 +0300 |
---|---|---|
committer | Rob Lourens <roblourens@gmail.com> | 2018-01-25 22:47:57 +0300 |
commit | c00aeba6e8c16f7e2068b8ab1774a1d19b5e9e76 (patch) | |
tree | 25e699a122c207ccc16f9ac98c1abab8157a5284 | |
parent | 987073d157bc866acad229e5008339f67563de0d (diff) |
Settings search - highlight word matches in description for results from bingGOOD
(still not using it to filter settings locally)
-rw-r--r-- | src/vs/workbench/parts/preferences/electron-browser/preferencesSearch.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vs/workbench/parts/preferences/electron-browser/preferencesSearch.ts b/src/vs/workbench/parts/preferences/electron-browser/preferencesSearch.ts index bb71d6ec0e2..5c7d45b1c92 100644 --- a/src/vs/workbench/parts/preferences/electron-browser/preferencesSearch.ts +++ b/src/vs/workbench/parts/preferences/electron-browser/preferencesSearch.ts @@ -258,7 +258,7 @@ class RemoteSearchProvider implements ISearchProvider { scoredResults[getSettingKey(setting.key, 'core')] || // core setting scoredResults[getSettingKey(setting.key)]; // core setting from original prod endpoint if (remoteSetting && remoteSetting.score >= minScore) { - const settingMatches = new SettingMatches(this.options.filter, setting, false, false, (filter, setting) => preferencesModel.findValueMatches(filter, setting)).matches; + const settingMatches = new SettingMatches(this.options.filter, setting, false, true, (filter, setting) => preferencesModel.findValueMatches(filter, setting)).matches; return { matches: settingMatches, score: remoteSetting.score }; } |