Path: blob/main/src/vs/sessions/browser/parts/editorParts.ts
13394 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45import './media/editorPart.css';6import { InstantiationType, registerSingleton } from '../../../platform/instantiation/common/extensions.js';7import { EditorParts as EditorPartsBase } from '../../../workbench/browser/parts/editor/editorParts.js';8import { IEditorGroupsService } from '../../../workbench/services/editor/common/editorGroupsService.js';9import { MainEditorPart } from './editorPart.js';1011export class EditorParts extends EditorPartsBase {12protected override createMainEditorPart(): MainEditorPart {13return this.instantiationService.createInstance(MainEditorPart, this);14}15}1617registerSingleton(IEditorGroupsService, EditorParts, InstantiationType.Eager);181920