@codingame/monaco-vscode-debug-service-override 18.4.0 → 19.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.
Files changed (35) hide show
  1. package/package.json +16 -19
  2. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +16 -16
  3. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +111 -111
  4. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +6 -6
  5. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +12 -12
  6. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +6 -6
  7. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.d.ts +1 -1
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +2 -2
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +24 -24
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +1 -1
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +10 -10
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +22 -22
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +44 -44
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -17
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.d.ts +1 -1
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +4 -4
  18. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +5 -5
  19. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +7 -7
  20. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +8 -8
  21. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
  22. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +20 -20
  23. package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
  24. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
  25. package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +16 -16
  26. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
  27. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +10 -10
  28. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +7 -7
  29. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +3 -3
  30. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
  31. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
  32. package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.d.ts +1 -0
  33. package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.js +3 -1
  34. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +12 -12
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
@@ -289,7 +289,7 @@ let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractEx
289
289
  if (settingValue) {
290
290
  return {
291
291
  initialValue: expression.value,
292
- ariaLabel: ( localize(6092, "Type new value")),
292
+ ariaLabel: ( localize(6254, "Type new value")),
293
293
  onFinish: async (value, success) => {
294
294
  if (success && value) {
295
295
  const focusedFrame = this.debugService.getViewModel().focusedStackFrame;
@@ -303,8 +303,8 @@ let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractEx
303
303
  }
304
304
  return {
305
305
  initialValue: expression.name ? expression.name : '',
306
- ariaLabel: ( localize(6093, "Type watch expression")),
307
- placeholder: ( localize(6094, "Expression to watch")),
306
+ ariaLabel: ( localize(6255, "Type watch expression")),
307
+ placeholder: ( localize(6256, "Expression to watch")),
308
308
  onFinish: (value, success) => {
309
309
  if (success && value) {
310
310
  this.debugService.renameWatchExpression(expression.getId(), value);
@@ -344,13 +344,13 @@ function getContextForWatchExpressionMenu(parentContext, expression) {
344
344
  }
345
345
  class WatchExpressionsAccessibilityProvider {
346
346
  getWidgetAriaLabel() {
347
- return localize(6095, "Debug Watch Expressions");
347
+ return localize(6257, "Debug Watch Expressions");
348
348
  }
349
349
  getAriaLabel(element) {
350
350
  if (element instanceof Expression) {
351
- return localize(6096, "{0}, value {1}", element.name, element.value);
351
+ return localize(6258, "{0}, value {1}", element.name, element.value);
352
352
  }
353
- return localize(6097, "{0}, value {1}", element.name, element.value);
353
+ return localize(6259, "{0}, value {1}", element.name, element.value);
354
354
  }
355
355
  }
356
356
  class WatchExpressionsDragAndDrop {
@@ -431,7 +431,7 @@ registerAction2(class Collapse extends ViewAction {
431
431
  super({
432
432
  id: 'watch.collapse',
433
433
  viewId: WATCH_VIEW_ID,
434
- title: ( localize(6098, "Collapse All")),
434
+ title: ( localize(6260, "Collapse All")),
435
435
  f1: false,
436
436
  icon: Codicon.collapseAll,
437
437
  precondition: CONTEXT_WATCH_EXPRESSIONS_EXIST,
@@ -448,7 +448,7 @@ registerAction2(class Collapse extends ViewAction {
448
448
  }
449
449
  });
450
450
  const ADD_WATCH_ID = 'workbench.debug.viewlet.action.addWatchExpression';
451
- const ADD_WATCH_LABEL = ( localize(6099, "Add Expression"));
451
+ const ADD_WATCH_LABEL = ( localize(6261, "Add Expression"));
452
452
  registerAction2(class AddWatchExpressionAction extends Action2 {
453
453
  constructor() {
454
454
  super({
@@ -469,7 +469,7 @@ registerAction2(class AddWatchExpressionAction extends Action2 {
469
469
  }
470
470
  });
471
471
  const REMOVE_WATCH_EXPRESSIONS_COMMAND_ID = 'workbench.debug.viewlet.action.removeAllWatchExpressions';
472
- const REMOVE_WATCH_EXPRESSIONS_LABEL = ( localize(6100, "Remove All Expressions"));
472
+ const REMOVE_WATCH_EXPRESSIONS_LABEL = ( localize(6262, "Remove All Expressions"));
473
473
  registerAction2(class RemoveAllWatchExpressionsAction extends Action2 {
474
474
  constructor() {
475
475
  super({
@@ -495,7 +495,7 @@ registerAction2(class CopyExpression extends ViewAction {
495
495
  constructor() {
496
496
  super({
497
497
  id: COPY_WATCH_EXPRESSION_COMMAND_ID,
498
- title: ( localize(6101, "Copy Expression")),
498
+ title: ( localize(6263, "Copy Expression")),
499
499
  f1: false,
500
500
  viewId: WATCH_VIEW_ID,
501
501
  precondition: CONTEXT_WATCH_EXPRESSIONS_EXIST,
@@ -15,7 +15,7 @@ import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/regist
15
15
  import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
16
16
  import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
17
17
  import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
18
- import { OpenFileAction, OpenFolderAction } from '@codingame/monaco-vscode-97284942-b044-5fbb-b53b-3f46d2468746-common/vscode/vs/workbench/browser/actions/workspaceActions';
18
+ import { OpenFileAction, OpenFolderAction } from '@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common/vscode/vs/workbench/browser/actions/workspaceActions';
19
19
  import { ViewPane } from '@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane';
20
20
  import { WorkbenchStateContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
21
21
  import { Extensions, ViewContentGroups } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
@@ -30,7 +30,7 @@ const CONTEXT_DEBUG_START_LANGUAGE = ( new RawContextKey(debugStartLanguageKey,
30
30
  const CONTEXT_DEBUGGER_INTERESTED_IN_ACTIVE_EDITOR = ( new RawContextKey('debuggerInterestedInActiveEditor', false));
31
31
  let WelcomeView = class WelcomeView extends ViewPane {
32
32
  static { this.ID = 'workbench.debug.welcome'; }
33
- static { this.LABEL = ( localize2(6102, "Run")); }
33
+ static { this.LABEL = ( localize2(6264, "Run")); }
34
34
  constructor(options, themeService, keybindingService, contextMenuService, configurationService, contextKeyService, debugService, editorService, instantiationService, viewDescriptorService, openerService, storageSevice, hoverService) {
35
35
  super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, hoverService);
36
36
  this.debugService = debugService;
@@ -100,7 +100,7 @@ WelcomeView = ( __decorate([
100
100
  const viewsRegistry = ( Registry.as(Extensions.ViewsRegistry));
101
101
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
102
102
  content: ( localize(
103
- 6103,
103
+ 6265,
104
104
  "[Open a file](command:{0}) which can be debugged or run.",
105
105
  OpenFileAction.ID
106
106
  )),
@@ -109,14 +109,14 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
109
109
  });
110
110
  let debugKeybindingLabel = '';
111
111
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
112
- content: `[${( localize(6104, "Run and Debug"))}${debugKeybindingLabel}](command:${DEBUG_START_COMMAND_ID})`,
112
+ content: `[${( localize(6266, "Run and Debug"))}${debugKeybindingLabel}](command:${DEBUG_START_COMMAND_ID})`,
113
113
  when: CONTEXT_DEBUGGERS_AVAILABLE,
114
114
  group: ViewContentGroups.Debug,
115
115
  order: 1
116
116
  });
117
117
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
118
118
  content: ( localize(
119
- 6105,
119
+ 6267,
120
120
  "To customize Run and Debug [create a launch.json file](command:{0}).",
121
121
  `${DEBUG_CONFIGURE_COMMAND_ID}?${encodeURIComponent(JSON.stringify([{ addNew: true }]))}`
122
122
  )),
@@ -125,7 +125,7 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
125
125
  });
126
126
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
127
127
  content: ( localize(
128
- 6106,
128
+ 6268,
129
129
  "To customize Run and Debug, [open a folder](command:{0}) and create a launch.json file.",
130
130
  OpenFolderAction.ID
131
131
  )),
@@ -134,7 +134,7 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
134
134
  });
135
135
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
136
136
  content: ( localize(
137
- 6107,
137
+ 6269,
138
138
  "All debug extensions are disabled. Enable a debug extension or install a new one from the Marketplace."
139
139
  )),
140
140
  when: ( CONTEXT_DEBUG_EXTENSION_AVAILABLE.toNegated()),
@@ -53,14 +53,14 @@ let DebugContentProvider = class DebugContentProvider extends Disposable {
53
53
  session = this.debugService.getViewModel().focusedSession;
54
54
  }
55
55
  if (!session) {
56
- return Promise.reject(( new ErrorNoTelemetry(( localize(6173, "Unable to resolve the resource without a debug session")))));
56
+ return Promise.reject(( new ErrorNoTelemetry(( localize(6336, "Unable to resolve the resource without a debug session")))));
57
57
  }
58
58
  const createErrModel = (errMsg) => {
59
59
  this.debugService.sourceIsNotAvailable(resource);
60
60
  const languageSelection = this.languageService.createById(PLAINTEXT_LANGUAGE_ID);
61
61
  const message = errMsg
62
- ? ( localize(6174, "Could not load source '{0}': {1}.", resource.path, errMsg))
63
- : ( localize(6175, "Could not load source '{0}'.", resource.path));
62
+ ? ( localize(6337, "Could not load source '{0}': {1}.", resource.path, errMsg))
63
+ : ( localize(6338, "Could not load source '{0}'.", resource.path));
64
64
  return this.modelService.createModel(message, languageSelection, resource);
65
65
  };
66
66
  return session.loadSource(resource).then(response => {
@@ -31,20 +31,20 @@ let DebugLifecycle = class DebugLifecycle {
31
31
  let message;
32
32
  if (numSessions === 1) {
33
33
  message = ( localize(
34
- 6176,
34
+ 6339,
35
35
  "There is an active debug session, are you sure you want to stop it?"
36
36
  ));
37
37
  }
38
38
  else {
39
39
  message = ( localize(
40
- 6177,
40
+ 6340,
41
41
  "There are active debug sessions, are you sure you want to stop them?"
42
42
  ));
43
43
  }
44
44
  const res = await this.dialogService.confirm({
45
45
  message,
46
46
  type: 'warning',
47
- primaryButton: ( localize(6178, "&&Stop Debugging"))
47
+ primaryButton: ( localize(6341, "&&Stop Debugging"))
48
48
  });
49
49
  return !res.confirmed;
50
50
  }
@@ -12,7 +12,7 @@ const debuggersExtPoint = ExtensionsRegistry.registerExtensionPoint({
12
12
  extensionPoint: 'debuggers',
13
13
  defaultExtensionKind: ['workspace'],
14
14
  jsonSchema: {
15
- description: ( localize(6186, 'Contributes debug adapters.')),
15
+ description: ( localize(6349, 'Contributes debug adapters.')),
16
16
  type: 'array',
17
17
  defaultSnippets: [{ body: [{ type: '' }] }],
18
18
  items: {
@@ -21,64 +21,64 @@ const debuggersExtPoint = ExtensionsRegistry.registerExtensionPoint({
21
21
  defaultSnippets: [{ body: { type: '', program: '', runtime: '' } }],
22
22
  properties: {
23
23
  type: {
24
- description: ( localize(6187, "Unique identifier for this debug adapter.")),
24
+ description: ( localize(6350, "Unique identifier for this debug adapter.")),
25
25
  type: 'string'
26
26
  },
27
27
  label: {
28
- description: ( localize(6188, "Display name for this debug adapter.")),
28
+ description: ( localize(6351, "Display name for this debug adapter.")),
29
29
  type: 'string'
30
30
  },
31
31
  program: {
32
32
  description: ( localize(
33
- 6189,
33
+ 6352,
34
34
  "Path to the debug adapter program. Path is either absolute or relative to the extension folder."
35
35
  )),
36
36
  type: 'string'
37
37
  },
38
38
  args: {
39
- description: ( localize(6190, "Optional arguments to pass to the adapter.")),
39
+ description: ( localize(6353, "Optional arguments to pass to the adapter.")),
40
40
  type: 'array'
41
41
  },
42
42
  runtime: {
43
43
  description: ( localize(
44
- 6191,
44
+ 6354,
45
45
  "Optional runtime in case the program attribute is not an executable but requires a runtime."
46
46
  )),
47
47
  type: 'string'
48
48
  },
49
49
  runtimeArgs: {
50
- description: ( localize(6192, "Optional runtime arguments.")),
50
+ description: ( localize(6355, "Optional runtime arguments.")),
51
51
  type: 'array'
52
52
  },
53
53
  variables: {
54
54
  description: ( localize(
55
- 6193,
55
+ 6356,
56
56
  "Mapping from interactive variables (e.g. ${action.pickProcess}) in `launch.json` to a command."
57
57
  )),
58
58
  type: 'object'
59
59
  },
60
60
  initialConfigurations: {
61
- description: ( localize(6194, "Configurations for generating the initial \'launch.json\'.")),
61
+ description: ( localize(6357, "Configurations for generating the initial \'launch.json\'.")),
62
62
  type: ['array', 'string'],
63
63
  },
64
64
  languages: {
65
65
  description: ( localize(
66
- 6195,
66
+ 6358,
67
67
  "List of languages for which the debug extension could be considered the \"default debugger\"."
68
68
  )),
69
69
  type: 'array'
70
70
  },
71
71
  configurationSnippets: {
72
- description: ( localize(6196, "Snippets for adding new configurations in \'launch.json\'.")),
72
+ description: ( localize(6359, "Snippets for adding new configurations in \'launch.json\'.")),
73
73
  type: 'array'
74
74
  },
75
75
  configurationAttributes: {
76
- description: ( localize(6197, "JSON schema configurations for validating \'launch.json\'.")),
76
+ description: ( localize(6360, "JSON schema configurations for validating \'launch.json\'.")),
77
77
  type: 'object'
78
78
  },
79
79
  when: {
80
80
  description: ( localize(
81
- 6198,
81
+ 6361,
82
82
  "Condition which must be true to enable this type of debugger. Consider using 'shellExecutionSupported', 'virtualWorkspace', 'resourceScheme' or an extension-defined context key as appropriate for this."
83
83
  )),
84
84
  type: 'string',
@@ -86,54 +86,54 @@ const debuggersExtPoint = ExtensionsRegistry.registerExtensionPoint({
86
86
  },
87
87
  hiddenWhen: {
88
88
  description: ( localize(
89
- 6199,
89
+ 6362,
90
90
  "When this condition is true, this debugger type is hidden from the debugger list, but is still enabled."
91
91
  )),
92
92
  type: 'string',
93
93
  default: ''
94
94
  },
95
95
  deprecated: {
96
- description: ( localize(6200, "Optional message to mark this debug type as being deprecated.")),
96
+ description: ( localize(6363, "Optional message to mark this debug type as being deprecated.")),
97
97
  type: 'string',
98
98
  default: ''
99
99
  },
100
100
  windows: {
101
- description: ( localize(6201, "Windows specific settings.")),
101
+ description: ( localize(6364, "Windows specific settings.")),
102
102
  type: 'object',
103
103
  properties: {
104
104
  runtime: {
105
- description: ( localize(6202, "Runtime used for Windows.")),
105
+ description: ( localize(6365, "Runtime used for Windows.")),
106
106
  type: 'string'
107
107
  }
108
108
  }
109
109
  },
110
110
  osx: {
111
- description: ( localize(6203, "macOS specific settings.")),
111
+ description: ( localize(6366, "macOS specific settings.")),
112
112
  type: 'object',
113
113
  properties: {
114
114
  runtime: {
115
- description: ( localize(6204, "Runtime used for macOS.")),
115
+ description: ( localize(6367, "Runtime used for macOS.")),
116
116
  type: 'string'
117
117
  }
118
118
  }
119
119
  },
120
120
  linux: {
121
- description: ( localize(6205, "Linux specific settings.")),
121
+ description: ( localize(6368, "Linux specific settings.")),
122
122
  type: 'object',
123
123
  properties: {
124
124
  runtime: {
125
- description: ( localize(6206, "Runtime used for Linux.")),
125
+ description: ( localize(6369, "Runtime used for Linux.")),
126
126
  type: 'string'
127
127
  }
128
128
  }
129
129
  },
130
130
  strings: {
131
- description: ( localize(6207, "UI strings contributed by this debug adapter.")),
131
+ description: ( localize(6370, "UI strings contributed by this debug adapter.")),
132
132
  type: 'object',
133
133
  properties: {
134
134
  unverifiedBreakpoints: {
135
135
  description: ( localize(
136
- 6208,
136
+ 6371,
137
137
  "When there are unverified breakpoints in a language supported by this debug adapter, this message will appear on the breakpoint hover and in the breakpoints view. Markdown and command links are supported."
138
138
  )),
139
139
  type: 'string'
@@ -147,7 +147,7 @@ const debuggersExtPoint = ExtensionsRegistry.registerExtensionPoint({
147
147
  const breakpointsExtPoint = ExtensionsRegistry.registerExtensionPoint({
148
148
  extensionPoint: 'breakpoints',
149
149
  jsonSchema: {
150
- description: ( localize(6209, 'Contributes breakpoints.')),
150
+ description: ( localize(6372, 'Contributes breakpoints.')),
151
151
  type: 'array',
152
152
  defaultSnippets: [{ body: [{ language: '' }] }],
153
153
  items: {
@@ -156,12 +156,12 @@ const breakpointsExtPoint = ExtensionsRegistry.registerExtensionPoint({
156
156
  defaultSnippets: [{ body: { language: '' } }],
157
157
  properties: {
158
158
  language: {
159
- description: ( localize(6210, "Allow breakpoints for this language.")),
159
+ description: ( localize(6373, "Allow breakpoints for this language.")),
160
160
  type: 'string'
161
161
  },
162
162
  when: {
163
163
  description: ( localize(
164
- 6211,
164
+ 6374,
165
165
  "Condition which must be true to enable breakpoints in this language. Consider matching this to the debugger when clause as appropriate."
166
166
  )),
167
167
  type: 'string',
@@ -174,7 +174,7 @@ const breakpointsExtPoint = ExtensionsRegistry.registerExtensionPoint({
174
174
  const presentationSchema = {
175
175
  type: 'object',
176
176
  description: ( localize(
177
- 6212,
177
+ 6375,
178
178
  "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette."
179
179
  )),
180
180
  properties: {
@@ -182,7 +182,7 @@ const presentationSchema = {
182
182
  type: 'boolean',
183
183
  default: false,
184
184
  description: ( localize(
185
- 6213,
185
+ 6376,
186
186
  "Controls if this configuration should be shown in the configuration dropdown and the command palette."
187
187
  ))
188
188
  },
@@ -190,7 +190,7 @@ const presentationSchema = {
190
190
  type: 'string',
191
191
  default: '',
192
192
  description: ( localize(
193
- 6214,
193
+ 6377,
194
194
  "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette."
195
195
  ))
196
196
  },
@@ -198,7 +198,7 @@ const presentationSchema = {
198
198
  type: 'number',
199
199
  default: 1,
200
200
  description: ( localize(
201
- 6215,
201
+ 6378,
202
202
  "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette."
203
203
  ))
204
204
  }
@@ -213,7 +213,7 @@ const defaultCompound = { name: 'Compound', configurations: [] };
213
213
  const launchSchema = {
214
214
  id: launchSchemaId,
215
215
  type: 'object',
216
- title: ( localize(6216, "Launch")),
216
+ title: ( localize(6379, "Launch")),
217
217
  allowTrailingCommas: true,
218
218
  allowComments: true,
219
219
  required: [],
@@ -221,13 +221,13 @@ const launchSchema = {
221
221
  properties: {
222
222
  version: {
223
223
  type: 'string',
224
- description: ( localize(6217, "Version of this file format.")),
224
+ description: ( localize(6380, "Version of this file format.")),
225
225
  default: '0.2.0'
226
226
  },
227
227
  configurations: {
228
228
  type: 'array',
229
229
  description: ( localize(
230
- 6218,
230
+ 6381,
231
231
  "List of configurations. Add new configurations or edit existing ones by using IntelliSense."
232
232
  )),
233
233
  items: {
@@ -239,7 +239,7 @@ const launchSchema = {
239
239
  compounds: {
240
240
  type: 'array',
241
241
  description: ( localize(
242
- 6219,
242
+ 6382,
243
243
  "List of compounds. Each compound references multiple configurations which will get launched together."
244
244
  )),
245
245
  items: {
@@ -249,7 +249,7 @@ const launchSchema = {
249
249
  name: {
250
250
  type: 'string',
251
251
  description: ( localize(
252
- 6220,
252
+ 6383,
253
253
  "Name of compound. Appears in the launch configuration drop down menu."
254
254
  ))
255
255
  },
@@ -260,7 +260,7 @@ const launchSchema = {
260
260
  items: {
261
261
  oneOf: [{
262
262
  enum: [],
263
- description: ( localize(6221, "Please use unique configuration names."))
263
+ description: ( localize(6384, "Please use unique configuration names."))
264
264
  }, {
265
265
  type: 'object',
266
266
  required: ['name'],
@@ -268,19 +268,19 @@ const launchSchema = {
268
268
  name: {
269
269
  enum: [],
270
270
  description: ( localize(
271
- 6220,
271
+ 6383,
272
272
  "Name of compound. Appears in the launch configuration drop down menu."
273
273
  ))
274
274
  },
275
275
  folder: {
276
276
  enum: [],
277
- description: ( localize(6222, "Name of folder in which the compound is located."))
277
+ description: ( localize(6385, "Name of folder in which the compound is located."))
278
278
  }
279
279
  }
280
280
  }]
281
281
  },
282
282
  description: ( localize(
283
- 6223,
283
+ 6386,
284
284
  "Names of configurations that will be started as part of this compound."
285
285
  ))
286
286
  },
@@ -288,14 +288,14 @@ const launchSchema = {
288
288
  type: 'boolean',
289
289
  default: false,
290
290
  description: ( localize(
291
- 6224,
291
+ 6387,
292
292
  "Controls whether manually terminating one session will stop all of the compound sessions."
293
293
  ))
294
294
  },
295
295
  preLaunchTask: {
296
296
  type: 'string',
297
297
  default: '',
298
- description: ( localize(6225, "Task to run before any of the compound configurations start."))
298
+ description: ( localize(6388, "Task to run before any of the compound configurations start."))
299
299
  }
300
300
  },
301
301
  default: defaultCompound
@@ -321,8 +321,8 @@ class DebuggersDataRenderer extends Disposable {
321
321
  return { data: { headers: [], rows: [] }, dispose: () => { } };
322
322
  }
323
323
  const headers = [
324
- ( localize(6226, "Name")),
325
- ( localize(6227, "Type")),
324
+ ( localize(6389, "Name")),
325
+ ( localize(6390, "Type")),
326
326
  ];
327
327
  const rows = ( contrib.map(d => {
328
328
  return [
@@ -341,7 +341,7 @@ class DebuggersDataRenderer extends Disposable {
341
341
  }
342
342
  ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
343
343
  id: 'debuggers',
344
- label: ( localize(6228, "Debuggers")),
344
+ label: ( localize(6391, "Debuggers")),
345
345
  access: {
346
346
  canToggle: false
347
347
  },
@@ -31,6 +31,7 @@ export declare class ViewModel implements IViewModel {
31
31
  private multiSessionDebug;
32
32
  private terminateDebuggeeSupported;
33
33
  private suspendDebuggeeSupported;
34
+ private terminateThreadsSupported;
34
35
  private disassembleRequestSupported;
35
36
  private focusedStackFrameHasInstructionPointerReference;
36
37
  constructor(contextKeyService: IContextKeyService);
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
3
- import { CONTEXT_EXPRESSION_SELECTED, CONTEXT_LOADED_SCRIPTS_SUPPORTED, CONTEXT_STEP_BACK_SUPPORTED, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG, CONTEXT_RESTART_FRAME_SUPPORTED, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, CONTEXT_SET_VARIABLE_SUPPORTED, CONTEXT_SET_DATA_BREAKPOINT_BYTES_SUPPORTED, CONTEXT_SET_EXPRESSION_SUPPORTED, CONTEXT_MULTI_SESSION_DEBUG, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED, CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
3
+ import { CONTEXT_EXPRESSION_SELECTED, CONTEXT_LOADED_SCRIPTS_SUPPORTED, CONTEXT_STEP_BACK_SUPPORTED, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG, CONTEXT_RESTART_FRAME_SUPPORTED, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, CONTEXT_SET_VARIABLE_SUPPORTED, CONTEXT_SET_DATA_BREAKPOINT_BYTES_SUPPORTED, CONTEXT_SET_EXPRESSION_SUPPORTED, CONTEXT_MULTI_SESSION_DEBUG, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_TERMINATE_THREADS_SUPPORTED, CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED, CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
4
4
  import { isSessionAttach } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debugUtils';
5
5
 
6
6
  class ViewModel {
@@ -31,6 +31,7 @@ class ViewModel {
31
31
  this.multiSessionDebug = CONTEXT_MULTI_SESSION_DEBUG.bindTo(contextKeyService);
32
32
  this.terminateDebuggeeSupported = CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED.bindTo(contextKeyService);
33
33
  this.suspendDebuggeeSupported = CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED.bindTo(contextKeyService);
34
+ this.terminateThreadsSupported = CONTEXT_TERMINATE_THREADS_SUPPORTED.bindTo(contextKeyService);
34
35
  this.disassembleRequestSupported = CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED.bindTo(contextKeyService);
35
36
  this.focusedStackFrameHasInstructionPointerReference = CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE.bindTo(contextKeyService);
36
37
  });
@@ -65,6 +66,7 @@ class ViewModel {
65
66
  this.setExpressionSupported.set(!!session?.capabilities.supportsSetExpression);
66
67
  this.terminateDebuggeeSupported.set(!!session?.capabilities.supportTerminateDebuggee);
67
68
  this.suspendDebuggeeSupported.set(!!session?.capabilities.supportSuspendDebuggee);
69
+ this.terminateThreadsSupported.set(!!session?.capabilities.supportsTerminateThreadsRequest);
68
70
  this.disassembleRequestSupported.set(!!session?.capabilities.supportsDisassembleRequest);
69
71
  this.focusedStackFrameHasInstructionPointerReference.set(!!stackFrame?.instructionPointerReference);
70
72
  const attach = !!session && isSessionAttach(session);
@@ -6,7 +6,7 @@ import { DebugConfigurationProviderTriggerKind, debuggerDisabledMessage } from '
6
6
  import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
7
7
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
8
8
  import { IConfigurationResolverService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/configurationResolver/common/configurationResolver.service';
9
- import { applyDeprecatedVariableMessage } from '@codingame/monaco-vscode-ce7c734f-7712-563c-9335-d7acb43306af-common/vscode/vs/workbench/services/configurationResolver/common/configurationResolverUtils';
9
+ import { applyDeprecatedVariableMessage } from '@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common/vscode/vs/workbench/services/configurationResolver/common/configurationResolverUtils';
10
10
  import { ITextResourcePropertiesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration.service';
11
11
  import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
12
12
  import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
@@ -79,7 +79,7 @@ let Debugger = class Debugger {
79
79
  if (da) {
80
80
  return Promise.resolve(da);
81
81
  }
82
- throw ( new Error(( localize(6230, "Cannot find debug adapter for type '{0}'.", this.type))));
82
+ throw ( new Error(( localize(6393, "Cannot find debug adapter for type '{0}'.", this.type))));
83
83
  }
84
84
  async substituteVariables(folder, config) {
85
85
  const substitutedConfig = await this.adapterManager.substituteVariables(this.type, folder, config);
@@ -140,10 +140,10 @@ let Debugger = class Debugger {
140
140
  }
141
141
  const eol = this.resourcePropertiesService.getEOL(( URI.from({ scheme: Schemas.untitled, path: '1' }))) === '\r\n' ? '\r\n' : '\n';
142
142
  const configs = ( JSON.stringify(initialConfigurations, null, '\t').split('\n').map(line => '\t' + line)).join(eol).trim();
143
- const comment1 = ( localize(6231, "Use IntelliSense to learn about possible attributes."));
144
- const comment2 = ( localize(6232, "Hover to view descriptions of existing attributes."));
143
+ const comment1 = ( localize(6394, "Use IntelliSense to learn about possible attributes."));
144
+ const comment2 = ( localize(6395, "Hover to view descriptions of existing attributes."));
145
145
  const comment3 = ( localize(
146
- 6233,
146
+ 6396,
147
147
  "For more information, visit: {0}",
148
148
  'https://go.microsoft.com/fwlink/?linkid=830387'
149
149
  ));
@@ -196,22 +196,22 @@ let Debugger = class Debugger {
196
196
  properties['type'] = {
197
197
  enum: [this.type],
198
198
  enumDescriptions: [this.label],
199
- description: ( localize(6234, "Type of configuration.")),
199
+ description: ( localize(6397, "Type of configuration.")),
200
200
  pattern: '^(?!node2)',
201
201
  deprecationMessage: this.debuggerContribution.deprecated || (this.enabled ? undefined : debuggerDisabledMessage(this.type)),
202
202
  doNotSuggest: !!this.debuggerContribution.deprecated,
203
203
  errorMessage: ( localize(
204
- 6235,
204
+ 6398,
205
205
  "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled."
206
206
  )),
207
207
  patternErrorMessage: ( localize(
208
- 6236,
208
+ 6399,
209
209
  "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"."
210
210
  ))
211
211
  };
212
212
  properties['request'] = {
213
213
  enum: [request],
214
- description: ( localize(6237, "Request type of configuration. Can be \"launch\" or \"attach\".")),
214
+ description: ( localize(6400, "Request type of configuration. Can be \"launch\" or \"attach\".")),
215
215
  };
216
216
  for (const prop in definitions['common'].properties) {
217
217
  properties[prop] = {
@@ -233,15 +233,15 @@ let Debugger = class Debugger {
233
233
  ...{
234
234
  windows: {
235
235
  $ref: `#/definitions/${platformSpecificDefinitionId}`,
236
- description: ( localize(6238, "Windows specific launch configuration attributes.")),
236
+ description: ( localize(6401, "Windows specific launch configuration attributes.")),
237
237
  },
238
238
  osx: {
239
239
  $ref: `#/definitions/${platformSpecificDefinitionId}`,
240
- description: ( localize(6239, "OS X specific launch configuration attributes.")),
240
+ description: ( localize(6402, "OS X specific launch configuration attributes.")),
241
241
  },
242
242
  linux: {
243
243
  $ref: `#/definitions/${platformSpecificDefinitionId}`,
244
- description: ( localize(6240, "Linux specific launch configuration attributes.")),
244
+ description: ( localize(6403, "Linux specific launch configuration attributes.")),
245
245
  }
246
246
  }
247
247
  };
@@ -8,7 +8,7 @@ import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/w
8
8
  import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
9
9
 
10
10
  const COPY_NOTEBOOK_VARIABLE_VALUE_ID = 'workbench.debug.viewlet.action.copyWorkspaceVariableValue';
11
- const COPY_NOTEBOOK_VARIABLE_VALUE_LABEL = ( localize(8237, "Copy Value"));
11
+ const COPY_NOTEBOOK_VARIABLE_VALUE_LABEL = ( localize(8460, "Copy Value"));
12
12
  registerAction2(class extends Action2 {
13
13
  constructor() {
14
14
  super({
@@ -28,7 +28,7 @@ registerAction2(class extends Action2 {
28
28
  constructor() {
29
29
  super({
30
30
  id: '_executeNotebookVariableProvider',
31
- title: ( localize(8238, "Execute Notebook Variable Provider")),
31
+ title: ( localize(8461, "Execute Notebook Variable Provider")),
32
32
  f1: false,
33
33
  });
34
34
  }