@codingame/monaco-vscode-keybindings-service-override 4.5.0-improve-code-splitting.1 → 4.5.1
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 +2 -2
- package/package.json +3 -3
- package/keybindings.d.ts +0 -19
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export {
|
|
1
|
+
export * from 'vscode/service-override/keybindings';
|
|
2
|
+
export { default } from 'vscode/service-override/keybindings';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-keybindings-service-override",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@4.5.
|
|
30
|
-
"@codingame/monaco-vscode-files-service-override": "4.5.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@4.5.1",
|
|
30
|
+
"@codingame/monaco-vscode-files-service-override": "4.5.1"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/keybindings.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IEditorOverrideServices } from 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
2
|
-
import { IFileWriteOptions } from 'vscode/vscode/vs/platform/files/common/files';
|
|
3
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
4
|
-
|
|
5
|
-
declare const defaultUserKeybindindsFile: URI;
|
|
6
|
-
/**
|
|
7
|
-
* Should be called only BEFORE the service are initialized to initialize the file on the filesystem before the keybindings service initializes
|
|
8
|
-
*/
|
|
9
|
-
declare function initUserKeybindings(configurationJson: string, options?: Partial<IFileWriteOptions>, file?: URI): Promise<void>;
|
|
10
|
-
/**
|
|
11
|
-
* Can be called at any time after the services are initialized to update the user configuration
|
|
12
|
-
*/
|
|
13
|
-
declare function updateUserKeybindings(keybindingsJson: string): Promise<void>;
|
|
14
|
-
interface KeybindingsProps {
|
|
15
|
-
shouldUseGlobalKeybindings?: () => boolean;
|
|
16
|
-
}
|
|
17
|
-
declare function getServiceOverride({ shouldUseGlobalKeybindings }?: KeybindingsProps): IEditorOverrideServices;
|
|
18
|
-
|
|
19
|
-
export { getServiceOverride as default, defaultUserKeybindindsFile, initUserKeybindings, updateUserKeybindings };
|