@codingame/monaco-vscode-keybindings-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 +4 -4
- package/index.js +23 -23
- package/package.json +11 -10
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.d.ts +1 -1
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +4 -4
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardMapper.d.ts +2 -2
- package/vscode/src/vs/workbench/browser/contextkeys.d.ts +11 -11
- package/vscode/src/vs/workbench/browser/contextkeys.js +25 -25
- package/vscode/src/vs/workbench/contrib/commands/common/commands.contribution.js +6 -6
- package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +6 -6
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditorContribution.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditorContribution.js +17 -17
- package/vscode/src/vs/workbench/contrib/preferences/common/smartSnippetInserter.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/common/smartSnippetInserter.js +3 -3
- package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.d.ts +4 -4
- package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +17 -17
- package/vscode/src/vs/workbench/services/commands/common/commandService.d.ts +7 -7
- package/vscode/src/vs/workbench/services/commands/common/commandService.js +9 -9
- package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.d.ts +16 -16
- package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +42 -42
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.d.ts +10 -10
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +19 -19
- package/vscode/src/vs/workbench/services/keybinding/common/keybindingIO.d.ts +3 -3
- package/vscode/src/vs/workbench/services/keybinding/common/keybindingIO.js +1 -1
- package/vscode/src/vs/workbench/services/keybinding/common/keymapInfo.js +1 -1
- package/vscode/src/vs/workbench/services/keybinding/common/macLinuxKeyboardMapper.d.ts +4 -4
- package/vscode/src/vs/workbench/services/keybinding/common/macLinuxKeyboardMapper.js +5 -5
- package/vscode/src/vs/workbench/services/keybinding/common/windowsKeyboardMapper.d.ts +4 -4
- package/vscode/src/vs/workbench/services/keybinding/common/windowsKeyboardMapper.js +7 -7
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { IEditorOverrideServices } from "vscode/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
2
|
-
import type { IUserFriendlyKeybinding } from "vscode/vscode/vs/platform/keybinding/common/keybinding";
|
|
3
|
-
import type { IFileWriteOptions } from "vscode/vscode/vs/platform/files/common/files";
|
|
4
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
1
|
+
import type { IEditorOverrideServices } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
2
|
+
import type { IUserFriendlyKeybinding } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding";
|
|
3
|
+
import type { IFileWriteOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files";
|
|
4
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
5
5
|
declare const defaultUserKeybindindsFile: URI;
|
|
6
6
|
/**
|
|
7
7
|
* Should be called only BEFORE the service are initialized to initialize the file on the filesystem before the keybindings service initializes
|
package/index.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
4
4
|
import { WorkbenchKeybindingService } from './vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js';
|
|
5
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
6
|
-
import { VSBuffer } from 'vscode/vscode/vs/base/common/buffer';
|
|
7
|
-
import { IUserDataProfilesService } from 'vscode/vscode/vs/platform/userDataProfile/common/userDataProfile.service';
|
|
8
|
-
import { IKeyboardLayoutService } from 'vscode/vscode/vs/platform/keyboardLayout/common/keyboardLayout.service';
|
|
5
|
+
import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
6
|
+
import { VSBuffer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
|
|
7
|
+
import { IUserDataProfilesService } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile.service';
|
|
8
|
+
import { IKeyboardLayoutService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keyboardLayout/common/keyboardLayout.service';
|
|
9
9
|
import { BrowserKeyboardLayoutService } from './vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js';
|
|
10
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
11
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
10
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
11
|
+
import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
|
|
12
12
|
import { CommandService } from './vscode/src/vs/workbench/services/commands/common/commandService.js';
|
|
13
|
-
import { DisposableStore, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
14
|
-
import 'vscode/vscode/vs/platform/keybinding/common/keybindingResolver';
|
|
15
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
16
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
17
|
-
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
18
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
19
|
-
import { IUserDataProfileService } from 'vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
|
|
20
|
-
import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host.service';
|
|
21
|
-
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
22
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
13
|
+
import { DisposableStore, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
14
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingResolver';
|
|
15
|
+
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
16
|
+
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
17
|
+
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
18
|
+
import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
|
|
19
|
+
import { IUserDataProfileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
|
|
20
|
+
import { IHostService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service';
|
|
21
|
+
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
22
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
23
23
|
import { WorkbenchContextKeysHandler } from './vscode/src/vs/workbench/browser/contextkeys.js';
|
|
24
|
-
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
25
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
26
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
24
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
25
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
26
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
27
27
|
import getServiceOverride$1, { initFile } from '@codingame/monaco-vscode-files-service-override';
|
|
28
|
-
import { onRenderWorkbench } from 'vscode/lifecycle';
|
|
28
|
+
import { onRenderWorkbench } from '@codingame/monaco-vscode-api/lifecycle';
|
|
29
29
|
import '@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common/vscode/vs/workbench/browser/workbench.contribution';
|
|
30
30
|
import './vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js';
|
|
31
31
|
import './vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditorContribution.js';
|
|
32
32
|
import './vscode/src/vs/workbench/contrib/commands/common/commands.contribution.js';
|
|
33
|
-
import { getService } from 'vscode/services';
|
|
33
|
+
import { getService } from '@codingame/monaco-vscode-api/services';
|
|
34
34
|
|
|
35
35
|
const defaultUserKeybindindsFile = URI.from({
|
|
36
36
|
scheme: Schemas.vscodeUserData,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-keybindings-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - keybindings service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,16 +15,17 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-2a22c7b4-b906-5914-8cd1-3ed912fb738f-common": "
|
|
19
|
-
"@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common": "
|
|
20
|
-
"@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common": "
|
|
21
|
-
"@codingame/monaco-vscode-d609a7d3-bf87-551a-884f-550a8b327ec5-common": "
|
|
22
|
-
"@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "
|
|
23
|
-
"@codingame/monaco-vscode-e571cbbb-526b-5d8b-92c5-a0437d2dabb3-common": "
|
|
24
|
-
"@codingame/monaco-vscode-files-service-override": "
|
|
25
|
-
|
|
18
|
+
"@codingame/monaco-vscode-2a22c7b4-b906-5914-8cd1-3ed912fb738f-common": "13.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common": "13.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common": "13.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-d609a7d3-bf87-551a-884f-550a8b327ec5-common": "13.0.0",
|
|
22
|
+
"@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "13.0.0",
|
|
23
|
+
"@codingame/monaco-vscode-e571cbbb-526b-5d8b-92c5-a0437d2dabb3-common": "13.0.0",
|
|
24
|
+
"@codingame/monaco-vscode-files-service-override": "13.0.0"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"@codingame/monaco-vscode-api": "13.0.0"
|
|
26
28
|
},
|
|
27
|
-
"peerDependencies": {},
|
|
28
29
|
"peerDependenciesMeta": {},
|
|
29
30
|
"main": "index.js",
|
|
30
31
|
"module": "index.js",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
|
|
1
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
2
2
|
export declare enum DispatchConfig {
|
|
3
3
|
Code = 0,
|
|
4
4
|
KeyCode = 1
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
3
|
-
import { OS, OperatingSystem } from 'vscode/vscode/vs/base/common/platform';
|
|
4
|
-
import { Extensions, ConfigurationScope } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
5
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
2
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
3
|
+
import { OS, OperatingSystem } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
4
|
+
import { Extensions, ConfigurationScope } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
5
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
6
6
|
|
|
7
7
|
var DispatchConfig;
|
|
8
8
|
(function (DispatchConfig) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ResolvedKeybinding, Keybinding } from "vscode/vscode/vs/base/common/keybindings";
|
|
2
|
-
import { IKeyboardEvent } from "vscode/vscode/vs/platform/keybinding/common/keybinding";
|
|
1
|
+
import { ResolvedKeybinding, Keybinding } from "@codingame/monaco-vscode-api/vscode/vs/base/common/keybindings";
|
|
2
|
+
import { IKeyboardEvent } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding";
|
|
3
3
|
export interface IKeyboardMapper {
|
|
4
4
|
dumpDebugInfo(): string;
|
|
5
5
|
resolveKeyboardEvent(keyboardEvent: IKeyboardEvent): ResolvedKeybinding;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { IContextKeyService } from "vscode/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
3
|
-
import { IEditorGroupsService } from "vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service";
|
|
4
|
-
import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
|
|
5
|
-
import { IWorkbenchEnvironmentService } from "vscode/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
6
|
-
import { IWorkspaceContextService } from "vscode/vscode/vs/platform/workspace/common/workspace.service";
|
|
7
|
-
import { IWorkbenchLayoutService } from "vscode/vscode/vs/workbench/services/layout/browser/layoutService.service";
|
|
8
|
-
import { IWorkingCopyService } from "vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service";
|
|
9
|
-
import { IPaneCompositePartService } from "vscode/vscode/vs/workbench/services/panecomposite/browser/panecomposite.service";
|
|
10
|
-
import { IProductService } from "vscode/vscode/vs/platform/product/common/productService.service";
|
|
11
|
-
import { IEditorService } from "vscode/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
1
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
+
import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
3
|
+
import { IEditorGroupsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service";
|
|
4
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
5
|
+
import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
6
|
+
import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
|
|
7
|
+
import { IWorkbenchLayoutService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService.service";
|
|
8
|
+
import { IWorkingCopyService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service";
|
|
9
|
+
import { IPaneCompositePartService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/panecomposite/browser/panecomposite.service";
|
|
10
|
+
import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service";
|
|
11
|
+
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
12
12
|
export declare class WorkbenchContextKeysHandler extends Disposable {
|
|
13
13
|
private readonly contextKeyService;
|
|
14
14
|
private readonly contextService;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
4
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
|
-
import { setConstant } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
6
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
7
|
-
import { IsMacContext, IsLinuxContext, IsWindowsContext, IsWebContext, IsMacNativeContext, IsIOSContext, IsMobileContext, IsDevelopmentContext, ProductQualityContext, InputFocusedContext } from 'vscode/vscode/vs/platform/contextkey/common/contextkeys';
|
|
8
|
-
import { RemoteNameContext, VirtualWorkspaceContext, TemporaryWorkspaceContext, HasWebFileSystemAccess, EmbedderIdentifierContext, ActiveEditorGroupEmptyContext, ActiveEditorGroupIndexContext, ActiveEditorGroupLastContext, ActiveEditorGroupLockedContext, MultipleEditorGroupsContext, EditorsVisibleContext, DirtyWorkingCopiesContext, WorkbenchStateContext, WorkspaceFolderCountContext, OpenFolderWorkspaceSupportContext, EmptyWorkspaceSupportContext, EnterMultiRootWorkspaceSupportContext, SplitEditorsVertically, IsMainWindowFullscreenContext, IsAuxiliaryWindowFocusedContext, InEditorZenModeContext, IsMainEditorCenteredLayoutContext, MainEditorAreaVisibleContext, EditorTabsVisibleContext, SideBarVisibleContext, TitleBarVisibleContext, TitleBarStyleContext, PanelPositionContext, PanelVisibleContext, PanelMaximizedContext, PanelAlignmentContext, AuxiliaryBarVisibleContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
|
|
9
|
-
import { onDidRegisterWindow, addDisposableListener, EventType, isEditableElement, trackFocus, getActiveWindow } from 'vscode/vscode/vs/base/browser/dom';
|
|
10
|
-
import { preferredSideBySideGroupDirection, GroupDirection } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
11
|
-
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
12
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
13
|
-
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
14
|
-
import { WorkbenchState, isTemporaryWorkspace } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
15
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
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 { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
5
|
+
import { setConstant } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
6
|
+
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
7
|
+
import { IsMacContext, IsLinuxContext, IsWindowsContext, IsWebContext, IsMacNativeContext, IsIOSContext, IsMobileContext, IsDevelopmentContext, ProductQualityContext, InputFocusedContext } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkeys';
|
|
8
|
+
import { RemoteNameContext, VirtualWorkspaceContext, TemporaryWorkspaceContext, HasWebFileSystemAccess, EmbedderIdentifierContext, ActiveEditorGroupEmptyContext, ActiveEditorGroupIndexContext, ActiveEditorGroupLastContext, ActiveEditorGroupLockedContext, MultipleEditorGroupsContext, EditorsVisibleContext, DirtyWorkingCopiesContext, WorkbenchStateContext, WorkspaceFolderCountContext, OpenFolderWorkspaceSupportContext, EmptyWorkspaceSupportContext, EnterMultiRootWorkspaceSupportContext, SplitEditorsVertically, IsMainWindowFullscreenContext, IsAuxiliaryWindowFocusedContext, InEditorZenModeContext, IsMainEditorCenteredLayoutContext, MainEditorAreaVisibleContext, EditorTabsVisibleContext, SideBarVisibleContext, TitleBarVisibleContext, TitleBarStyleContext, PanelPositionContext, PanelVisibleContext, PanelMaximizedContext, PanelAlignmentContext, AuxiliaryBarVisibleContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
9
|
+
import { onDidRegisterWindow, addDisposableListener, EventType, isEditableElement, trackFocus, getActiveWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
10
|
+
import { preferredSideBySideGroupDirection, GroupDirection } 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 { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
13
|
+
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
14
|
+
import { WorkbenchState, isTemporaryWorkspace } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace';
|
|
15
|
+
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
16
16
|
import { positionToString, Parts } from '@codingame/monaco-vscode-e571cbbb-526b-5d8b-92c5-a0437d2dabb3-common/vscode/vs/workbench/services/layout/browser/layoutService';
|
|
17
|
-
import { IWorkbenchLayoutService } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService.service';
|
|
18
|
-
import { getRemoteName } from 'vscode/vscode/vs/platform/remote/common/remoteHosts';
|
|
17
|
+
import { IWorkbenchLayoutService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService.service';
|
|
18
|
+
import { getRemoteName } from '@codingame/monaco-vscode-api/vscode/vs/platform/remote/common/remoteHosts';
|
|
19
19
|
import { getVirtualWorkspaceScheme } from '@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common/vscode/vs/platform/workspace/common/virtualWorkspace';
|
|
20
|
-
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
|
|
21
|
-
import { isNative } from 'vscode/vscode/vs/base/common/platform';
|
|
22
|
-
import { IPaneCompositePartService } from 'vscode/vscode/vs/workbench/services/panecomposite/browser/panecomposite.service';
|
|
23
|
-
import { WebFileSystemAccess } from 'vscode/vscode/vs/platform/files/browser/webFileSystemAccess';
|
|
24
|
-
import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService.service';
|
|
25
|
-
import { getTitleBarStyle } from 'vscode/vscode/vs/platform/window/common/window';
|
|
26
|
-
import { mainWindow } from 'vscode/vscode/vs/base/browser/window';
|
|
27
|
-
import { onDidChangeFullscreen, isFullscreen } from 'vscode/vscode/vs/base/browser/browser';
|
|
28
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
20
|
+
import { IWorkingCopyService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
|
|
21
|
+
import { isNative } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
22
|
+
import { IPaneCompositePartService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/panecomposite/browser/panecomposite.service';
|
|
23
|
+
import { WebFileSystemAccess } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/browser/webFileSystemAccess';
|
|
24
|
+
import { IProductService } from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service';
|
|
25
|
+
import { getTitleBarStyle } from '@codingame/monaco-vscode-api/vscode/vs/platform/window/common/window';
|
|
26
|
+
import { mainWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/window';
|
|
27
|
+
import { onDidChangeFullscreen, isFullscreen } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/browser';
|
|
28
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
29
29
|
|
|
30
30
|
let WorkbenchContextKeysHandler = class WorkbenchContextKeysHandler extends Disposable {
|
|
31
31
|
constructor(contextKeyService, contextService, configurationService, environmentService, productService, editorGroupService, editorService, layoutService, paneCompositeService, workingCopyService) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { safeStringify } from 'vscode/vscode/vs/base/common/objects';
|
|
3
|
-
import { localize2, localize } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { Action2, registerAction2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
5
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
6
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
7
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
2
|
+
import { safeStringify } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objects';
|
|
3
|
+
import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { Action2, registerAction2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
5
|
+
import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
|
|
6
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
7
|
+
import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
|
|
8
8
|
|
|
9
9
|
class RunCommands extends Action2 {
|
|
10
10
|
constructor() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { localize2 } from 'vscode/vscode/vs/nls';
|
|
3
|
-
import { Action2, registerAction2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
4
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
5
|
-
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
6
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
7
|
-
import { showWindowLogActionId } from 'vscode/vscode/vs/workbench/services/log/common/logConstants';
|
|
2
|
+
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
3
|
+
import { Action2, registerAction2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
4
|
+
import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
5
|
+
import { Categories } from '@codingame/monaco-vscode-api/vscode/vs/platform/action/common/actionCommonCategories';
|
|
6
|
+
import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
|
|
7
|
+
import { showWindowLogActionId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/log/common/logConstants';
|
|
8
8
|
|
|
9
9
|
class ToggleKeybindingsLogAction extends Action2 {
|
|
10
10
|
constructor() {
|
package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditorContribution.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { IKeybindingService } from "vscode/vscode/vs/platform/keybinding/common/keybinding.service";
|
|
3
|
-
import { ICodeEditor } from "vscode/vscode/vs/editor/browser/editorBrowser";
|
|
1
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
+
import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
|
|
3
|
+
import { ICodeEditor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorBrowser";
|
|
4
4
|
export declare class KeybindingEditorDecorationsRenderer extends Disposable {
|
|
5
5
|
private _editor;
|
|
6
6
|
private readonly _keybindingService;
|
package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditorContribution.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
|
|
5
|
-
import { MarkdownString } from 'vscode/vscode/vs/base/common/htmlContent';
|
|
6
|
-
import { Disposable, MutableDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
7
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
8
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
9
|
-
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
10
|
-
import { registerEditorContribution, EditorContributionInstantiation } from 'vscode/vscode/vs/editor/browser/editorExtensions';
|
|
11
|
-
import { SnippetController2 } from 'vscode/vscode/vs/editor/contrib/snippet/browser/snippetController2';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
5
|
+
import { MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
|
|
6
|
+
import { Disposable, MutableDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
7
|
+
import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
8
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
9
|
+
import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
|
|
10
|
+
import { registerEditorContribution, EditorContributionInstantiation } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions';
|
|
11
|
+
import { SnippetController2 } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/snippet/browser/snippetController2';
|
|
12
12
|
import { SmartSnippetInserter } from '../common/smartSnippetInserter.js';
|
|
13
13
|
import { DefineKeybindingOverlayWidget } from '@codingame/monaco-vscode-d609a7d3-bf87-551a-884f-550a8b327ec5-common/vscode/vs/workbench/contrib/preferences/browser/keybindingWidgets';
|
|
14
|
-
import { parseTree } from 'vscode/vscode/vs/base/common/json';
|
|
14
|
+
import { parseTree } from '@codingame/monaco-vscode-api/vscode/vs/base/common/json';
|
|
15
15
|
import { WindowsNativeResolvedKeybinding } from '../../../services/keybinding/common/windowsKeyboardMapper.js';
|
|
16
|
-
import { themeColorFromId } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
17
|
-
import { overviewRulerError, overviewRulerInfo } from 'vscode/vscode/vs/editor/common/core/editorColorRegistry';
|
|
18
|
-
import { TrackedRangeStickiness, OverviewRulerLane } from 'vscode/vscode/vs/editor/common/model';
|
|
16
|
+
import { themeColorFromId } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService';
|
|
17
|
+
import { overviewRulerError, overviewRulerInfo } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/editorColorRegistry';
|
|
18
|
+
import { TrackedRangeStickiness, OverviewRulerLane } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/model';
|
|
19
19
|
import { KeybindingParser } from '@codingame/monaco-vscode-2a22c7b4-b906-5914-8cd1-3ed912fb738f-common/vscode/vs/base/common/keybindingParser';
|
|
20
|
-
import { assertIsDefined } from 'vscode/vscode/vs/base/common/types';
|
|
21
|
-
import { isEqual } from 'vscode/vscode/vs/base/common/resources';
|
|
22
|
-
import { IUserDataProfileService } from 'vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
|
|
20
|
+
import { assertIsDefined } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
|
|
21
|
+
import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
22
|
+
import { IUserDataProfileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
|
|
23
23
|
import { DEFINE_KEYBINDING_EDITOR_CONTRIB_ID } from '@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common/vscode/vs/workbench/services/preferences/common/preferences';
|
|
24
24
|
|
|
25
25
|
var KeybindingEditorDecorationsRenderer_1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Position } from "vscode/vscode/vs/editor/common/core/position";
|
|
2
|
-
import { ITextModel } from "vscode/vscode/vs/editor/common/model";
|
|
1
|
+
import { Position } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/core/position";
|
|
2
|
+
import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model";
|
|
3
3
|
export interface InsertSnippetResult {
|
|
4
4
|
position: Position;
|
|
5
5
|
prepend: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { SyntaxKind, createScanner } from 'vscode/vscode/vs/base/common/json';
|
|
3
|
-
import { Position } from 'vscode/vscode/vs/editor/common/core/position';
|
|
4
|
-
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
2
|
+
import { SyntaxKind, createScanner } from '@codingame/monaco-vscode-api/vscode/vs/base/common/json';
|
|
3
|
+
import { Position } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/position';
|
|
4
|
+
import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
|
|
5
5
|
|
|
6
6
|
class SmartSnippetInserter {
|
|
7
7
|
static hasOpenBrace(scanner) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IJSONSchema } from "vscode/vscode/vs/base/common/jsonSchema";
|
|
2
|
-
import { ExtensionMessageCollector } from "vscode/vscode/vs/workbench/services/extensions/common/extensionsRegistry";
|
|
3
|
-
import { ILocalizedString } from "vscode/vscode/vs/platform/action/common/action";
|
|
1
|
+
import { IJSONSchema } from "@codingame/monaco-vscode-api/vscode/vs/base/common/jsonSchema";
|
|
2
|
+
import { ExtensionMessageCollector } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensionsRegistry";
|
|
3
|
+
import { ILocalizedString } from "@codingame/monaco-vscode-api/vscode/vs/platform/action/common/action";
|
|
4
4
|
declare namespace schema {
|
|
5
5
|
interface IUserFriendlyMenuItem {
|
|
6
6
|
command: string;
|
|
@@ -40,5 +40,5 @@ declare namespace schema {
|
|
|
40
40
|
function isValidCommand(command: IUserFriendlyCommand, collector: ExtensionMessageCollector): boolean;
|
|
41
41
|
const commandsContribution: IJSONSchema;
|
|
42
42
|
}
|
|
43
|
-
export declare const commandsExtensionPoint: import("vscode/vscode/vs/workbench/services/extensions/common/extensionsRegistry").IExtensionPoint<schema.IUserFriendlyCommand | schema.IUserFriendlyCommand[]>;
|
|
43
|
+
export declare const commandsExtensionPoint: import("@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensionsRegistry").IExtensionPoint<schema.IUserFriendlyCommand | schema.IUserFriendlyCommand[]>;
|
|
44
44
|
export {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { isFalsyOrWhitespace } from 'vscode/vscode/vs/base/common/strings';
|
|
5
|
-
import { joinPath } from 'vscode/vscode/vs/base/common/resources';
|
|
6
|
-
import { ExtensionsRegistry } from 'vscode/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
|
|
7
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
8
|
-
import { MenuId, MenuRegistry } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
9
|
-
import { DisposableStore, Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
10
|
-
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
11
|
-
import { index } from 'vscode/vscode/vs/base/common/arrays';
|
|
12
|
-
import { isProposedApiEnabled } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
13
|
-
import { Extensions } from 'vscode/vscode/vs/workbench/services/extensionManagement/common/extensionFeatures';
|
|
14
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
15
|
-
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
16
|
-
import { platform } from 'vscode/vscode/vs/base/common/process';
|
|
17
|
-
import { MarkdownString } from 'vscode/vscode/vs/base/common/htmlContent';
|
|
18
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { isFalsyOrWhitespace } from '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
|
|
5
|
+
import { joinPath } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
6
|
+
import { ExtensionsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
|
|
7
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
8
|
+
import { MenuId, MenuRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
9
|
+
import { DisposableStore, Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
10
|
+
import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
11
|
+
import { index } from '@codingame/monaco-vscode-api/vscode/vs/base/common/arrays';
|
|
12
|
+
import { isProposedApiEnabled } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions';
|
|
13
|
+
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensionManagement/common/extensionFeatures';
|
|
14
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
15
|
+
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
16
|
+
import { platform } from '@codingame/monaco-vscode-api/vscode/vs/base/common/process';
|
|
17
|
+
import { MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
|
|
18
|
+
import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
19
19
|
|
|
20
20
|
const apiMenus = [
|
|
21
21
|
{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IInstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
|
|
2
|
-
import { ICommandEvent } from "vscode/vscode/vs/platform/commands/common/commands";
|
|
3
|
-
import { ICommandService } from "vscode/vscode/vs/platform/commands/common/commands.service";
|
|
4
|
-
import { IExtensionService } from "vscode/vscode/vs/workbench/services/extensions/common/extensions.service";
|
|
5
|
-
import { Event } from "vscode/vscode/vs/base/common/event";
|
|
6
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
7
|
-
import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
|
|
1
|
+
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
2
|
+
import { ICommandEvent } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands";
|
|
3
|
+
import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
|
|
4
|
+
import { IExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service";
|
|
5
|
+
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
6
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
7
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
8
8
|
export declare class CommandService extends Disposable implements ICommandService {
|
|
9
9
|
private readonly _instantiationService;
|
|
10
10
|
private readonly _extensionService;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
4
|
-
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
5
|
-
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
6
|
-
import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
7
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
8
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
9
|
-
import 'vscode/vscode/vs/platform/instantiation/common/extensions';
|
|
10
|
-
import { timeout } from 'vscode/vscode/vs/base/common/async';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
4
|
+
import { CommandsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands';
|
|
5
|
+
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
6
|
+
import { Emitter, Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
7
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
8
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
9
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
10
|
+
import { timeout } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
11
11
|
|
|
12
12
|
let CommandService = class CommandService extends Disposable {
|
|
13
13
|
constructor(_instantiationService, _extensionService, _logService) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Keybinding, ResolvedKeybinding } from "vscode/vscode/vs/base/common/keybindings";
|
|
2
|
-
import { ICommandService } from "vscode/vscode/vs/platform/commands/common/commands.service";
|
|
3
|
-
import { IContextKeyService } from "vscode/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
4
|
-
import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
|
|
5
|
-
import { AbstractKeybindingService } from "vscode/vscode/vs/platform/keybinding/common/abstractKeybindingService";
|
|
6
|
-
import { IKeyboardEvent, KeybindingsSchemaContribution } from "vscode/vscode/vs/platform/keybinding/common/keybinding";
|
|
7
|
-
import { KeybindingResolver } from "vscode/vscode/vs/platform/keybinding/common/keybindingResolver";
|
|
8
|
-
import { ResolvedKeybindingItem } from "vscode/vscode/vs/platform/keybinding/common/resolvedKeybindingItem";
|
|
9
|
-
import { IKeyboardLayoutService } from "vscode/vscode/vs/platform/keyboardLayout/common/keyboardLayout.service";
|
|
10
|
-
import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
|
|
11
|
-
import { INotificationService } from "vscode/vscode/vs/platform/notification/common/notification.service";
|
|
12
|
-
import { ITelemetryService } from "vscode/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
13
|
-
import { IUriIdentityService } from "vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
14
|
-
import { IExtensionService } from "vscode/vscode/vs/workbench/services/extensions/common/extensions.service";
|
|
15
|
-
import { IHostService } from "vscode/vscode/vs/workbench/services/host/browser/host.service";
|
|
16
|
-
import { IUserDataProfileService } from "vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
|
|
1
|
+
import { Keybinding, ResolvedKeybinding } from "@codingame/monaco-vscode-api/vscode/vs/base/common/keybindings";
|
|
2
|
+
import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
|
|
3
|
+
import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
4
|
+
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
5
|
+
import { AbstractKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/abstractKeybindingService";
|
|
6
|
+
import { IKeyboardEvent, KeybindingsSchemaContribution } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding";
|
|
7
|
+
import { KeybindingResolver } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingResolver";
|
|
8
|
+
import { ResolvedKeybindingItem } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/resolvedKeybindingItem";
|
|
9
|
+
import { IKeyboardLayoutService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keyboardLayout/common/keyboardLayout.service";
|
|
10
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
11
|
+
import { INotificationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service";
|
|
12
|
+
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
13
|
+
import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
14
|
+
import { IExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service";
|
|
15
|
+
import { IHostService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service";
|
|
16
|
+
import { IUserDataProfileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service";
|
|
17
17
|
export declare class WorkbenchKeybindingService extends AbstractKeybindingService {
|
|
18
18
|
private readonly hostService;
|
|
19
19
|
private readonly keyboardLayoutService;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { onDidChangeFullscreen, isFullscreen } from 'vscode/vscode/vs/base/browser/browser';
|
|
5
|
-
import { BrowserFeatures, KeyboardSupport } from 'vscode/vscode/vs/base/browser/canIUse';
|
|
6
|
-
import { onDidRegisterWindow, addDisposableListener, EventType, trackFocus, getWindow } from 'vscode/vscode/vs/base/browser/dom';
|
|
7
|
-
import { StandardKeyboardEvent, printKeyboardEvent, printStandardKeyboardEvent } from 'vscode/vscode/vs/base/browser/keyboardEvent';
|
|
8
|
-
import { DeferredPromise, RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
|
|
9
|
-
import { Event, Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
10
|
-
import { parse } from 'vscode/vscode/vs/base/common/json';
|
|
11
|
-
import { UserSettingsLabelProvider } from 'vscode/vscode/vs/base/common/keybindingLabels';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { onDidChangeFullscreen, isFullscreen } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/browser';
|
|
5
|
+
import { BrowserFeatures, KeyboardSupport } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/canIUse';
|
|
6
|
+
import { onDidRegisterWindow, addDisposableListener, EventType, trackFocus, getWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
7
|
+
import { StandardKeyboardEvent, printKeyboardEvent, printStandardKeyboardEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/keyboardEvent';
|
|
8
|
+
import { DeferredPromise, RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
9
|
+
import { Event, Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
10
|
+
import { parse } from '@codingame/monaco-vscode-api/vscode/vs/base/common/json';
|
|
11
|
+
import { UserSettingsLabelProvider } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keybindingLabels';
|
|
12
12
|
import { KeybindingParser } from '@codingame/monaco-vscode-2a22c7b4-b906-5914-8cd1-3ed912fb738f-common/vscode/vs/base/common/keybindingParser';
|
|
13
|
-
import { KeyCodeChord, ScanCodeChord } from 'vscode/vscode/vs/base/common/keybindings';
|
|
14
|
-
import { ScanCode, KeyCode, KeyCodeUtils, ScanCodeUtils, KeyMod, IMMUTABLE_CODE_TO_KEY_CODE } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
15
|
-
import { DisposableStore, Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
16
|
-
import { equals } from 'vscode/vscode/vs/base/common/objects';
|
|
17
|
-
import { OS, OperatingSystem, isMacintosh } from 'vscode/vscode/vs/base/common/platform';
|
|
18
|
-
import { dirname } from 'vscode/vscode/vs/base/common/resources';
|
|
19
|
-
import { mainWindow } from 'vscode/vscode/vs/base/browser/window';
|
|
20
|
-
import { MenuRegistry } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
21
|
-
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
22
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
23
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
24
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
25
|
-
import { FileOperation } from 'vscode/vscode/vs/platform/files/common/files';
|
|
26
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
27
|
-
import 'vscode/vscode/vs/platform/instantiation/common/extensions';
|
|
28
|
-
import { Extensions } from 'vscode/vscode/vs/platform/jsonschemas/common/jsonContributionRegistry';
|
|
29
|
-
import { AbstractKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/abstractKeybindingService';
|
|
30
|
-
import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
31
|
-
import { KeybindingResolver } from 'vscode/vscode/vs/platform/keybinding/common/keybindingResolver';
|
|
32
|
-
import { KeybindingsRegistry, KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
33
|
-
import { ResolvedKeybindingItem } from 'vscode/vscode/vs/platform/keybinding/common/resolvedKeybindingItem';
|
|
34
|
-
import { IKeyboardLayoutService } from 'vscode/vscode/vs/platform/keyboardLayout/common/keyboardLayout.service';
|
|
35
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
36
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
37
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
38
|
-
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
39
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
40
|
-
import { isLocalizedString } from 'vscode/vscode/vs/platform/action/common/action';
|
|
13
|
+
import { KeyCodeChord, ScanCodeChord } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keybindings';
|
|
14
|
+
import { ScanCode, KeyCode, KeyCodeUtils, ScanCodeUtils, KeyMod, IMMUTABLE_CODE_TO_KEY_CODE } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
15
|
+
import { DisposableStore, Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
16
|
+
import { equals } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objects';
|
|
17
|
+
import { OS, OperatingSystem, isMacintosh } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
18
|
+
import { dirname } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
19
|
+
import { mainWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/window';
|
|
20
|
+
import { MenuRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
21
|
+
import { CommandsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands';
|
|
22
|
+
import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
|
|
23
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
24
|
+
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
25
|
+
import { FileOperation } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
|
|
26
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
27
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
28
|
+
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/platform/jsonschemas/common/jsonContributionRegistry';
|
|
29
|
+
import { AbstractKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/abstractKeybindingService';
|
|
30
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
31
|
+
import { KeybindingResolver } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingResolver';
|
|
32
|
+
import { KeybindingsRegistry, KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
33
|
+
import { ResolvedKeybindingItem } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/resolvedKeybindingItem';
|
|
34
|
+
import { IKeyboardLayoutService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keyboardLayout/common/keyboardLayout.service';
|
|
35
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
36
|
+
import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
|
|
37
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
38
|
+
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
39
|
+
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
40
|
+
import { isLocalizedString } from '@codingame/monaco-vscode-api/vscode/vs/platform/action/common/action';
|
|
41
41
|
import { commandsExtensionPoint } from '../../actions/common/menusExtensionPoint.js';
|
|
42
|
-
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
43
|
-
import { ExtensionsRegistry } from 'vscode/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
|
|
44
|
-
import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host.service';
|
|
42
|
+
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
43
|
+
import { ExtensionsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
|
|
44
|
+
import { IHostService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service';
|
|
45
45
|
import { getAllUnboundCommands } from '@codingame/monaco-vscode-d609a7d3-bf87-551a-884f-550a8b327ec5-common/vscode/vs/workbench/services/keybinding/browser/unboundCommands';
|
|
46
46
|
import { OutputBuilder, KeybindingIO } from '../common/keybindingIO.js';
|
|
47
|
-
import { IUserDataProfileService } from 'vscode/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
|
|
47
|
+
import { IUserDataProfileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
|
|
48
48
|
|
|
49
49
|
var WorkbenchKeybindingService_1;
|
|
50
50
|
function isValidContributedKeyBinding(keyBinding, rejects) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Event } from "vscode/vscode/vs/base/common/event";
|
|
2
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
1
|
+
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
2
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
3
3
|
import { KeymapInfo } from "../common/keymapInfo.js";
|
|
4
4
|
import { IKeyboardMapper } from "../../../../platform/keyboardLayout/common/keyboardMapper.js";
|
|
5
|
-
import { IKeyboardEvent } from "vscode/vscode/vs/platform/keybinding/common/keybinding";
|
|
6
|
-
import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
|
|
7
|
-
import { IEnvironmentService } from "vscode/vscode/vs/platform/environment/common/environment.service";
|
|
8
|
-
import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
|
|
9
|
-
import { INotificationService } from "vscode/vscode/vs/platform/notification/common/notification.service";
|
|
10
|
-
import { ICommandService } from "vscode/vscode/vs/platform/commands/common/commands.service";
|
|
11
|
-
import { IStorageService } from "vscode/vscode/vs/platform/storage/common/storage.service";
|
|
5
|
+
import { IKeyboardEvent } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding";
|
|
6
|
+
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
7
|
+
import { IEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/platform/environment/common/environment.service";
|
|
8
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
9
|
+
import { INotificationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service";
|
|
10
|
+
import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
|
|
11
|
+
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
12
12
|
import { IKeyboardLayoutInfo, IKeyboardMapping } from "@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common/vscode/vs/platform/keyboardLayout/common/keyboardLayout";
|
|
13
|
-
import { IKeyboardLayoutService } from "vscode/vscode/vs/platform/keyboardLayout/common/keyboardLayout.service";
|
|
13
|
+
import { IKeyboardLayoutService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keyboardLayout/common/keyboardLayout.service";
|
|
14
14
|
export declare class BrowserKeyboardMapperFactoryBase extends Disposable {
|
|
15
15
|
private readonly _configurationService;
|
|
16
16
|
protected _initialized: boolean;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
5
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { Emitter, Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
5
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
6
6
|
import { KeymapInfo } from '../common/keymapInfo.js';
|
|
7
|
-
import 'vscode/vscode/vs/platform/instantiation/common/extensions';
|
|
7
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
8
8
|
import { readKeyboardConfig, DispatchConfig } from '../../../../platform/keyboardLayout/common/keyboardConfig.js';
|
|
9
9
|
import { CachedKeyboardMapper } from '../../../../platform/keyboardLayout/common/keyboardMapper.js';
|
|
10
|
-
import { OS, OperatingSystem, isWindows, isMacintosh } from 'vscode/vscode/vs/base/common/platform';
|
|
10
|
+
import { OS, OperatingSystem, isWindows, isMacintosh } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
11
11
|
import { WindowsKeyboardMapper } from '../common/windowsKeyboardMapper.js';
|
|
12
|
-
import { FallbackKeyboardMapper } from 'vscode/vscode/vs/workbench/services/keybinding/common/fallbackKeyboardMapper';
|
|
12
|
+
import { FallbackKeyboardMapper } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/keybinding/common/fallbackKeyboardMapper';
|
|
13
13
|
import { MacLinuxKeyboardMapper } from '../common/macLinuxKeyboardMapper.js';
|
|
14
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
15
|
-
import { RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
|
|
16
|
-
import { parse, getNodeType } from 'vscode/vscode/vs/base/common/json';
|
|
17
|
-
import { equals } from 'vscode/vscode/vs/base/common/objects';
|
|
18
|
-
import { IEnvironmentService } from 'vscode/vscode/vs/platform/environment/common/environment.service';
|
|
19
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
20
|
-
import { Extensions } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
21
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
22
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
23
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
24
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
14
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
15
|
+
import { RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
16
|
+
import { parse, getNodeType } from '@codingame/monaco-vscode-api/vscode/vs/base/common/json';
|
|
17
|
+
import { equals } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objects';
|
|
18
|
+
import { IEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/platform/environment/common/environment.service';
|
|
19
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
20
|
+
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
21
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
22
|
+
import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
|
|
23
|
+
import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
|
|
24
|
+
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
25
25
|
import { getKeyboardLayoutId } from '@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common/vscode/vs/platform/keyboardLayout/common/keyboardLayout';
|
|
26
|
-
import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
26
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
27
27
|
|
|
28
28
|
function __variableDynamicImportRuntime0__(path) {
|
|
29
29
|
switch (path) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Keybinding } from "vscode/vscode/vs/base/common/keybindings";
|
|
2
|
-
import { ContextKeyExpression } from "vscode/vscode/vs/platform/contextkey/common/contextkey";
|
|
3
|
-
import { ResolvedKeybindingItem } from "vscode/vscode/vs/platform/keybinding/common/resolvedKeybindingItem";
|
|
1
|
+
import { Keybinding } from "@codingame/monaco-vscode-api/vscode/vs/base/common/keybindings";
|
|
2
|
+
import { ContextKeyExpression } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
|
|
3
|
+
import { ResolvedKeybindingItem } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/resolvedKeybindingItem";
|
|
4
4
|
export interface IUserKeybindingItem {
|
|
5
5
|
keybinding: Keybinding | null;
|
|
6
6
|
command: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { KeybindingParser } from '@codingame/monaco-vscode-2a22c7b4-b906-5914-8cd1-3ed912fb738f-common/vscode/vs/base/common/keybindingParser';
|
|
3
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
3
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
4
4
|
|
|
5
5
|
class KeybindingIO {
|
|
6
6
|
static writeKeybindingItem(out, item) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { isWindows, isLinux } from 'vscode/vscode/vs/base/common/platform';
|
|
2
|
+
import { isWindows, isLinux } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
3
3
|
import { getKeyboardLayoutId } from '@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common/vscode/vs/platform/keyboardLayout/common/keyboardLayout';
|
|
4
4
|
|
|
5
5
|
function deserializeMapping(serializedMapping) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ResolvedKeybinding, KeyCodeChord, SingleModifierChord, ScanCodeChord, Keybinding } from "vscode/vscode/vs/base/common/keybindings";
|
|
2
|
-
import { OperatingSystem } from "vscode/vscode/vs/base/common/platform";
|
|
3
|
-
import { IKeyboardEvent } from "vscode/vscode/vs/platform/keybinding/common/keybinding";
|
|
1
|
+
import { ResolvedKeybinding, KeyCodeChord, SingleModifierChord, ScanCodeChord, Keybinding } from "@codingame/monaco-vscode-api/vscode/vs/base/common/keybindings";
|
|
2
|
+
import { OperatingSystem } from "@codingame/monaco-vscode-api/vscode/vs/base/common/platform";
|
|
3
|
+
import { IKeyboardEvent } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding";
|
|
4
4
|
import { IKeyboardMapper } from "../../../../platform/keyboardLayout/common/keyboardMapper.js";
|
|
5
|
-
import { BaseResolvedKeybinding } from "vscode/vscode/vs/platform/keybinding/common/baseResolvedKeybinding";
|
|
5
|
+
import { BaseResolvedKeybinding } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/baseResolvedKeybinding";
|
|
6
6
|
import { IMacLinuxKeyboardMapping } from "@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common/vscode/vs/platform/keyboardLayout/common/keyboardLayout";
|
|
7
7
|
export declare class NativeResolvedKeybinding extends BaseResolvedKeybinding<ScanCodeChord> {
|
|
8
8
|
private readonly _mapper;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import { CharCode } from 'vscode/vscode/vs/base/common/charCode';
|
|
3
|
-
import { IMMUTABLE_CODE_TO_KEY_CODE, KeyCode, ScanCode, ScanCodeUtils, KeyCodeUtils, IMMUTABLE_KEY_CODE_TO_CODE } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
4
|
-
import { ScanCodeChord, KeyCodeChord } from 'vscode/vscode/vs/base/common/keybindings';
|
|
5
|
-
import { OperatingSystem } from 'vscode/vscode/vs/base/common/platform';
|
|
6
|
-
import { BaseResolvedKeybinding } from 'vscode/vscode/vs/platform/keybinding/common/baseResolvedKeybinding';
|
|
2
|
+
import { CharCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/charCode';
|
|
3
|
+
import { IMMUTABLE_CODE_TO_KEY_CODE, KeyCode, ScanCode, ScanCodeUtils, KeyCodeUtils, IMMUTABLE_KEY_CODE_TO_CODE } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
4
|
+
import { ScanCodeChord, KeyCodeChord } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keybindings';
|
|
5
|
+
import { OperatingSystem } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
6
|
+
import { BaseResolvedKeybinding } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/baseResolvedKeybinding';
|
|
7
7
|
|
|
8
8
|
const CHAR_CODE_TO_KEY_CODE = [];
|
|
9
9
|
class NativeResolvedKeybinding extends BaseResolvedKeybinding {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { KeyCode, ScanCode } from "vscode/vscode/vs/base/common/keyCodes";
|
|
2
|
-
import { ResolvedKeybinding, KeyCodeChord, SingleModifierChord, ScanCodeChord, Keybinding } from "vscode/vscode/vs/base/common/keybindings";
|
|
3
|
-
import { IKeyboardEvent } from "vscode/vscode/vs/platform/keybinding/common/keybinding";
|
|
1
|
+
import { KeyCode, ScanCode } from "@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes";
|
|
2
|
+
import { ResolvedKeybinding, KeyCodeChord, SingleModifierChord, ScanCodeChord, Keybinding } from "@codingame/monaco-vscode-api/vscode/vs/base/common/keybindings";
|
|
3
|
+
import { IKeyboardEvent } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding";
|
|
4
4
|
import { IKeyboardMapper } from "../../../../platform/keyboardLayout/common/keyboardMapper.js";
|
|
5
|
-
import { BaseResolvedKeybinding } from "vscode/vscode/vs/platform/keybinding/common/baseResolvedKeybinding";
|
|
5
|
+
import { BaseResolvedKeybinding } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/baseResolvedKeybinding";
|
|
6
6
|
import { IWindowsKeyboardMapping } from "@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common/vscode/vs/platform/keyboardLayout/common/keyboardLayout";
|
|
7
7
|
export interface IScanCodeMapping {
|
|
8
8
|
scanCode: ScanCode;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import { CharCode } from 'vscode/vscode/vs/base/common/charCode';
|
|
3
|
-
import { KeyCodeUtils, KeyCode, ScanCode, IMMUTABLE_CODE_TO_KEY_CODE, ScanCodeUtils, NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
4
|
-
import { ScanCodeChord, KeyCodeChord } from 'vscode/vscode/vs/base/common/keybindings';
|
|
5
|
-
import { UILabelProvider } from 'vscode/vscode/vs/base/common/keybindingLabels';
|
|
6
|
-
import { OperatingSystem } from 'vscode/vscode/vs/base/common/platform';
|
|
7
|
-
import { BaseResolvedKeybinding } from 'vscode/vscode/vs/platform/keybinding/common/baseResolvedKeybinding';
|
|
8
|
-
import { toEmptyArrayIfContainsNull } from 'vscode/vscode/vs/platform/keybinding/common/resolvedKeybindingItem';
|
|
2
|
+
import { CharCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/charCode';
|
|
3
|
+
import { KeyCodeUtils, KeyCode, ScanCode, IMMUTABLE_CODE_TO_KEY_CODE, ScanCodeUtils, NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
4
|
+
import { ScanCodeChord, KeyCodeChord } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keybindings';
|
|
5
|
+
import { UILabelProvider } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keybindingLabels';
|
|
6
|
+
import { OperatingSystem } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
7
|
+
import { BaseResolvedKeybinding } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/baseResolvedKeybinding';
|
|
8
|
+
import { toEmptyArrayIfContainsNull } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/resolvedKeybindingItem';
|
|
9
9
|
|
|
10
10
|
class WindowsNativeResolvedKeybinding extends BaseResolvedKeybinding {
|
|
11
11
|
constructor(mapper, chords) {
|