@codingame/monaco-vscode-editor-service-override 12.0.0 → 13.0.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.
package/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import type { IEditorOverrideServices } from "vscode/vscode/vs/editor/standalone/browser/standaloneServices";
2
- import type { IResolvedTextEditorModel } from "vscode/vscode/vs/editor/common/services/resolverService";
3
- import type { IEditorOptions } from "vscode/vscode/vs/platform/editor/common/editor";
4
- import type { IReference } from "vscode/vscode/vs/base/common/lifecycle";
1
+ import type { IEditorOverrideServices } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices";
2
+ import type { IResolvedTextEditorModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService";
3
+ import type { IEditorOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/editor/common/editor";
4
+ import type { IReference } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
5
5
  import { MonacoEditorService, type OpenEditor } from "./service-override/tools/editor.js";
6
6
  export default function getServiceOverride(openEditor: OpenEditor): IEditorOverrideServices;
7
7
  export { MonacoEditorService };
package/index.js CHANGED
@@ -1,20 +1,20 @@
1
1
 
2
- import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
3
- import { Event } from 'vscode/vscode/vs/base/common/event';
4
- import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
4
+ import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService';
5
5
  import { CodeEditorService } from '@codingame/monaco-vscode-b1e8558d-1726-5299-bc75-e43ee6d1a124-common/vscode/vs/workbench/services/editor/browser/codeEditorService';
6
- import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
7
- import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
6
+ import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
7
+ import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
8
8
  import { TextEditorService } from '@codingame/monaco-vscode-b1e8558d-1726-5299-bc75-e43ee6d1a124-common/vscode/vs/workbench/services/textfile/common/textEditorService';
9
- import { ITextEditorService } from 'vscode/vscode/vs/workbench/services/textfile/common/textEditorService.service';
10
- import { GroupOrientation } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
11
- import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
12
- import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
13
- import { DEFAULT_EDITOR_PART_OPTIONS } from 'vscode/vscode/vs/workbench/browser/parts/editor/editor';
14
- import { mainWindow } from 'vscode/vscode/vs/base/browser/window';
9
+ import { ITextEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textEditorService.service';
10
+ import { GroupOrientation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService';
11
+ import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
12
+ import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
13
+ import { DEFAULT_EDITOR_PART_OPTIONS } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/editor/editor';
14
+ import { mainWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/window';
15
15
  import { fakeActiveGroup, MonacoDelegateEditorGroupsService, MonacoEditorService } from '@codingame/monaco-vscode-e97d19fd-ad95-5915-8104-6f1a86c7b652-common/service-override/tools/editor';
16
16
  export { MonacoEditorService } from '@codingame/monaco-vscode-e97d19fd-ad95-5915-8104-6f1a86c7b652-common/service-override/tools/editor';
17
- import { unsupported } from 'vscode/tools';
17
+ import { unsupported } from '@codingame/monaco-vscode-api/tools';
18
18
  import '@codingame/monaco-vscode-b1e8558d-1726-5299-bc75-e43ee6d1a124-common/vscode/vs/workbench/browser/parts/editor/editor.contribution._autosave';
19
19
  import '@codingame/monaco-vscode-b1e8558d-1726-5299-bc75-e43ee6d1a124-common/vscode/vs/workbench/contrib/files/browser/files.contribution._fileEditorFactory';
20
20
  import '@codingame/monaco-vscode-5945a5e2-a66c-5a82-bd2c-1965724b29eb-common/vscode/vs/workbench/contrib/files/browser/fileCommands._save';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-editor-service-override",
3
- "version": "12.0.0",
3
+ "version": "13.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - editor service-override",
6
6
  "keywords": [],
@@ -15,15 +15,15 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-5945a5e2-a66c-5a82-bd2c-1965724b29eb-common": "12.0.0",
19
- "@codingame/monaco-vscode-b1e8558d-1726-5299-bc75-e43ee6d1a124-common": "12.0.0",
20
- "@codingame/monaco-vscode-e97d19fd-ad95-5915-8104-6f1a86c7b652-common": "12.0.0",
21
- "vscode": "npm:@codingame/monaco-vscode-api@12.0.0"
18
+ "@codingame/monaco-vscode-5945a5e2-a66c-5a82-bd2c-1965724b29eb-common": "13.0.0",
19
+ "@codingame/monaco-vscode-b1e8558d-1726-5299-bc75-e43ee6d1a124-common": "13.0.0",
20
+ "@codingame/monaco-vscode-e97d19fd-ad95-5915-8104-6f1a86c7b652-common": "13.0.0"
22
21
  },
23
22
  "peerDependencies": {
24
- "@codingame/monaco-vscode-0139c6af-2375-559c-af57-b738f2fd6d8e-common": "12.0.0",
25
- "@codingame/monaco-vscode-b8988f79-16c1-5bff-b0e7-699bab3431da-common": "12.0.0",
26
- "@codingame/monaco-vscode-c3c61c00-c254-5856-9dc9-d7929c1f9062-common": "12.0.0"
23
+ "@codingame/monaco-vscode-api": "13.0.0",
24
+ "@codingame/monaco-vscode-0139c6af-2375-559c-af57-b738f2fd6d8e-common": "13.0.0",
25
+ "@codingame/monaco-vscode-b8988f79-16c1-5bff-b0e7-699bab3431da-common": "13.0.0",
26
+ "@codingame/monaco-vscode-c3c61c00-c254-5856-9dc9-d7929c1f9062-common": "13.0.0"
27
27
  },
28
28
  "peerDependenciesMeta": {
29
29
  "@codingame/monaco-vscode-0139c6af-2375-559c-af57-b738f2fd6d8e-common": {
@@ -1,34 +1,34 @@
1
- import { type PreferredGroup } from "vscode/vscode/vs/workbench/services/editor/common/editorService";
2
- import { IEditorService } from "vscode/vscode/vs/workbench/services/editor/common/editorService.service";
3
- import { type EditorInputWithOptions, type IActiveEditorChangeEvent, type IEditorCloseEvent, type IEditorControl, type IEditorPane, type IEditorWillOpenEvent, type IResourceDiffEditorInput, type ITextDiffEditorPane, type IUntitledTextResourceEditorInput, type IUntypedEditorInput, type IVisibleEditorPane } from "vscode/vscode/vs/workbench/common/editor";
4
- import { EditorInput } from "vscode/vscode/vs/workbench/common/editor/editorInput";
5
- import type { IEditorOptions, IResourceEditorInput, ITextResourceEditorInput } from "vscode/vscode/vs/platform/editor/common/editor";
6
- import type { ICodeEditor, IDiffEditor } from "vscode/vscode/vs/editor/browser/editorBrowser";
7
- import { type IEditorGroupView } from "vscode/vscode/vs/workbench/browser/parts/editor/editor";
8
- import { type IResolvedTextEditorModel, ITextModelService } from "vscode/vscode/vs/editor/common/services/resolverService";
9
- import { type IStandaloneCodeEditor } from "vscode/vscode/vs/editor/standalone/browser/standaloneCodeEditor";
10
- import { Disposable, type IDisposable, type IReference } from "vscode/vscode/vs/base/common/lifecycle";
1
+ import { type PreferredGroup } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService";
2
+ import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
3
+ import { type EditorInputWithOptions, type IActiveEditorChangeEvent, type IEditorCloseEvent, type IEditorControl, type IEditorPane, type IEditorWillOpenEvent, type IResourceDiffEditorInput, type ITextDiffEditorPane, type IUntitledTextResourceEditorInput, type IUntypedEditorInput, type IVisibleEditorPane } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
4
+ import { EditorInput } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor/editorInput";
5
+ import type { IEditorOptions, IResourceEditorInput, ITextResourceEditorInput } from "@codingame/monaco-vscode-api/vscode/vs/platform/editor/common/editor";
6
+ import type { ICodeEditor, IDiffEditor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorBrowser";
7
+ import { type IEditorGroupView } from "@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/editor/editor";
8
+ import { type IResolvedTextEditorModel, ITextModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService";
9
+ import { type IStandaloneCodeEditor } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneCodeEditor";
10
+ import { Disposable, type IDisposable, type IReference } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
11
11
  import { EditorService } from "@codingame/monaco-vscode-b8988f79-16c1-5bff-b0e7-699bab3431da-common/vscode/vs/workbench/services/editor/browser/editorService";
12
- import { type IAuxiliaryEditorPart, type IEditorDropTargetDelegate, type IEditorPart, type IActiveEditorActions, type IEditorGroup, type IEditorWorkingSet, type IEditorGroupContextKeyProvider } from "vscode/vscode/vs/workbench/services/editor/common/editorGroupsService";
13
- import { IEditorGroupsService } from "vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service";
14
- import { IInstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
15
- import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
16
- import { IWorkspaceTrustRequestService } from "vscode/vscode/vs/platform/workspace/common/workspaceTrust.service";
17
- import { IEditorResolverService } from "vscode/vscode/vs/workbench/services/editor/common/editorResolverService.service";
18
- import { IUriIdentityService } from "vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
19
- import { IWorkspaceContextService } from "vscode/vscode/vs/platform/workspace/common/workspace.service";
20
- import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
21
- import { ITextEditorService } from "vscode/vscode/vs/workbench/services/textfile/common/textEditorService.service";
22
- import { IHostService } from "vscode/vscode/vs/workbench/services/host/browser/host.service";
23
- import { Emitter, Event } from "vscode/vscode/vs/base/common/event";
12
+ import { type IAuxiliaryEditorPart, type IEditorDropTargetDelegate, type IEditorPart, type IActiveEditorActions, type IEditorGroup, type IEditorWorkingSet, type IEditorGroupContextKeyProvider } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService";
13
+ import { IEditorGroupsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service";
14
+ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
15
+ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
16
+ import { IWorkspaceTrustRequestService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspaceTrust.service";
17
+ import { IEditorResolverService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorResolverService.service";
18
+ import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
19
+ import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
20
+ import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
21
+ import { ITextEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textEditorService.service";
22
+ import { IHostService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service";
23
+ import { Emitter, Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
24
24
  import { TextResourceEditorInput } from "@codingame/monaco-vscode-0139c6af-2375-559c-af57-b738f2fd6d8e-common/vscode/vs/workbench/common/editor/textResourceEditorInput";
25
- import { IContextKeyService } from "vscode/vscode/vs/platform/contextkey/common/contextkey.service";
26
- import { URI } from "vscode/vscode/vs/base/common/uri";
25
+ import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
26
+ import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
27
27
  import type { IGroupModelChangeEvent } from "@codingame/monaco-vscode-c3c61c00-c254-5856-9dc9-d7929c1f9062-common/vscode/vs/workbench/common/editor/editorGroupModel";
28
- import type { EditorLayoutInfo } from "vscode/vscode/vs/editor/common/config/editorOptions";
29
- import type { IRectangle } from "vscode/vscode/vs/platform/window/common/window";
30
- import type { ContextKeyValue } from "vscode/vscode/vs/platform/contextkey/common/contextkey";
31
- import { unsupported } from "vscode/tools";
28
+ import type { EditorLayoutInfo } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/config/editorOptions";
29
+ import type { IRectangle } from "@codingame/monaco-vscode-api/vscode/vs/platform/window/common/window";
30
+ import type { ContextKeyValue } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
31
+ import { unsupported } from "@codingame/monaco-vscode-api/tools";
32
32
  export type OpenEditor = (modelRef: IReference<IResolvedTextEditorModel>, options: IEditorOptions | undefined, sideBySide?: boolean) => Promise<ICodeEditor | undefined>;
33
33
  declare class EmptyEditorGroup implements IEditorGroup, IEditorGroupView {
34
34
  selectedEditors: never[];
@@ -281,6 +281,6 @@ export declare class MonacoDelegateEditorGroupsService<D extends IEditorGroupsSe
281
281
  mergeGroup: IEditorGroupsService["mergeGroup"];
282
282
  mergeAllGroups: IEditorGroupsService["mergeAllGroups"];
283
283
  copyGroup: IEditorGroupsService["copyGroup"];
284
- onDidChangeEditorPartOptions: Event<import("vscode/vscode/vs/workbench/common/editor").IEditorPartOptionsChangeEvent>;
284
+ onDidChangeEditorPartOptions: Event<import("@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor").IEditorPartOptionsChangeEvent>;
285
285
  }
286
286
  export {};