@codingame/monaco-vscode-welcome-service-override 28.4.0 → 29.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": "28.4.0",
3
+ "version": "29.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - welcome service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "28.4.0"
18
+ "@codingame/monaco-vscode-api": "29.0.0"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -17,13 +17,13 @@ import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/com
17
17
  import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
18
18
 
19
19
  var NewFileTemplatesManager_1;
20
- const builtInSource = ( localize(15120, "Built-In"));
21
- const category = ( localize2(15121, "Create"));
20
+ const builtInSource = ( localize(15415, "Built-In"));
21
+ const category = ( localize2(15416, "Create"));
22
22
  registerAction2(class extends Action2 {
23
23
  constructor() {
24
24
  super({
25
25
  id: "welcome.showNewFileEntries",
26
- title: ( localize2(15122, "New File...")),
26
+ title: ( localize2(15417, "New File...")),
27
27
  category,
28
28
  f1: true,
29
29
  keybinding: {
@@ -105,8 +105,8 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
105
105
  const qp = this.quickInputService.createQuickPick({
106
106
  useSeparators: true
107
107
  });
108
- qp.title = ( localize(15123, "New File..."));
109
- qp.placeholder = ( localize(15124, "Select File Type or Enter File Name..."));
108
+ qp.title = ( localize(15418, "New File..."));
109
+ qp.placeholder = ( localize(15419, "Select File Type or Enter File Name..."));
110
110
  qp.sortByLabel = false;
111
111
  qp.matchOnDetail = true;
112
112
  qp.matchOnDescription = true;
@@ -133,8 +133,8 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
133
133
  return a.from.localeCompare(b.from);
134
134
  };
135
135
  const displayCategory = {
136
- "file": ( localize(15125, "File")),
137
- "notebook": ( localize(15126, "Notebook"))
136
+ "file": ( localize(15420, "File")),
137
+ "notebook": ( localize(15421, "Notebook"))
138
138
  };
139
139
  const refreshQp = entries => {
140
140
  const items = [];
@@ -156,7 +156,7 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
156
156
  keybinding,
157
157
  buttons: command ? [{
158
158
  iconClass: "codicon codicon-gear",
159
- tooltip: ( localize(15127, "Configure Keybinding"))
159
+ tooltip: ( localize(15422, "Configure Keybinding"))
160
160
  }] : [],
161
161
  detail: "",
162
162
  description: entry.from
@@ -178,7 +178,7 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
178
178
  viewType: undefined,
179
179
  fileName: val
180
180
  },
181
- title: ( localize(15128, "Create New File ({0})", val)),
181
+ title: ( localize(15423, "Create New File ({0})", val)),
182
182
  group: "file",
183
183
  from: builtInSource
184
184
  };
@@ -212,7 +212,7 @@ MenuRegistry.appendMenuItem(MenuId.NewFile, {
212
212
  group: "file",
213
213
  command: {
214
214
  id: "workbench.action.files.newUntitledFile",
215
- title: ( localize(15129, "Text File"))
215
+ title: ( localize(15424, "Text File"))
216
216
  },
217
217
  order: 1
218
218
  });
@@ -61,9 +61,9 @@ function parseGroupAndOrder(welcome, contribution) {
61
61
  let group;
62
62
  let order;
63
63
  if (welcome.group) {
64
- if (!isProposedApiEnabled(contribution.description, "contribViewsWelcome")) {
64
+ if (!isProposedApiEnabled(contribution.description)) {
65
65
  contribution.collector.warn(( localize(
66
- 15130,
66
+ 15425,
67
67
  "The viewsWelcome contribution in '{0}' requires 'enabledApiProposals: [\"contribViewsWelcome\"]' in order to use the 'group' proposed property.",
68
68
  contribution.description.identifier.value
69
69
  )));
@@ -20,12 +20,12 @@ const ViewIdentifierMap = {
20
20
  const viewsWelcomeExtensionPointSchema = ( Object.freeze({
21
21
  type: "array",
22
22
  description: ( localize(
23
- 15131,
23
+ 15426,
24
24
  "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."
25
25
  )),
26
26
  items: {
27
27
  type: "object",
28
- description: ( localize(15132, "Contributed welcome content for a specific view.")),
28
+ description: ( localize(15427, "Contributed welcome content for a specific view.")),
29
29
  required: [
30
30
  ViewsWelcomeExtensionPointFields.view,
31
31
  ViewsWelcomeExtensionPointFields.contents
@@ -35,13 +35,13 @@ const viewsWelcomeExtensionPointSchema = ( Object.freeze({
35
35
  anyOf: [{
36
36
  type: "string",
37
37
  description: ( localize(
38
- 15133,
38
+ 15428,
39
39
  "Target view identifier for this welcome content. Only tree based views are supported."
40
40
  ))
41
41
  }, {
42
42
  type: "string",
43
43
  description: ( localize(
44
- 15133,
44
+ 15428,
45
45
  "Target view identifier for this welcome content. Only tree based views are supported."
46
46
  )),
47
47
  enum: ( Object.keys(ViewIdentifierMap))
@@ -50,22 +50,22 @@ const viewsWelcomeExtensionPointSchema = ( Object.freeze({
50
50
  [ViewsWelcomeExtensionPointFields.contents]: {
51
51
  type: "string",
52
52
  description: ( localize(
53
- 15134,
53
+ 15429,
54
54
  "Welcome content to be displayed. The format of the contents is a subset of Markdown, with support for links only."
55
55
  ))
56
56
  },
57
57
  [ViewsWelcomeExtensionPointFields.when]: {
58
58
  type: "string",
59
- description: ( localize(15135, "Condition when the welcome content should be displayed."))
59
+ description: ( localize(15430, "Condition when the welcome content should be displayed."))
60
60
  },
61
61
  [ViewsWelcomeExtensionPointFields.group]: {
62
62
  type: "string",
63
- description: ( localize(15136, "Group to which this welcome content belongs. Proposed API."))
63
+ description: ( localize(15431, "Group to which this welcome content belongs. Proposed API."))
64
64
  },
65
65
  [ViewsWelcomeExtensionPointFields.enablement]: {
66
66
  type: "string",
67
67
  description: ( localize(
68
- 15137,
68
+ 15432,
69
69
  "Condition when the welcome content buttons and command links should be enabled."
70
70
  ))
71
71
  }