src/vs/workbench/contrib/extensions/browser/extensionsActions.ts/ConfigureWorkspaceRecommendedExtensionsAction/run
class ConfigureWorkspaceRecommendedExtensionsAction:	public override run(): Promise<void> {
		switch (this.contextService.getWorkbenchState()) {
			case WorkbenchState.FOLDER:
				return this.openExtensionsFile(this.contextService.getWorkspace().folders[0].toResource(EXTENSIONS_CONFIG));
			case WorkbenchState.WORKSPACE:
				return this.openWorkspaceConfigurationFile(this.contextService.getWorkspace().configuration!);
		}
		return Promise.resolve();
	}