@codingame/monaco-vscode-welcome-service-override 7.1.1 → 8.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": "7.1.1",
3
+ "version": "8.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@7.1.1"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@8.0.0"
30
30
  }
31
31
  }
@@ -16,13 +16,13 @@ import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
16
16
  import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
17
17
 
18
18
  var NewFileTemplatesManager_1;
19
- const builtInSource = ( localize(3022, "Built-In"));
20
- const category = ( localize2(3023, 'Create'));
19
+ const builtInSource = ( localize(2544, "Built-In"));
20
+ const category = ( localize2(2545, 'Create'));
21
21
  registerAction2(class extends Action2 {
22
22
  constructor() {
23
23
  super({
24
24
  id: 'welcome.showNewFileEntries',
25
- title: ( localize2(3024, 'New File...')),
25
+ title: ( localize2(2546, 'New File...')),
26
26
  category,
27
27
  f1: true,
28
28
  keybinding: {
@@ -82,8 +82,8 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
82
82
  const { promise: resultPromise, resolve: resolveResult } = promiseWithResolvers();
83
83
  const disposables = ( (new DisposableStore()));
84
84
  const qp = this.quickInputService.createQuickPick();
85
- qp.title = ( localize(3025, "New File..."));
86
- qp.placeholder = ( localize(3026, "Select File Type or Enter File Name..."));
85
+ qp.title = ( localize(2547, "New File..."));
86
+ qp.placeholder = ( localize(2548, "Select File Type or Enter File Name..."));
87
87
  qp.sortByLabel = false;
88
88
  qp.matchOnDetail = true;
89
89
  qp.matchOnDescription = true;
@@ -109,8 +109,8 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
109
109
  return a.from.localeCompare(b.from);
110
110
  };
111
111
  const displayCategory = {
112
- 'file': ( localize(3027, "File")),
113
- 'notebook': ( localize(3028, "Notebook")),
112
+ 'file': ( localize(2549, "File")),
113
+ 'notebook': ( localize(2550, "Notebook")),
114
114
  };
115
115
  const refreshQp = (entries) => {
116
116
  const items = [];
@@ -135,7 +135,7 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
135
135
  buttons: command ? [
136
136
  {
137
137
  iconClass: 'codicon codicon-gear',
138
- tooltip: ( localize(3029, "Configure Keybinding"))
138
+ tooltip: ( localize(2551, "Configure Keybinding"))
139
139
  }
140
140
  ] : [],
141
141
  detail: '',
@@ -154,7 +154,7 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
154
154
  const currentTextEntry = {
155
155
  commandID: 'workbench.action.files.newFile',
156
156
  commandArgs: { languageId: undefined, viewType: undefined, fileName: val },
157
- title: ( localize(3030, "Create New File ({0})", val)),
157
+ title: ( localize(2552, "Create New File ({0})", val)),
158
158
  group: 'file',
159
159
  from: builtInSource,
160
160
  };
@@ -195,7 +195,7 @@ MenuRegistry.appendMenuItem(MenuId.NewFile, {
195
195
  group: 'file',
196
196
  command: {
197
197
  id: 'workbench.action.files.newUntitledFile',
198
- title: ( localize(3031, "Text File"))
198
+ title: ( localize(2553, "Text File"))
199
199
  },
200
200
  order: 1
201
201
  });
@@ -53,7 +53,7 @@ function parseGroupAndOrder(welcome, contribution) {
53
53
  if (welcome.group) {
54
54
  if (!isProposedApiEnabled(contribution.description, 'contribViewsWelcome')) {
55
55
  contribution.collector.warn(( localize(
56
- 6820,
56
+ 6784,
57
57
  "The viewsWelcome contribution in '{0}' requires 'enabledApiProposals: [\"contribViewsWelcome\"]' in order to use the 'group' proposed property.",
58
58
  contribution.description.identifier.value
59
59
  )));
@@ -19,12 +19,12 @@ const ViewIdentifierMap = {
19
19
  const viewsWelcomeExtensionPointSchema = ( (Object.freeze({
20
20
  type: 'array',
21
21
  description: ( localize(
22
- 6821,
22
+ 6785,
23
23
  "Contributed views welcome content. Welcome content will be rendered in tree based views whenever they have no meaningful content to display, ie. the File Explorer when no folder is open. Such content is useful as in-product documentation to drive users to use certain features before they are available. A good example would be a `Clone Repository` button in the File Explorer welcome view."
24
24
  )),
25
25
  items: {
26
26
  type: 'object',
27
- description: ( localize(6822, "Contributed welcome content for a specific view.")),
27
+ description: ( localize(6786, "Contributed welcome content for a specific view.")),
28
28
  required: [
29
29
  ViewsWelcomeExtensionPointFields.view,
30
30
  ViewsWelcomeExtensionPointFields.contents
@@ -35,14 +35,14 @@ const viewsWelcomeExtensionPointSchema = ( (Object.freeze({
35
35
  {
36
36
  type: 'string',
37
37
  description: ( localize(
38
- 6823,
38
+ 6787,
39
39
  "Target view identifier for this welcome content. Only tree based views are supported."
40
40
  ))
41
41
  },
42
42
  {
43
43
  type: 'string',
44
44
  description: ( localize(
45
- 6823,
45
+ 6787,
46
46
  "Target view identifier for this welcome content. Only tree based views are supported."
47
47
  )),
48
48
  enum: ( (Object.keys(ViewIdentifierMap)))
@@ -52,22 +52,22 @@ const viewsWelcomeExtensionPointSchema = ( (Object.freeze({
52
52
  [ViewsWelcomeExtensionPointFields.contents]: {
53
53
  type: 'string',
54
54
  description: ( localize(
55
- 6824,
55
+ 6788,
56
56
  "Welcome content to be displayed. The format of the contents is a subset of Markdown, with support for links only."
57
57
  )),
58
58
  },
59
59
  [ViewsWelcomeExtensionPointFields.when]: {
60
60
  type: 'string',
61
- description: ( localize(6825, "Condition when the welcome content should be displayed.")),
61
+ description: ( localize(6789, "Condition when the welcome content should be displayed.")),
62
62
  },
63
63
  [ViewsWelcomeExtensionPointFields.group]: {
64
64
  type: 'string',
65
- description: ( localize(6826, "Group to which this welcome content belongs. Proposed API.")),
65
+ description: ( localize(6790, "Group to which this welcome content belongs. Proposed API.")),
66
66
  },
67
67
  [ViewsWelcomeExtensionPointFields.enablement]: {
68
68
  type: 'string',
69
69
  description: ( localize(
70
- 6827,
70
+ 6791,
71
71
  "Condition when the welcome content buttons and command links should be enabled."
72
72
  )),
73
73
  },