Skip to content

Commit

Permalink
fix: missing service override
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Mar 28, 2024
1 parent 0e34bf4 commit f47636e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/service-override/editSessions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ import { EditSessionsLogService } from 'vs/workbench/contrib/editSessions/common
import { IEditSessionsLogService, IEditSessionsStorageService } from 'vs/workbench/contrib/editSessions/common/editSessions'
import { EditSessionsWorkbenchService } from 'vs/workbench/contrib/editSessions/browser/editSessionsStorageService'
import { IWorkspaceIdentityService, WorkspaceIdentityService } from 'vs/workbench/services/workspaces/common/workspaceIdentityService'
import { IEditSessionIdentityService } from 'vs/platform/workspace/common/editSessions'
import { EditSessionIdentityService } from 'vs/workbench/services/workspaces/common/editSessionIdentityService'
import 'vs/workbench/contrib/editSessions/browser/editSessions.contribution'

export default function getServiceOverride (): IEditorOverrideServices {
return {
[IEditSessionsLogService.toString()]: new SyncDescriptor(EditSessionsLogService, [], false),
[IEditSessionsStorageService.toString()]: new SyncDescriptor(EditSessionsWorkbenchService, [], false),
[IWorkspaceIdentityService.toString()]: new SyncDescriptor(WorkspaceIdentityService, [], false)
[IWorkspaceIdentityService.toString()]: new SyncDescriptor(WorkspaceIdentityService, [], false),
[IEditSessionIdentityService.toString()]: new SyncDescriptor(EditSessionIdentityService, [], false)
}
}

0 comments on commit f47636e

Please sign in to comment.