@codingame/monaco-vscode-view-status-bar-service-override 8.0.1 → 8.0.2

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-view-status-bar-service-override",
3
- "version": "8.0.1",
3
+ "version": "8.0.2",
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@8.0.1"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@8.0.2"
30
30
  }
31
31
  }
@@ -29,62 +29,62 @@ const statusBarItemSchema = {
29
29
  id: {
30
30
  type: 'string',
31
31
  markdownDescription: ( localize(
32
- 3036,
32
+ 3034,
33
33
  'The identifier of the status bar entry. Must be unique within the extension. The same value must be used when calling the `vscode.window.createStatusBarItem(id, ...)`-API'
34
34
  ))
35
35
  },
36
36
  name: {
37
37
  type: 'string',
38
38
  description: ( localize(
39
- 3037,
39
+ 3035,
40
40
  'The name of the entry, like \'Python Language Indicator\', \'Git Status\' etc. Try to keep the length of the name short, yet descriptive enough that users can understand what the status bar item is about.'
41
41
  ))
42
42
  },
43
43
  text: {
44
44
  type: 'string',
45
45
  description: ( localize(
46
- 3038,
46
+ 3036,
47
47
  'The text to show for the entry. You can embed icons in the text by leveraging the `$(<name>)`-syntax, like \'Hello $(globe)!\''
48
48
  ))
49
49
  },
50
50
  tooltip: {
51
51
  type: 'string',
52
- description: ( localize(3039, 'The tooltip text for the entry.'))
52
+ description: ( localize(3037, 'The tooltip text for the entry.'))
53
53
  },
54
54
  command: {
55
55
  type: 'string',
56
- description: ( localize(3040, 'The command to execute when the status bar entry is clicked.'))
56
+ description: ( localize(3038, 'The command to execute when the status bar entry is clicked.'))
57
57
  },
58
58
  alignment: {
59
59
  type: 'string',
60
60
  enum: ['left', 'right'],
61
- description: ( localize(3041, 'The alignment of the status bar entry.'))
61
+ description: ( localize(3039, 'The alignment of the status bar entry.'))
62
62
  },
63
63
  priority: {
64
64
  type: 'number',
65
65
  description: ( localize(
66
- 3042,
66
+ 3040,
67
67
  'The priority of the status bar entry. Higher value means the item should be shown more to the left.'
68
68
  ))
69
69
  },
70
70
  accessibilityInformation: {
71
71
  type: 'object',
72
72
  description: ( localize(
73
- 3043,
73
+ 3041,
74
74
  'Defines the role and aria label to be used when the status bar entry is focused.'
75
75
  )),
76
76
  properties: {
77
77
  role: {
78
78
  type: 'string',
79
79
  description: ( localize(
80
- 3044,
80
+ 3042,
81
81
  'The role of the status bar entry which defines how a screen reader interacts with it. More about aria roles can be found here https://w3c.github.io/aria/#widget_roles'
82
82
  ))
83
83
  },
84
84
  label: {
85
85
  type: 'string',
86
86
  description: ( localize(
87
- 3045,
87
+ 3043,
88
88
  'The aria label of the status bar entry. Defaults to the entry\'s text.'
89
89
  ))
90
90
  }
@@ -93,7 +93,7 @@ const statusBarItemSchema = {
93
93
  }
94
94
  };
95
95
  const statusBarItemsSchema = {
96
- description: ( localize(3046, "Contributes items to the status bar.")),
96
+ description: ( localize(3044, "Contributes items to the status bar.")),
97
97
  oneOf: [
98
98
  statusBarItemSchema,
99
99
  {
@@ -119,7 +119,7 @@ let StatusBarItemsExtensionPoint = class StatusBarItemsExtensionPoint {
119
119
  const { value, collector } = entry;
120
120
  for (const candidate of Iterable.wrap(value)) {
121
121
  if (!isUserFriendlyStatusItemEntry(candidate)) {
122
- collector.error(( localize(3047, "Invalid status bar item contribution.")));
122
+ collector.error(( localize(3045, "Invalid status bar item contribution.")));
123
123
  continue;
124
124
  }
125
125
  const fullItemId = asStatusBarItemIdentifier(entry.description.identifier, candidate.id);
@@ -28,7 +28,7 @@ class ToggleStatusbarEntryVisibilityAction extends Action {
28
28
  }
29
29
  class HideStatusbarEntryAction extends Action {
30
30
  constructor(id, name, model) {
31
- super(id, ( localize(7000, "Hide '{0}'", name)), undefined, true);
31
+ super(id, ( localize(6949, "Hide '{0}'", name)), undefined, true);
32
32
  this.model = model;
33
33
  }
34
34
  async run() {
@@ -99,7 +99,7 @@ class FocusStatusBarAction extends Action2 {
99
99
  constructor() {
100
100
  super({
101
101
  id: 'workbench.action.focusStatusBar',
102
- title: ( localize2(7001, 'Focus Status Bar')),
102
+ title: ( localize2(6950, 'Focus Status Bar')),
103
103
  category: Categories.View,
104
104
  f1: true
105
105
  });
@@ -351,7 +351,7 @@ let StatusbarPart = class StatusbarPart extends Part {
351
351
  }
352
352
  getContextMenuActions(event) {
353
353
  const actions = [];
354
- actions.push(toAction({ id: ToggleStatusbarVisibilityAction.ID, label: ( localize(3035, "Hide Status Bar")), run: () => this.instantiationService.invokeFunction(accessor => ( (new ToggleStatusbarVisibilityAction())).run(accessor)) }));
354
+ actions.push(toAction({ id: ToggleStatusbarVisibilityAction.ID, label: ( localize(3033, "Hide Status Bar")), run: () => this.instantiationService.invokeFunction(accessor => ( (new ToggleStatusbarVisibilityAction())).run(accessor)) }));
355
355
  actions.push(( (new Separator())));
356
356
  const handledEntries = ( (new Set()));
357
357
  for (const entry of this.viewModel.entries) {