mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-16 19:24:27 +01:00
Remove default viewlet experiment (#15383)
This commit is contained in:
@@ -503,6 +503,9 @@ export class Workbench implements IPartService {
|
||||
|
||||
// Sidebar visibility
|
||||
this.sideBarHidden = this.storageService.getBoolean(Workbench.sidebarHiddenSettingKey, StorageScope.WORKSPACE, false);
|
||||
if (!this.contextService.getWorkspace()) {
|
||||
this.sideBarHidden = true; // we hide sidebar in single-file-mode
|
||||
}
|
||||
|
||||
const viewletRegistry = Registry.as<ViewletRegistry>(ViewletExtensions.Viewlets);
|
||||
if (!viewletRegistry.getDefaultViewletId()) {
|
||||
|
||||
Reference in New Issue
Block a user