@codingame/monaco-vscode-editor-service-override 36.2.7 → 37.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +4 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -11,6 +11,8 @@ import { GroupOrientation } from '@codingame/monaco-vscode-api/vscode/vs/workben
11
11
  import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
12
12
  import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
13
13
  import { DEFAULT_EDITOR_PART_OPTIONS } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/editor/editor';
14
+ import { IDiffEditorCommandsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/editor/diffEditorCommandsService.service';
15
+ import { DiffEditorCommandsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/editor/diffEditorCommandsService';
14
16
  import { mainWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/window';
15
17
  import { fakeActiveGroup, MonacoDelegateEditorGroupsService, MonacoEditorService } from '@codingame/monaco-vscode-api/service-override/tools/editor';
16
18
  export { MonacoEditorService } from '@codingame/monaco-vscode-api/service-override/tools/editor';
@@ -153,7 +155,8 @@ function getServiceOverride(openEditor) {
153
155
  [ICodeEditorService.toString()]: new SyncDescriptor(CodeEditorService, undefined, true),
154
156
  [IEditorService.toString()]: new SyncDescriptor(MonacoEditorService, [openEditor, () => false], true),
155
157
  [ITextEditorService.toString()]: new SyncDescriptor(TextEditorService, [], false),
156
- [IEditorGroupsService.toString()]: new SyncDescriptor(MonacoEditorGroupsService, [openEditor])
158
+ [IEditorGroupsService.toString()]: new SyncDescriptor(MonacoEditorGroupsService, [openEditor]),
159
+ [IDiffEditorCommandsService.toString()]: new SyncDescriptor(DiffEditorCommandsService, [], true)
157
160
  };
158
161
  }
159
162
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-editor-service-override",
3
- "version": "36.2.7",
3
+ "version": "37.1.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - editor service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "36.2.7"
18
+ "@codingame/monaco-vscode-api": "37.1.0"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",