@codingame/monaco-vscode-welcome-service-override 10.0.0 → 10.0.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-welcome-service-override",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.1",
|
|
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@10.0.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@10.0.1"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -13,13 +13,13 @@ import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
|
13
13
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
14
14
|
|
|
15
15
|
var NewFileTemplatesManager_1;
|
|
16
|
-
const builtInSource = ( localize(
|
|
17
|
-
const category = ( localize2(
|
|
16
|
+
const builtInSource = ( localize(3007, "Built-In"));
|
|
17
|
+
const category = ( localize2(3008, 'Create'));
|
|
18
18
|
registerAction2(class extends Action2 {
|
|
19
19
|
constructor() {
|
|
20
20
|
super({
|
|
21
21
|
id: 'welcome.showNewFileEntries',
|
|
22
|
-
title: ( localize2(
|
|
22
|
+
title: ( localize2(3009, 'New File...')),
|
|
23
23
|
category,
|
|
24
24
|
f1: true,
|
|
25
25
|
keybinding: {
|
|
@@ -79,8 +79,8 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
|
|
|
79
79
|
const { promise: resultPromise, resolve: resolveResult } = promiseWithResolvers();
|
|
80
80
|
const disposables = ( (new DisposableStore()));
|
|
81
81
|
const qp = this.quickInputService.createQuickPick({ useSeparators: true });
|
|
82
|
-
qp.title = ( localize(
|
|
83
|
-
qp.placeholder = ( localize(
|
|
82
|
+
qp.title = ( localize(3010, "New File..."));
|
|
83
|
+
qp.placeholder = ( localize(3011, "Select File Type or Enter File Name..."));
|
|
84
84
|
qp.sortByLabel = false;
|
|
85
85
|
qp.matchOnDetail = true;
|
|
86
86
|
qp.matchOnDescription = true;
|
|
@@ -106,8 +106,8 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
|
|
|
106
106
|
return a.from.localeCompare(b.from);
|
|
107
107
|
};
|
|
108
108
|
const displayCategory = {
|
|
109
|
-
'file': ( localize(
|
|
110
|
-
'notebook': ( localize(
|
|
109
|
+
'file': ( localize(3012, "File")),
|
|
110
|
+
'notebook': ( localize(3013, "Notebook")),
|
|
111
111
|
};
|
|
112
112
|
const refreshQp = (entries) => {
|
|
113
113
|
const items = [];
|
|
@@ -132,7 +132,7 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
|
|
|
132
132
|
buttons: command ? [
|
|
133
133
|
{
|
|
134
134
|
iconClass: 'codicon codicon-gear',
|
|
135
|
-
tooltip: ( localize(
|
|
135
|
+
tooltip: ( localize(3014, "Configure Keybinding"))
|
|
136
136
|
}
|
|
137
137
|
] : [],
|
|
138
138
|
detail: '',
|
|
@@ -151,7 +151,7 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
|
|
|
151
151
|
const currentTextEntry = {
|
|
152
152
|
commandID: 'workbench.action.files.newFile',
|
|
153
153
|
commandArgs: { languageId: undefined, viewType: undefined, fileName: val },
|
|
154
|
-
title: ( localize(
|
|
154
|
+
title: ( localize(3015, "Create New File ({0})", val)),
|
|
155
155
|
group: 'file',
|
|
156
156
|
from: builtInSource,
|
|
157
157
|
};
|
|
@@ -192,7 +192,7 @@ MenuRegistry.appendMenuItem(MenuId.NewFile, {
|
|
|
192
192
|
group: 'file',
|
|
193
193
|
command: {
|
|
194
194
|
id: 'workbench.action.files.newUntitledFile',
|
|
195
|
-
title: ( localize(
|
|
195
|
+
title: ( localize(3016, "Text File"))
|
|
196
196
|
},
|
|
197
197
|
order: 1
|
|
198
198
|
});
|