@codingame/monaco-vscode-debug-service-override 1.82.4 → 1.82.5-next.1
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/debug.d.ts +5 -0
- package/debug.js +24 -0
- package/external/rollup-plugin-styles/dist/runtime/inject-css.js +3 -0
- package/external/tslib/tslib.es6.js +11 -0
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/override/vs/platform/dialogs/common/dialogs.js +8 -0
- package/package.json +2 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +44 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +200 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +785 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +399 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +1298 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +178 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +960 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +497 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugANSIHandling.js +347 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +299 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +400 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +827 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +621 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +60 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +527 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +681 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +356 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +206 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugProgress.js +82 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +143 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +1174 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +1144 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +106 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +68 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +275 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +314 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +168 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +663 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +105 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +231 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +631 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugHover.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugToolBar.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/exceptionWidget.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/repl.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +695 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +953 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +48 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +336 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +98 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +575 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +415 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +102 -0
- package/vscode/src/vs/workbench/contrib/debug/common/breakpoints.js +21 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugCompoundRoot.js +17 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +100 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +59 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +1482 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +346 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +123 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +175 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugTelemetry.js +36 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.js +117 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +260 -0
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +27 -0
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +83 -0
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +283 -0
- package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +305 -0
- package/vscode/src/vs/workbench/services/configurationResolver/browser/configurationResolverService.js +28 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +176 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +12 -0
package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import * as nls from 'monaco-editor/esm/vs/nls.js';
|
|
2
|
+
|
|
3
|
+
const idDescription = ( nls.localize(
|
|
4
|
+
'JsonSchema.input.id',
|
|
5
|
+
"The input's id is used to associate an input with a variable of the form ${input:id}."
|
|
6
|
+
));
|
|
7
|
+
const typeDescription = ( nls.localize('JsonSchema.input.type', "The type of user input prompt to use."));
|
|
8
|
+
const descriptionDescription = ( nls.localize(
|
|
9
|
+
'JsonSchema.input.description',
|
|
10
|
+
"The description is shown when the user is prompted for input."
|
|
11
|
+
));
|
|
12
|
+
const defaultDescription = ( nls.localize('JsonSchema.input.default', "The default value for the input."));
|
|
13
|
+
const inputsSchema = {
|
|
14
|
+
definitions: {
|
|
15
|
+
inputs: {
|
|
16
|
+
type: 'array',
|
|
17
|
+
description: ( nls.localize(
|
|
18
|
+
'JsonSchema.inputs',
|
|
19
|
+
'User inputs. Used for defining user input prompts, such as free string input or a choice from several options.'
|
|
20
|
+
)),
|
|
21
|
+
items: {
|
|
22
|
+
oneOf: [
|
|
23
|
+
{
|
|
24
|
+
type: 'object',
|
|
25
|
+
required: ['id', 'type', 'description'],
|
|
26
|
+
additionalProperties: false,
|
|
27
|
+
properties: {
|
|
28
|
+
id: {
|
|
29
|
+
type: 'string',
|
|
30
|
+
description: idDescription
|
|
31
|
+
},
|
|
32
|
+
type: {
|
|
33
|
+
type: 'string',
|
|
34
|
+
description: typeDescription,
|
|
35
|
+
enum: ['promptString'],
|
|
36
|
+
enumDescriptions: [
|
|
37
|
+
( nls.localize(
|
|
38
|
+
'JsonSchema.input.type.promptString',
|
|
39
|
+
"The 'promptString' type opens an input box to ask the user for input."
|
|
40
|
+
)),
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
description: {
|
|
44
|
+
type: 'string',
|
|
45
|
+
description: descriptionDescription
|
|
46
|
+
},
|
|
47
|
+
default: {
|
|
48
|
+
type: 'string',
|
|
49
|
+
description: defaultDescription
|
|
50
|
+
},
|
|
51
|
+
password: {
|
|
52
|
+
type: 'boolean',
|
|
53
|
+
description: ( nls.localize(
|
|
54
|
+
'JsonSchema.input.password',
|
|
55
|
+
"Controls if a password input is shown. Password input hides the typed text."
|
|
56
|
+
)),
|
|
57
|
+
},
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
type: 'object',
|
|
62
|
+
required: ['id', 'type', 'description', 'options'],
|
|
63
|
+
additionalProperties: false,
|
|
64
|
+
properties: {
|
|
65
|
+
id: {
|
|
66
|
+
type: 'string',
|
|
67
|
+
description: idDescription
|
|
68
|
+
},
|
|
69
|
+
type: {
|
|
70
|
+
type: 'string',
|
|
71
|
+
description: typeDescription,
|
|
72
|
+
enum: ['pickString'],
|
|
73
|
+
enumDescriptions: [
|
|
74
|
+
( nls.localize(
|
|
75
|
+
'JsonSchema.input.type.pickString',
|
|
76
|
+
"The 'pickString' type shows a selection list."
|
|
77
|
+
)),
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
description: {
|
|
81
|
+
type: 'string',
|
|
82
|
+
description: descriptionDescription
|
|
83
|
+
},
|
|
84
|
+
default: {
|
|
85
|
+
type: 'string',
|
|
86
|
+
description: defaultDescription
|
|
87
|
+
},
|
|
88
|
+
options: {
|
|
89
|
+
type: 'array',
|
|
90
|
+
description: ( nls.localize(
|
|
91
|
+
'JsonSchema.input.options',
|
|
92
|
+
"An array of strings that defines the options for a quick pick."
|
|
93
|
+
)),
|
|
94
|
+
items: {
|
|
95
|
+
oneOf: [
|
|
96
|
+
{
|
|
97
|
+
type: 'string'
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
type: 'object',
|
|
101
|
+
required: ['value'],
|
|
102
|
+
additionalProperties: false,
|
|
103
|
+
properties: {
|
|
104
|
+
label: {
|
|
105
|
+
type: 'string',
|
|
106
|
+
description: ( nls.localize('JsonSchema.input.pickString.optionLabel', "Label for the option."))
|
|
107
|
+
},
|
|
108
|
+
value: {
|
|
109
|
+
type: 'string',
|
|
110
|
+
description: ( nls.localize('JsonSchema.input.pickString.optionValue', "Value for the option."))
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
type: 'object',
|
|
121
|
+
required: ['id', 'type', 'command'],
|
|
122
|
+
additionalProperties: false,
|
|
123
|
+
properties: {
|
|
124
|
+
id: {
|
|
125
|
+
type: 'string',
|
|
126
|
+
description: idDescription
|
|
127
|
+
},
|
|
128
|
+
type: {
|
|
129
|
+
type: 'string',
|
|
130
|
+
description: typeDescription,
|
|
131
|
+
enum: ['command'],
|
|
132
|
+
enumDescriptions: [
|
|
133
|
+
( nls.localize('JsonSchema.input.type.command', "The 'command' type executes a command.")),
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
command: {
|
|
137
|
+
type: 'string',
|
|
138
|
+
description: ( nls.localize(
|
|
139
|
+
'JsonSchema.input.command.command',
|
|
140
|
+
"The command to execute for this input variable."
|
|
141
|
+
))
|
|
142
|
+
},
|
|
143
|
+
args: {
|
|
144
|
+
oneOf: [
|
|
145
|
+
{
|
|
146
|
+
type: 'object',
|
|
147
|
+
description: ( nls.localize(
|
|
148
|
+
'JsonSchema.input.command.args',
|
|
149
|
+
"Optional arguments passed to the command."
|
|
150
|
+
))
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
type: 'array',
|
|
154
|
+
description: ( nls.localize(
|
|
155
|
+
'JsonSchema.input.command.args',
|
|
156
|
+
"Optional arguments passed to the command."
|
|
157
|
+
))
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
type: 'string',
|
|
161
|
+
description: ( nls.localize(
|
|
162
|
+
'JsonSchema.input.command.args',
|
|
163
|
+
"Optional arguments passed to the command."
|
|
164
|
+
))
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
export { inputsSchema };
|
package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as nls from 'monaco-editor/esm/vs/nls.js';
|
|
2
|
+
|
|
3
|
+
function applyDeprecatedVariableMessage(schema) {
|
|
4
|
+
schema.pattern = schema.pattern || '^(?!.*\\$\\{(env|config|command)\\.)';
|
|
5
|
+
schema.patternErrorMessage = schema.patternErrorMessage ||
|
|
6
|
+
( nls.localize(
|
|
7
|
+
'deprecatedVariables',
|
|
8
|
+
"'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead."
|
|
9
|
+
));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { applyDeprecatedVariableMessage };
|