@codingame/monaco-vscode-debug-service-override 8.0.0 → 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.
Files changed (35) hide show
  1. package/package.json +2 -2
  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 +107 -107
  4. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +6 -6
  5. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +11 -11
  6. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +5 -5
  7. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +1 -1
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +24 -24
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +8 -8
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +21 -21
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +41 -41
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +15 -15
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +3 -3
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +5 -5
  18. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +7 -7
  19. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +4 -4
  20. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +3 -3
  21. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +7 -7
  22. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
  23. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +16 -16
  24. package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +11 -11
  25. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
  26. package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +20 -15
  27. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
  28. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
  29. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +9 -9
  30. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +7 -7
  31. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +3 -3
  32. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
  33. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
  34. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +11 -11
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
@@ -11,7 +11,7 @@ const debuggersExtPoint = ExtensionsRegistry.registerExtensionPoint({
11
11
  extensionPoint: 'debuggers',
12
12
  defaultExtensionKind: ['workspace'],
13
13
  jsonSchema: {
14
- description: ( localize(10158, 'Contributes debug adapters.')),
14
+ description: ( localize(10170, 'Contributes debug adapters.')),
15
15
  type: 'array',
16
16
  defaultSnippets: [{ body: [{ type: '' }] }],
17
17
  items: {
@@ -20,64 +20,64 @@ const debuggersExtPoint = ExtensionsRegistry.registerExtensionPoint({
20
20
  defaultSnippets: [{ body: { type: '', program: '', runtime: '' } }],
21
21
  properties: {
22
22
  type: {
23
- description: ( localize(10159, "Unique identifier for this debug adapter.")),
23
+ description: ( localize(10171, "Unique identifier for this debug adapter.")),
24
24
  type: 'string'
25
25
  },
26
26
  label: {
27
- description: ( localize(10160, "Display name for this debug adapter.")),
27
+ description: ( localize(10172, "Display name for this debug adapter.")),
28
28
  type: 'string'
29
29
  },
30
30
  program: {
31
31
  description: ( localize(
32
- 10161,
32
+ 10173,
33
33
  "Path to the debug adapter program. Path is either absolute or relative to the extension folder."
34
34
  )),
35
35
  type: 'string'
36
36
  },
37
37
  args: {
38
- description: ( localize(10162, "Optional arguments to pass to the adapter.")),
38
+ description: ( localize(10174, "Optional arguments to pass to the adapter.")),
39
39
  type: 'array'
40
40
  },
41
41
  runtime: {
42
42
  description: ( localize(
43
- 10163,
43
+ 10175,
44
44
  "Optional runtime in case the program attribute is not an executable but requires a runtime."
45
45
  )),
46
46
  type: 'string'
47
47
  },
48
48
  runtimeArgs: {
49
- description: ( localize(10164, "Optional runtime arguments.")),
49
+ description: ( localize(10176, "Optional runtime arguments.")),
50
50
  type: 'array'
51
51
  },
52
52
  variables: {
53
53
  description: ( localize(
54
- 10165,
54
+ 10177,
55
55
  "Mapping from interactive variables (e.g. ${action.pickProcess}) in `launch.json` to a command."
56
56
  )),
57
57
  type: 'object'
58
58
  },
59
59
  initialConfigurations: {
60
- description: ( localize(10166, "Configurations for generating the initial \'launch.json\'.")),
60
+ description: ( localize(10178, "Configurations for generating the initial \'launch.json\'.")),
61
61
  type: ['array', 'string'],
62
62
  },
63
63
  languages: {
64
64
  description: ( localize(
65
- 10167,
65
+ 10179,
66
66
  "List of languages for which the debug extension could be considered the \"default debugger\"."
67
67
  )),
68
68
  type: 'array'
69
69
  },
70
70
  configurationSnippets: {
71
- description: ( localize(10168, "Snippets for adding new configurations in \'launch.json\'.")),
71
+ description: ( localize(10180, "Snippets for adding new configurations in \'launch.json\'.")),
72
72
  type: 'array'
73
73
  },
74
74
  configurationAttributes: {
75
- description: ( localize(10169, "JSON schema configurations for validating \'launch.json\'.")),
75
+ description: ( localize(10181, "JSON schema configurations for validating \'launch.json\'.")),
76
76
  type: 'object'
77
77
  },
78
78
  when: {
79
79
  description: ( localize(
80
- 10170,
80
+ 10182,
81
81
  "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."
82
82
  )),
83
83
  type: 'string',
@@ -85,54 +85,54 @@ const debuggersExtPoint = ExtensionsRegistry.registerExtensionPoint({
85
85
  },
86
86
  hiddenWhen: {
87
87
  description: ( localize(
88
- 10171,
88
+ 10183,
89
89
  "When this condition is true, this debugger type is hidden from the debugger list, but is still enabled."
90
90
  )),
91
91
  type: 'string',
92
92
  default: ''
93
93
  },
94
94
  deprecated: {
95
- description: ( localize(10172, "Optional message to mark this debug type as being deprecated.")),
95
+ description: ( localize(10184, "Optional message to mark this debug type as being deprecated.")),
96
96
  type: 'string',
97
97
  default: ''
98
98
  },
99
99
  windows: {
100
- description: ( localize(10173, "Windows specific settings.")),
100
+ description: ( localize(10185, "Windows specific settings.")),
101
101
  type: 'object',
102
102
  properties: {
103
103
  runtime: {
104
- description: ( localize(10174, "Runtime used for Windows.")),
104
+ description: ( localize(10186, "Runtime used for Windows.")),
105
105
  type: 'string'
106
106
  }
107
107
  }
108
108
  },
109
109
  osx: {
110
- description: ( localize(10175, "macOS specific settings.")),
110
+ description: ( localize(10187, "macOS specific settings.")),
111
111
  type: 'object',
112
112
  properties: {
113
113
  runtime: {
114
- description: ( localize(10176, "Runtime used for macOS.")),
114
+ description: ( localize(10188, "Runtime used for macOS.")),
115
115
  type: 'string'
116
116
  }
117
117
  }
118
118
  },
119
119
  linux: {
120
- description: ( localize(10177, "Linux specific settings.")),
120
+ description: ( localize(10189, "Linux specific settings.")),
121
121
  type: 'object',
122
122
  properties: {
123
123
  runtime: {
124
- description: ( localize(10178, "Runtime used for Linux.")),
124
+ description: ( localize(10190, "Runtime used for Linux.")),
125
125
  type: 'string'
126
126
  }
127
127
  }
128
128
  },
129
129
  strings: {
130
- description: ( localize(10179, "UI strings contributed by this debug adapter.")),
130
+ description: ( localize(10191, "UI strings contributed by this debug adapter.")),
131
131
  type: 'object',
132
132
  properties: {
133
133
  unverifiedBreakpoints: {
134
134
  description: ( localize(
135
- 10180,
135
+ 10192,
136
136
  "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."
137
137
  )),
138
138
  type: 'string'
@@ -146,7 +146,7 @@ const debuggersExtPoint = ExtensionsRegistry.registerExtensionPoint({
146
146
  const breakpointsExtPoint = ExtensionsRegistry.registerExtensionPoint({
147
147
  extensionPoint: 'breakpoints',
148
148
  jsonSchema: {
149
- description: ( localize(10181, 'Contributes breakpoints.')),
149
+ description: ( localize(10193, 'Contributes breakpoints.')),
150
150
  type: 'array',
151
151
  defaultSnippets: [{ body: [{ language: '' }] }],
152
152
  items: {
@@ -155,12 +155,12 @@ const breakpointsExtPoint = ExtensionsRegistry.registerExtensionPoint({
155
155
  defaultSnippets: [{ body: { language: '' } }],
156
156
  properties: {
157
157
  language: {
158
- description: ( localize(10182, "Allow breakpoints for this language.")),
158
+ description: ( localize(10194, "Allow breakpoints for this language.")),
159
159
  type: 'string'
160
160
  },
161
161
  when: {
162
162
  description: ( localize(
163
- 10183,
163
+ 10195,
164
164
  "Condition which must be true to enable breakpoints in this language. Consider matching this to the debugger when clause as appropriate."
165
165
  )),
166
166
  type: 'string',
@@ -173,7 +173,7 @@ const breakpointsExtPoint = ExtensionsRegistry.registerExtensionPoint({
173
173
  const presentationSchema = {
174
174
  type: 'object',
175
175
  description: ( localize(
176
- 10184,
176
+ 10196,
177
177
  "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette."
178
178
  )),
179
179
  properties: {
@@ -181,7 +181,7 @@ const presentationSchema = {
181
181
  type: 'boolean',
182
182
  default: false,
183
183
  description: ( localize(
184
- 10185,
184
+ 10197,
185
185
  "Controls if this configuration should be shown in the configuration dropdown and the command palette."
186
186
  ))
187
187
  },
@@ -189,7 +189,7 @@ const presentationSchema = {
189
189
  type: 'string',
190
190
  default: '',
191
191
  description: ( localize(
192
- 10186,
192
+ 10198,
193
193
  "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette."
194
194
  ))
195
195
  },
@@ -197,7 +197,7 @@ const presentationSchema = {
197
197
  type: 'number',
198
198
  default: 1,
199
199
  description: ( localize(
200
- 10187,
200
+ 10199,
201
201
  "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette."
202
202
  ))
203
203
  }
@@ -212,7 +212,7 @@ const defaultCompound = { name: 'Compound', configurations: [] };
212
212
  const launchSchema = {
213
213
  id: launchSchemaId,
214
214
  type: 'object',
215
- title: ( localize(10188, "Launch")),
215
+ title: ( localize(10200, "Launch")),
216
216
  allowTrailingCommas: true,
217
217
  allowComments: true,
218
218
  required: [],
@@ -220,13 +220,13 @@ const launchSchema = {
220
220
  properties: {
221
221
  version: {
222
222
  type: 'string',
223
- description: ( localize(10189, "Version of this file format.")),
223
+ description: ( localize(10201, "Version of this file format.")),
224
224
  default: '0.2.0'
225
225
  },
226
226
  configurations: {
227
227
  type: 'array',
228
228
  description: ( localize(
229
- 10190,
229
+ 10202,
230
230
  "List of configurations. Add new configurations or edit existing ones by using IntelliSense."
231
231
  )),
232
232
  items: {
@@ -238,7 +238,7 @@ const launchSchema = {
238
238
  compounds: {
239
239
  type: 'array',
240
240
  description: ( localize(
241
- 10191,
241
+ 10203,
242
242
  "List of compounds. Each compound references multiple configurations which will get launched together."
243
243
  )),
244
244
  items: {
@@ -248,7 +248,7 @@ const launchSchema = {
248
248
  name: {
249
249
  type: 'string',
250
250
  description: ( localize(
251
- 10192,
251
+ 10204,
252
252
  "Name of compound. Appears in the launch configuration drop down menu."
253
253
  ))
254
254
  },
@@ -259,7 +259,7 @@ const launchSchema = {
259
259
  items: {
260
260
  oneOf: [{
261
261
  enum: [],
262
- description: ( localize(10193, "Please use unique configuration names."))
262
+ description: ( localize(10205, "Please use unique configuration names."))
263
263
  }, {
264
264
  type: 'object',
265
265
  required: ['name'],
@@ -267,19 +267,19 @@ const launchSchema = {
267
267
  name: {
268
268
  enum: [],
269
269
  description: ( localize(
270
- 10193,
270
+ 10204,
271
271
  "Name of compound. Appears in the launch configuration drop down menu."
272
272
  ))
273
273
  },
274
274
  folder: {
275
275
  enum: [],
276
- description: ( localize(10194, "Name of folder in which the compound is located."))
276
+ description: ( localize(10206, "Name of folder in which the compound is located."))
277
277
  }
278
278
  }
279
279
  }]
280
280
  },
281
281
  description: ( localize(
282
- 10195,
282
+ 10207,
283
283
  "Names of configurations that will be started as part of this compound."
284
284
  ))
285
285
  },
@@ -287,14 +287,14 @@ const launchSchema = {
287
287
  type: 'boolean',
288
288
  default: false,
289
289
  description: ( localize(
290
- 10196,
290
+ 10208,
291
291
  "Controls whether manually terminating one session will stop all of the compound sessions."
292
292
  ))
293
293
  },
294
294
  preLaunchTask: {
295
295
  type: 'string',
296
296
  default: '',
297
- description: ( localize(10197, "Task to run before any of the compound configurations start."))
297
+ description: ( localize(10209, "Task to run before any of the compound configurations start."))
298
298
  }
299
299
  },
300
300
  default: defaultCompound
@@ -320,8 +320,8 @@ class DebuggersDataRenderer extends Disposable {
320
320
  return { data: { headers: [], rows: [] }, dispose: () => { } };
321
321
  }
322
322
  const headers = [
323
- ( localize(10198, "Name")),
324
- ( localize(10199, "Type")),
323
+ ( localize(10210, "Name")),
324
+ ( localize(10211, "Type")),
325
325
  ];
326
326
  const rows = ( (contrib.map(d => {
327
327
  return [
@@ -340,7 +340,7 @@ class DebuggersDataRenderer extends Disposable {
340
340
  }
341
341
  ( (Registry.as(Extensions.ExtensionFeaturesRegistry))).registerExtensionFeature({
342
342
  id: 'debuggers',
343
- label: ( localize(10200, "Debuggers")),
343
+ label: ( localize(10212, "Debuggers")),
344
344
  access: {
345
345
  canToggle: false
346
346
  },
@@ -78,7 +78,7 @@ let Debugger = class Debugger {
78
78
  if (da) {
79
79
  return Promise.resolve(da);
80
80
  }
81
- throw ( (new Error(localize(10147, "Cannot find debug adapter for type '{0}'.", this.type))));
81
+ throw ( (new Error(localize(10159, "Cannot find debug adapter for type '{0}'.", this.type))));
82
82
  }
83
83
  async substituteVariables(folder, config) {
84
84
  const substitutedConfig = await this.adapterManager.substituteVariables(this.type, folder, config);
@@ -139,10 +139,10 @@ let Debugger = class Debugger {
139
139
  }
140
140
  const eol = this.resourcePropertiesService.getEOL(( (URI.from({ scheme: Schemas.untitled, path: '1' })))) === '\r\n' ? '\r\n' : '\n';
141
141
  const configs = ( (JSON.stringify(initialConfigurations, null, '\t').split('\n').map(line => '\t' + line))).join(eol).trim();
142
- const comment1 = ( localize(10148, "Use IntelliSense to learn about possible attributes."));
143
- const comment2 = ( localize(10149, "Hover to view descriptions of existing attributes."));
142
+ const comment1 = ( localize(10160, "Use IntelliSense to learn about possible attributes."));
143
+ const comment2 = ( localize(10161, "Hover to view descriptions of existing attributes."));
144
144
  const comment3 = ( localize(
145
- 10150,
145
+ 10162,
146
146
  "For more information, visit: {0}",
147
147
  'https://go.microsoft.com/fwlink/?linkid=830387'
148
148
  ));
@@ -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(10151, "Type of configuration.")),
199
+ description: ( localize(10163, "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
- 10152,
204
+ 10164,
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
- 10153,
208
+ 10165,
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(10154, "Request type of configuration. Can be \"launch\" or \"attach\".")),
214
+ description: ( localize(10166, "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(10155, "Windows specific launch configuration attributes.")),
236
+ description: ( localize(10167, "Windows specific launch configuration attributes.")),
237
237
  },
238
238
  osx: {
239
239
  $ref: `#/definitions/${platformSpecificDefinitionId}`,
240
- description: ( localize(10156, "OS X specific launch configuration attributes.")),
240
+ description: ( localize(10168, "OS X specific launch configuration attributes.")),
241
241
  },
242
242
  linux: {
243
243
  $ref: `#/definitions/${platformSpecificDefinitionId}`,
244
- description: ( localize(10157, "Linux specific launch configuration attributes.")),
244
+ description: ( localize(10169, "Linux specific launch configuration attributes.")),
245
245
  }
246
246
  }
247
247
  };
@@ -7,7 +7,7 @@ import { INotebookKernelService } from 'vscode/vscode/vs/workbench/contrib/noteb
7
7
  import { INotebookService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
8
8
 
9
9
  const COPY_NOTEBOOK_VARIABLE_VALUE_ID = 'workbench.debug.viewlet.action.copyWorkspaceVariableValue';
10
- const COPY_NOTEBOOK_VARIABLE_VALUE_LABEL = ( localize(6077, "Copy Value"));
10
+ const COPY_NOTEBOOK_VARIABLE_VALUE_LABEL = ( localize(6113, "Copy Value"));
11
11
  registerAction2(class extends Action2 {
12
12
  constructor() {
13
13
  super({
@@ -27,7 +27,7 @@ registerAction2(class extends Action2 {
27
27
  constructor() {
28
28
  super({
29
29
  id: '_executeNotebookVariableProvider',
30
- title: ( localize(6078, "Execute Notebook Variable Provider")),
30
+ title: ( localize(6114, "Execute Notebook Variable Provider")),
31
31
  f1: false,
32
32
  });
33
33
  }