Skip to content

Commit

Permalink
Bind Extension search bar within view container so it is re-created (e…
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-fleck-at authored Apr 23, 2024
1 parent 7ed5fcb commit 47ec23b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
progressLocationId: 'extensions'
});
child.bind(VSXExtensionsViewContainer).toSelf();
child.bind(VSXExtensionsSearchBar).toSelf().inSingletonScope();
const viewContainer = child.get(VSXExtensionsViewContainer);
const widgetManager = child.get(WidgetManager);
for (const id of [
Expand All @@ -96,7 +97,6 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
})).inSingletonScope();

bind(VSXExtensionsSearchModel).toSelf().inSingletonScope();
bind(VSXExtensionsSearchBar).toSelf().inSingletonScope();

rebind(LanguageQuickPickService).to(VSXLanguageQuickPickService).inSingletonScope();

Expand Down

0 comments on commit 47ec23b

Please sign in to comment.