src/vs/workbench/contrib/extensions/browser/extensionsViewlet.ts/ExtensionsViewPaneContainer/saveState
class ExtensionsViewPaneContainer:	override saveState(): void {
		const value = this.searchBox ? this.searchBox.getValue() : '';
		if (ExtensionsListView.isLocalExtensionsQuery(value)) {
			this.searchViewletState['query.value'] = value;
		} else {
			this.searchViewletState['query.value'] = '';
		}
		super.saveState();
	}