@codingame/monaco-vscode-keybindings-service-override 20.5.0 → 21.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-keybindings-service-override",
3
- "version": "20.5.0",
3
+ "version": "21.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - keybindings service-override",
6
6
  "keywords": [],
@@ -15,13 +15,13 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-2a22c7b4-b906-5914-8cd1-3ed912fb738f-common": "20.5.0",
19
- "@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common": "20.5.0",
20
- "@codingame/monaco-vscode-a3eaa464-944c-5b8f-8886-213068ba4897-common": "20.5.0",
21
- "@codingame/monaco-vscode-acd79e2c-c7e3-5594-873a-427e3006b3d8-common": "20.5.0",
22
- "@codingame/monaco-vscode-api": "20.5.0",
23
- "@codingame/monaco-vscode-d609a7d3-bf87-551a-884f-550a8b327ec5-common": "20.5.0",
24
- "@codingame/monaco-vscode-files-service-override": "20.5.0"
18
+ "@codingame/monaco-vscode-2a22c7b4-b906-5914-8cd1-3ed912fb738f-common": "21.0.0",
19
+ "@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common": "21.0.0",
20
+ "@codingame/monaco-vscode-a3eaa464-944c-5b8f-8886-213068ba4897-common": "21.0.0",
21
+ "@codingame/monaco-vscode-acd79e2c-c7e3-5594-873a-427e3006b3d8-common": "21.0.0",
22
+ "@codingame/monaco-vscode-api": "21.0.0",
23
+ "@codingame/monaco-vscode-d609a7d3-bf87-551a-884f-550a8b327ec5-common": "21.0.0",
24
+ "@codingame/monaco-vscode-files-service-override": "21.0.0"
25
25
  },
26
26
  "main": "index.js",
27
27
  "module": "index.js",
@@ -20,7 +20,7 @@ const keyboardConfiguration = {
20
20
  'id': 'keyboard',
21
21
  'order': 15,
22
22
  'type': 'object',
23
- 'title': ( localize(1918, "Keyboard")),
23
+ 'title': ( localize(1922, "Keyboard")),
24
24
  'properties': {
25
25
  'keyboard.dispatch': {
26
26
  scope: ConfigurationScope.APPLICATION,
@@ -28,7 +28,7 @@ const keyboardConfiguration = {
28
28
  enum: ['code', 'keyCode'],
29
29
  default: 'code',
30
30
  markdownDescription: ( localize(
31
- 1919,
31
+ 1923,
32
32
  "Controls the dispatching logic for key presses to use either `code` (recommended) or `keyCode`."
33
33
  )),
34
34
  included: OS === OperatingSystem.Macintosh || OS === OperatingSystem.Linux
@@ -37,7 +37,7 @@ const keyboardConfiguration = {
37
37
  scope: ConfigurationScope.APPLICATION,
38
38
  type: 'boolean',
39
39
  default: false,
40
- markdownDescription: ( localize(1920, "Controls if the AltGraph+ modifier should be treated as Ctrl+Alt+.")),
40
+ markdownDescription: ( localize(1924, "Controls if the AltGraph+ modifier should be treated as Ctrl+Alt+.")),
41
41
  included: OS === OperatingSystem.Windows
42
42
  }
43
43
  }
@@ -10,10 +10,10 @@ class RunCommands extends Action2 {
10
10
  constructor() {
11
11
  super({
12
12
  id: 'runCommands',
13
- title: ( localize2(5656, "Run Commands")),
13
+ title: ( localize2(5799, "Run Commands")),
14
14
  f1: false,
15
15
  metadata: {
16
- description: ( localize(5657, "Run several commands")),
16
+ description: ( localize(5800, "Run several commands")),
17
17
  args: [
18
18
  {
19
19
  name: 'args',
@@ -23,7 +23,7 @@ class RunCommands extends Action2 {
23
23
  properties: {
24
24
  commands: {
25
25
  type: 'array',
26
- description: ( localize(5658, "Commands to run")),
26
+ description: ( localize(5801, "Commands to run")),
27
27
  items: {
28
28
  anyOf: [
29
29
  {
@@ -63,14 +63,14 @@ class RunCommands extends Action2 {
63
63
  const notificationService = accessor.get(INotificationService);
64
64
  if (!this._isCommandArgs(args)) {
65
65
  notificationService.error(( localize(
66
- 5659,
66
+ 5802,
67
67
  "'runCommands' has received an argument with incorrect type. Please, review the argument passed to the command."
68
68
  )));
69
69
  return;
70
70
  }
71
71
  if (args.commands.length === 0) {
72
72
  notificationService.warn(( localize(
73
- 5660,
73
+ 5803,
74
74
  "'runCommands' has not received commands to run. Did you forget to pass commands in the 'runCommands' argument?"
75
75
  )));
76
76
  return;
@@ -7,16 +7,15 @@ import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform
7
7
  import { showWindowLogActionId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/log/common/logConstants';
8
8
  import { DisposableStore, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
9
9
  import { ILayoutService } from '@codingame/monaco-vscode-api/vscode/vs/platform/layout/browser/layoutService.service';
10
- import { append, $, getWindows, onDidRegisterWindow, getDomNodePagePosition } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
10
+ import { append, $, addDisposableListener, getWindows, onDidRegisterWindow, getDomNodePagePosition } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
11
11
  import { createStyleSheet, createCSSRule } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/domStylesheets';
12
12
  import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
13
- import { DomEmitter } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/event';
14
13
 
15
14
  class ToggleKeybindingsLogAction extends Action2 {
16
15
  constructor() {
17
16
  super({
18
17
  id: 'workbench.action.toggleKeybindingsLog',
19
- title: ( localize2(7845, "Toggle Keyboard Shortcuts Troubleshooting")),
18
+ title: ( localize2(7995, "Toggle Keyboard Shortcuts Troubleshooting")),
20
19
  category: Categories.Developer,
21
20
  f1: true
22
21
  });
@@ -49,7 +48,7 @@ class ToggleKeybindingsLogAction extends Action2 {
49
48
  `, stylesheet);
50
49
  const onKeyDown = disposables.add(( new Emitter()));
51
50
  function registerWindowListeners(window, disposables) {
52
- disposables.add(disposables.add(( new DomEmitter(window, 'keydown', true))).event(e => onKeyDown.fire(e)));
51
+ disposables.add(addDisposableListener(window, 'keydown', e => onKeyDown.fire(e), true));
53
52
  }
54
53
  for (const { window, disposables } of getWindows()) {
55
54
  registerWindowListeners(window, disposables);
@@ -24,7 +24,7 @@ import { DEFINE_KEYBINDING_EDITOR_CONTRIB_ID } from '@codingame/monaco-vscode-ac
24
24
 
25
25
  var KeybindingEditorDecorationsRenderer_1;
26
26
  const NLS_KB_LAYOUT_ERROR_MESSAGE = ( localize(
27
- 9186,
27
+ 9348,
28
28
  "You won't be able to produce this key combination under your current keyboard layout."
29
29
  ));
30
30
  let DefineKeybindingEditorContribution = class DefineKeybindingEditorContribution extends Disposable {
@@ -182,14 +182,14 @@ let KeybindingEditorDecorationsRenderer = KeybindingEditorDecorationsRenderer_1
182
182
  else {
183
183
  if (usLabel && uiLabel !== usLabel) {
184
184
  msg = ( new MarkdownString(( localize(
185
- 9187,
185
+ 9349,
186
186
  "**{0}** for your current keyboard layout (**{1}** for US standard).",
187
187
  uiLabel,
188
188
  usLabel
189
189
  ))));
190
190
  }
191
191
  else {
192
- msg = ( new MarkdownString(( localize(9188, "**{0}** for your current keyboard layout.", uiLabel))));
192
+ msg = ( new MarkdownString(( localize(9350, "**{0}** for your current keyboard layout.", uiLabel))));
193
193
  }
194
194
  className = 'keybindingInfo';
195
195
  overviewRulerColor = themeColorFromId(overviewRulerInfo);