@codingame/monaco-vscode-welcome-service-override 5.3.0 → 6.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-welcome-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@6.0.0"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
2
|
import { promiseWithResolvers } from 'vscode/vscode/vs/base/common/async';
|
|
3
|
+
import { KeyMod, KeyCode } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
3
4
|
import { Disposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
5
|
import { assertIsDefined } from 'vscode/vscode/vs/base/common/types';
|
|
5
6
|
import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
@@ -8,9 +9,11 @@ import { IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions.s
|
|
|
8
9
|
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
9
10
|
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
10
11
|
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
12
|
+
import { KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
11
13
|
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
12
14
|
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
13
15
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
16
|
+
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
14
17
|
|
|
15
18
|
var NewFileTemplatesManager_1;
|
|
16
19
|
const _moduleId = "vs/workbench/contrib/welcomeViews/common/newFile.contribution";
|
|
@@ -24,8 +27,8 @@ registerAction2(class extends Action2 {
|
|
|
24
27
|
category,
|
|
25
28
|
f1: true,
|
|
26
29
|
keybinding: {
|
|
27
|
-
primary:
|
|
28
|
-
weight:
|
|
30
|
+
primary: KeyMod.Alt + KeyMod.CtrlCmd + KeyMod.WinCtrl + KeyCode.KeyN,
|
|
31
|
+
weight: KeybindingWeight.WorkbenchContrib,
|
|
29
32
|
},
|
|
30
33
|
menu: {
|
|
31
34
|
id: MenuId.MenubarFileMenu,
|
|
@@ -188,7 +191,7 @@ NewFileTemplatesManager = NewFileTemplatesManager_1 = ( (__decorate([
|
|
|
188
191
|
( (__param(4, IMenuService)))
|
|
189
192
|
], NewFileTemplatesManager)));
|
|
190
193
|
( (Registry.as(Extensions.Workbench)))
|
|
191
|
-
.registerWorkbenchContribution(NewFileTemplatesManager,
|
|
194
|
+
.registerWorkbenchContribution(NewFileTemplatesManager, LifecyclePhase.Restored);
|
|
192
195
|
MenuRegistry.appendMenuItem(MenuId.NewFile, {
|
|
193
196
|
group: 'file',
|
|
194
197
|
command: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
2
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
3
|
+
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
3
4
|
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
4
5
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
5
6
|
import { ViewsWelcomeContribution } from './viewsWelcomeContribution.js';
|
|
@@ -16,4 +17,4 @@ WorkbenchConfigurationContribution = ( __decorate([
|
|
|
16
17
|
( __param(0, IInstantiationService))
|
|
17
18
|
], WorkbenchConfigurationContribution));
|
|
18
19
|
( Registry.as(Extensions.Workbench))
|
|
19
|
-
.registerWorkbenchContribution(WorkbenchConfigurationContribution,
|
|
20
|
+
.registerWorkbenchContribution(WorkbenchConfigurationContribution, LifecyclePhase.Restored);
|