Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement preview on highlighting quickpick in quick search #202306

Merged
merged 9 commits into from
Jan 18, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class TextSearchQuickAccess extends PickerQuickAccessProvider<ITextSearch
disposables.add(picker.onDidChangeActive(() => {
const [item] = picker.activeItems;

if (item.match) {
if (item && item.match) {
// only store location once, or else it will store new state every time we change active pick
if (!this.storedOriginalLocation) {
// we must remember our curret view state to be able to restore
Expand Down