Skip to content

Commit

Permalink
fix: use workbench editor worker service
Browse files Browse the repository at this point in the history
with updated worker name
  • Loading branch information
Loïc Mangeonjean committed Sep 17, 2024
1 parent 046cac9 commit c636650
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/service-override/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import { ITrustedDomainService } from 'vs/workbench/contrib/url/browser/trustedD
import { TrustedDomainService } from 'vs/workbench/contrib/url/browser/trustedDomainService'
import { LabelService } from 'vs/workbench/services/label/common/labelService'
import { ILabelService } from 'vs/platform/label/common/label.service'
import { IEditorWorkerService } from 'vs/editor/common/services/editorWorker'
import { WorkbenchEditorWorkerService } from 'vs/workbench/contrib/codeEditor/browser/workbenchEditorWorkerService'
import { getEnvironmentOverride } from '../workbench'

class BrowserPathServiceOverride extends AbstractPathService {
Expand Down Expand Up @@ -58,6 +60,8 @@ export default function getServiceOverride (): IEditorOverrideServices {
[IWorkingCopyFileService.toString()]: new SyncDescriptor(WorkingCopyFileService, [], false),
[IPathService.toString()]: new SyncDescriptor(BrowserPathServiceOverride, [], true),
[ITrustedDomainService.toString()]: new SyncDescriptor(TrustedDomainService, [], true),
[ILabelService.toString()]: new SyncDescriptor(LabelService, [], true)
[ILabelService.toString()]: new SyncDescriptor(LabelService, [], true),
[IEditorWorkerService.toString()]: new SyncDescriptor(WorkbenchEditorWorkerService, [], true)

}
}

0 comments on commit c636650

Please sign in to comment.