@codingame/monaco-vscode-api 23.0.3 → 23.1.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 +8 -8
- package/services.d.ts +6 -0
- package/services.js +9 -3
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/editor/contrib/format/browser/format.js +0 -7
- package/vscode/src/vs/platform/policy/common/policy.js +27 -4
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/request/common/request.d.ts +1 -0
- package/vscode/src/vs/platform/request/common/request.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +8 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +50 -50
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/common/tools/runSubagentTool.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +1 -1
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +2 -1
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +19 -11
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +87 -87
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
|
@@ -12,17 +12,17 @@ const BREAKPOINTS_VIEW_ID = 'workbench.debug.breakPointsView';
|
|
|
12
12
|
const DISASSEMBLY_VIEW_ID = 'workbench.debug.disassemblyView';
|
|
13
13
|
const DEBUG_PANEL_ID = 'workbench.panel.repl';
|
|
14
14
|
const REPL_VIEW_ID = 'workbench.panel.repl.view';
|
|
15
|
-
const CONTEXT_DEBUG_TYPE = ( new RawContextKey('debugType', undefined, { type: 'string', description: ( localize(
|
|
15
|
+
const CONTEXT_DEBUG_TYPE = ( new RawContextKey('debugType', undefined, { type: 'string', description: ( localize(6854, "Debug type of the active debug session. For example 'python'.")) }));
|
|
16
16
|
const CONTEXT_DEBUG_CONFIGURATION_TYPE = ( new RawContextKey(
|
|
17
17
|
'debugConfigurationType',
|
|
18
18
|
undefined,
|
|
19
19
|
{ type: 'string', description: ( localize(
|
|
20
|
-
|
|
20
|
+
6855,
|
|
21
21
|
"Debug type of the selected launch configuration. For example 'python'."
|
|
22
22
|
)) }
|
|
23
23
|
));
|
|
24
24
|
const CONTEXT_DEBUG_STATE = ( new RawContextKey('debugState', 'inactive', { type: 'string', description: ( localize(
|
|
25
|
-
|
|
25
|
+
6856,
|
|
26
26
|
"State that the focused debug session is in. One of the following: 'inactive', 'initializing', 'stopped' or 'running'."
|
|
27
27
|
)) }));
|
|
28
28
|
const CONTEXT_DEBUG_UX_KEY = 'debugUx';
|
|
@@ -30,21 +30,21 @@ const CONTEXT_DEBUG_UX = ( new RawContextKey(
|
|
|
30
30
|
CONTEXT_DEBUG_UX_KEY,
|
|
31
31
|
'default',
|
|
32
32
|
{ type: 'string', description: ( localize(
|
|
33
|
-
|
|
33
|
+
6857,
|
|
34
34
|
"Debug UX state. When there are no debug configurations it is 'simple', otherwise 'default'. Used to decide when to show welcome views in the debug viewlet."
|
|
35
35
|
)) }
|
|
36
36
|
));
|
|
37
37
|
const CONTEXT_HAS_DEBUGGED = ( new RawContextKey('hasDebugged', false, { type: 'boolean', description: ( localize(
|
|
38
|
-
|
|
38
|
+
6858,
|
|
39
39
|
"True when a debug session has been started at least once, false otherwise."
|
|
40
40
|
)) }));
|
|
41
|
-
const CONTEXT_IN_DEBUG_MODE = ( new RawContextKey('inDebugMode', false, { type: 'boolean', description: ( localize(
|
|
42
|
-
const CONTEXT_IN_DEBUG_REPL = ( new RawContextKey('inDebugRepl', false, { type: 'boolean', description: ( localize(
|
|
41
|
+
const CONTEXT_IN_DEBUG_MODE = ( new RawContextKey('inDebugMode', false, { type: 'boolean', description: ( localize(6859, "True when debugging, false otherwise.")) }));
|
|
42
|
+
const CONTEXT_IN_DEBUG_REPL = ( new RawContextKey('inDebugRepl', false, { type: 'boolean', description: ( localize(6860, "True when focus is in the debug console, false otherwise.")) }));
|
|
43
43
|
const CONTEXT_BREAKPOINT_WIDGET_VISIBLE = ( new RawContextKey(
|
|
44
44
|
'breakpointWidgetVisible',
|
|
45
45
|
false,
|
|
46
46
|
{ type: 'boolean', description: ( localize(
|
|
47
|
-
|
|
47
|
+
6861,
|
|
48
48
|
"True when breakpoint editor zone widget is visible, false otherwise."
|
|
49
49
|
)) }
|
|
50
50
|
));
|
|
@@ -52,40 +52,40 @@ const CONTEXT_IN_BREAKPOINT_WIDGET = ( new RawContextKey(
|
|
|
52
52
|
'inBreakpointWidget',
|
|
53
53
|
false,
|
|
54
54
|
{ type: 'boolean', description: ( localize(
|
|
55
|
-
|
|
55
|
+
6862,
|
|
56
56
|
"True when focus is in the breakpoint editor zone widget, false otherwise."
|
|
57
57
|
)) }
|
|
58
58
|
));
|
|
59
|
-
const CONTEXT_BREAKPOINTS_FOCUSED = ( new RawContextKey('breakpointsFocused', true, { type: 'boolean', description: ( localize(
|
|
59
|
+
const CONTEXT_BREAKPOINTS_FOCUSED = ( new RawContextKey('breakpointsFocused', true, { type: 'boolean', description: ( localize(6863, "True when the BREAKPOINTS view is focused, false otherwise.")) }));
|
|
60
60
|
const CONTEXT_WATCH_EXPRESSIONS_FOCUSED = ( new RawContextKey(
|
|
61
61
|
'watchExpressionsFocused',
|
|
62
62
|
true,
|
|
63
|
-
{ type: 'boolean', description: ( localize(
|
|
63
|
+
{ type: 'boolean', description: ( localize(6864, "True when the WATCH view is focused, false otherwise.")) }
|
|
64
64
|
));
|
|
65
65
|
const CONTEXT_WATCH_EXPRESSIONS_EXIST = ( new RawContextKey(
|
|
66
66
|
'watchExpressionsExist',
|
|
67
67
|
false,
|
|
68
|
-
{ type: 'boolean', description: ( localize(
|
|
68
|
+
{ type: 'boolean', description: ( localize(6865, "True when at least one watch expression exists, false otherwise.")) }
|
|
69
69
|
));
|
|
70
|
-
const CONTEXT_VARIABLES_FOCUSED = ( new RawContextKey('variablesFocused', true, { type: 'boolean', description: ( localize(
|
|
70
|
+
const CONTEXT_VARIABLES_FOCUSED = ( new RawContextKey('variablesFocused', true, { type: 'boolean', description: ( localize(6866, "True when the VARIABLES views is focused, false otherwise")) }));
|
|
71
71
|
const CONTEXT_EXPRESSION_SELECTED = ( new RawContextKey(
|
|
72
72
|
'expressionSelected',
|
|
73
73
|
false,
|
|
74
74
|
{ type: 'boolean', description: ( localize(
|
|
75
|
-
|
|
75
|
+
6867,
|
|
76
76
|
"True when an expression input box is open in either the WATCH or the VARIABLES view, false otherwise."
|
|
77
77
|
)) }
|
|
78
78
|
));
|
|
79
79
|
const CONTEXT_BREAKPOINT_INPUT_FOCUSED = ( new RawContextKey(
|
|
80
80
|
'breakpointInputFocused',
|
|
81
81
|
false,
|
|
82
|
-
{ type: 'boolean', description: ( localize(
|
|
82
|
+
{ type: 'boolean', description: ( localize(6868, "True when the input box has focus in the BREAKPOINTS view.")) }
|
|
83
83
|
));
|
|
84
84
|
const CONTEXT_CALLSTACK_ITEM_TYPE = ( new RawContextKey(
|
|
85
85
|
'callStackItemType',
|
|
86
86
|
undefined,
|
|
87
87
|
{ type: 'string', description: ( localize(
|
|
88
|
-
|
|
88
|
+
6869,
|
|
89
89
|
"Represents the item type of the focused element in the CALL STACK view. For example: 'session', 'thread', 'stackFrame'"
|
|
90
90
|
)) }
|
|
91
91
|
));
|
|
@@ -93,7 +93,7 @@ const CONTEXT_CALLSTACK_SESSION_IS_ATTACH = ( new RawContextKey(
|
|
|
93
93
|
'callStackSessionIsAttach',
|
|
94
94
|
false,
|
|
95
95
|
{ type: 'boolean', description: ( localize(
|
|
96
|
-
|
|
96
|
+
6870,
|
|
97
97
|
"True when the session in the CALL STACK view is attach, false otherwise. Used internally for inline menus in the CALL STACK view."
|
|
98
98
|
)) }
|
|
99
99
|
));
|
|
@@ -101,7 +101,7 @@ const CONTEXT_CALLSTACK_ITEM_STOPPED = ( new RawContextKey(
|
|
|
101
101
|
'callStackItemStopped',
|
|
102
102
|
false,
|
|
103
103
|
{ type: 'boolean', description: ( localize(
|
|
104
|
-
|
|
104
|
+
6871,
|
|
105
105
|
"True when the focused item in the CALL STACK is stopped. Used internaly for inline menus in the CALL STACK view."
|
|
106
106
|
)) }
|
|
107
107
|
));
|
|
@@ -109,97 +109,97 @@ const CONTEXT_CALLSTACK_SESSION_HAS_ONE_THREAD = ( new RawContextKey(
|
|
|
109
109
|
'callStackSessionHasOneThread',
|
|
110
110
|
false,
|
|
111
111
|
{ type: 'boolean', description: ( localize(
|
|
112
|
-
|
|
112
|
+
6872,
|
|
113
113
|
"True when the focused session in the CALL STACK view has exactly one thread. Used internally for inline menus in the CALL STACK view."
|
|
114
114
|
)) }
|
|
115
115
|
));
|
|
116
|
-
const CONTEXT_CALLSTACK_FOCUSED = ( new RawContextKey('callStackFocused', true, { type: 'boolean', description: ( localize(
|
|
116
|
+
const CONTEXT_CALLSTACK_FOCUSED = ( new RawContextKey('callStackFocused', true, { type: 'boolean', description: ( localize(6873, "True when the CALLSTACK view is focused, false otherwise.")) }));
|
|
117
117
|
const CONTEXT_WATCH_ITEM_TYPE = ( new RawContextKey('watchItemType', undefined, { type: 'string', description: ( localize(
|
|
118
|
-
|
|
118
|
+
6874,
|
|
119
119
|
"Represents the item type of the focused element in the WATCH view. For example: 'expression', 'variable'"
|
|
120
120
|
)) }));
|
|
121
121
|
const CONTEXT_CAN_VIEW_MEMORY = ( new RawContextKey('canViewMemory', undefined, { type: 'boolean', description: ( localize(
|
|
122
|
-
|
|
122
|
+
6875,
|
|
123
123
|
"Indicates whether the item in the view has an associated memory refrence."
|
|
124
124
|
)) }));
|
|
125
125
|
const CONTEXT_BREAKPOINT_ITEM_TYPE = ( new RawContextKey(
|
|
126
126
|
'breakpointItemType',
|
|
127
127
|
undefined,
|
|
128
128
|
{ type: 'string', description: ( localize(
|
|
129
|
-
|
|
129
|
+
6876,
|
|
130
130
|
"Represents the item type of the focused element in the BREAKPOINTS view. For example: 'breakpoint', 'exceptionBreakppint', 'functionBreakpoint', 'dataBreakpoint'"
|
|
131
131
|
)) }
|
|
132
132
|
));
|
|
133
133
|
const CONTEXT_BREAKPOINT_ITEM_IS_DATA_BYTES = ( new RawContextKey(
|
|
134
134
|
'breakpointItemBytes',
|
|
135
135
|
undefined,
|
|
136
|
-
{ type: 'boolean', description: ( localize(
|
|
136
|
+
{ type: 'boolean', description: ( localize(6877, "Whether the breakpoint item is a data breakpoint on a byte range.")) }
|
|
137
137
|
));
|
|
138
138
|
const CONTEXT_BREAKPOINT_HAS_MODES = ( new RawContextKey(
|
|
139
139
|
'breakpointHasModes',
|
|
140
140
|
false,
|
|
141
|
-
{ type: 'boolean', description: ( localize(
|
|
141
|
+
{ type: 'boolean', description: ( localize(6878, "Whether the breakpoint has multiple modes it can switch to.")) }
|
|
142
142
|
));
|
|
143
143
|
const CONTEXT_BREAKPOINT_SUPPORTS_CONDITION = ( new RawContextKey(
|
|
144
144
|
'breakpointSupportsCondition',
|
|
145
145
|
false,
|
|
146
|
-
{ type: 'boolean', description: ( localize(
|
|
146
|
+
{ type: 'boolean', description: ( localize(6879, "True when the focused breakpoint supports conditions.")) }
|
|
147
147
|
));
|
|
148
148
|
const CONTEXT_LOADED_SCRIPTS_SUPPORTED = ( new RawContextKey(
|
|
149
149
|
'loadedScriptsSupported',
|
|
150
150
|
false,
|
|
151
|
-
{ type: 'boolean', description: ( localize(
|
|
151
|
+
{ type: 'boolean', description: ( localize(6880, "True when the focused sessions supports the LOADED SCRIPTS view")) }
|
|
152
152
|
));
|
|
153
153
|
const CONTEXT_LOADED_SCRIPTS_ITEM_TYPE = ( new RawContextKey(
|
|
154
154
|
'loadedScriptsItemType',
|
|
155
155
|
undefined,
|
|
156
156
|
{ type: 'string', description: ( localize(
|
|
157
|
-
|
|
157
|
+
6881,
|
|
158
158
|
"Represents the item type of the focused element in the LOADED SCRIPTS view."
|
|
159
159
|
)) }
|
|
160
160
|
));
|
|
161
161
|
const CONTEXT_FOCUSED_SESSION_IS_ATTACH = ( new RawContextKey(
|
|
162
162
|
'focusedSessionIsAttach',
|
|
163
163
|
false,
|
|
164
|
-
{ type: 'boolean', description: ( localize(
|
|
164
|
+
{ type: 'boolean', description: ( localize(6882, "True when the focused session is 'attach'.")) }
|
|
165
165
|
));
|
|
166
166
|
const CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG = ( new RawContextKey(
|
|
167
167
|
'focusedSessionIsNoDebug',
|
|
168
168
|
false,
|
|
169
|
-
{ type: 'boolean', description: ( localize(
|
|
169
|
+
{ type: 'boolean', description: ( localize(6883, "True when the focused session is run without debugging.")) }
|
|
170
170
|
));
|
|
171
|
-
const CONTEXT_STEP_BACK_SUPPORTED = ( new RawContextKey('stepBackSupported', false, { type: 'boolean', description: ( localize(
|
|
171
|
+
const CONTEXT_STEP_BACK_SUPPORTED = ( new RawContextKey('stepBackSupported', false, { type: 'boolean', description: ( localize(6884, "True when the focused session supports 'stepBack' requests.")) }));
|
|
172
172
|
const CONTEXT_RESTART_FRAME_SUPPORTED = ( new RawContextKey(
|
|
173
173
|
'restartFrameSupported',
|
|
174
174
|
false,
|
|
175
|
-
{ type: 'boolean', description: ( localize(
|
|
175
|
+
{ type: 'boolean', description: ( localize(6885, "True when the focused session supports 'restartFrame' requests.")) }
|
|
176
176
|
));
|
|
177
177
|
const CONTEXT_STACK_FRAME_SUPPORTS_RESTART = ( new RawContextKey(
|
|
178
178
|
'stackFrameSupportsRestart',
|
|
179
179
|
false,
|
|
180
|
-
{ type: 'boolean', description: ( localize(
|
|
180
|
+
{ type: 'boolean', description: ( localize(6886, "True when the focused stack frame supports 'restartFrame'.")) }
|
|
181
181
|
));
|
|
182
182
|
const CONTEXT_JUMP_TO_CURSOR_SUPPORTED = ( new RawContextKey(
|
|
183
183
|
'jumpToCursorSupported',
|
|
184
184
|
false,
|
|
185
|
-
{ type: 'boolean', description: ( localize(
|
|
185
|
+
{ type: 'boolean', description: ( localize(6887, "True when the focused session supports 'jumpToCursor' request.")) }
|
|
186
186
|
));
|
|
187
187
|
const CONTEXT_STEP_INTO_TARGETS_SUPPORTED = ( new RawContextKey(
|
|
188
188
|
'stepIntoTargetsSupported',
|
|
189
189
|
false,
|
|
190
|
-
{ type: 'boolean', description: ( localize(
|
|
190
|
+
{ type: 'boolean', description: ( localize(6888, "True when the focused session supports 'stepIntoTargets' request.")) }
|
|
191
191
|
));
|
|
192
|
-
const CONTEXT_BREAKPOINTS_EXIST = ( new RawContextKey('breakpointsExist', false, { type: 'boolean', description: ( localize(
|
|
192
|
+
const CONTEXT_BREAKPOINTS_EXIST = ( new RawContextKey('breakpointsExist', false, { type: 'boolean', description: ( localize(6889, "True when at least one breakpoint exists.")) }));
|
|
193
193
|
const CONTEXT_DEBUGGERS_AVAILABLE = ( new RawContextKey(
|
|
194
194
|
'debuggersAvailable',
|
|
195
195
|
false,
|
|
196
|
-
{ type: 'boolean', description: ( localize(
|
|
196
|
+
{ type: 'boolean', description: ( localize(6890, "True when there is at least one debug extensions active.")) }
|
|
197
197
|
));
|
|
198
198
|
const CONTEXT_DEBUG_EXTENSION_AVAILABLE = ( new RawContextKey(
|
|
199
199
|
'debugExtensionAvailable',
|
|
200
200
|
true,
|
|
201
201
|
{ type: 'boolean', description: ( localize(
|
|
202
|
-
|
|
202
|
+
6891,
|
|
203
203
|
"True when there is at least one debug extension installed and enabled."
|
|
204
204
|
)) }
|
|
205
205
|
));
|
|
@@ -207,33 +207,33 @@ const CONTEXT_DEBUG_PROTOCOL_VARIABLE_MENU_CONTEXT = ( new RawContextKey(
|
|
|
207
207
|
'debugProtocolVariableMenuContext',
|
|
208
208
|
undefined,
|
|
209
209
|
{ type: 'string', description: ( localize(
|
|
210
|
-
|
|
210
|
+
6892,
|
|
211
211
|
"Represents the context the debug adapter sets on the focused variable in the VARIABLES view."
|
|
212
212
|
)) }
|
|
213
213
|
));
|
|
214
214
|
const CONTEXT_SET_VARIABLE_SUPPORTED = ( new RawContextKey(
|
|
215
215
|
'debugSetVariableSupported',
|
|
216
216
|
false,
|
|
217
|
-
{ type: 'boolean', description: ( localize(
|
|
217
|
+
{ type: 'boolean', description: ( localize(6893, "True when the focused session supports 'setVariable' request.")) }
|
|
218
218
|
));
|
|
219
219
|
const CONTEXT_SET_DATA_BREAKPOINT_BYTES_SUPPORTED = ( new RawContextKey(
|
|
220
220
|
'debugSetDataBreakpointAddressSupported',
|
|
221
221
|
false,
|
|
222
222
|
{ type: 'boolean', description: ( localize(
|
|
223
|
-
|
|
223
|
+
6894,
|
|
224
224
|
"True when the focused session supports 'getBreakpointInfo' request on an address."
|
|
225
225
|
)) }
|
|
226
226
|
));
|
|
227
227
|
const CONTEXT_SET_EXPRESSION_SUPPORTED = ( new RawContextKey(
|
|
228
228
|
'debugSetExpressionSupported',
|
|
229
229
|
false,
|
|
230
|
-
{ type: 'boolean', description: ( localize(
|
|
230
|
+
{ type: 'boolean', description: ( localize(6895, "True when the focused session supports 'setExpression' request.")) }
|
|
231
231
|
));
|
|
232
232
|
const CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED = ( new RawContextKey(
|
|
233
233
|
'breakWhenValueChangesSupported',
|
|
234
234
|
false,
|
|
235
235
|
{ type: 'boolean', description: ( localize(
|
|
236
|
-
|
|
236
|
+
6896,
|
|
237
237
|
"True when the focused session supports to break when value changes."
|
|
238
238
|
)) }
|
|
239
239
|
));
|
|
@@ -241,7 +241,7 @@ const CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED = ( new RawContextKey(
|
|
|
241
241
|
'breakWhenValueIsAccessedSupported',
|
|
242
242
|
false,
|
|
243
243
|
{ type: 'boolean', description: ( localize(
|
|
244
|
-
|
|
244
|
+
6897,
|
|
245
245
|
"True when the focused breakpoint supports to break when value is accessed."
|
|
246
246
|
)) }
|
|
247
247
|
));
|
|
@@ -249,7 +249,7 @@ const CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED = ( new RawContextKey(
|
|
|
249
249
|
'breakWhenValueIsReadSupported',
|
|
250
250
|
false,
|
|
251
251
|
{ type: 'boolean', description: ( localize(
|
|
252
|
-
|
|
252
|
+
6898,
|
|
253
253
|
"True when the focused breakpoint supports to break when value is read."
|
|
254
254
|
)) }
|
|
255
255
|
));
|
|
@@ -257,7 +257,7 @@ const CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED = ( new RawContextKey(
|
|
|
257
257
|
'terminateDebuggeeSupported',
|
|
258
258
|
false,
|
|
259
259
|
{ type: 'boolean', description: ( localize(
|
|
260
|
-
|
|
260
|
+
6899,
|
|
261
261
|
"True when the focused session supports the terminate debuggee capability."
|
|
262
262
|
)) }
|
|
263
263
|
));
|
|
@@ -265,7 +265,7 @@ const CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED = ( new RawContextKey(
|
|
|
265
265
|
'suspendDebuggeeSupported',
|
|
266
266
|
false,
|
|
267
267
|
{ type: 'boolean', description: ( localize(
|
|
268
|
-
|
|
268
|
+
6900,
|
|
269
269
|
"True when the focused session supports the suspend debuggee capability."
|
|
270
270
|
)) }
|
|
271
271
|
));
|
|
@@ -273,61 +273,61 @@ const CONTEXT_TERMINATE_THREADS_SUPPORTED = ( new RawContextKey(
|
|
|
273
273
|
'terminateThreadsSupported',
|
|
274
274
|
false,
|
|
275
275
|
{ type: 'boolean', description: ( localize(
|
|
276
|
-
|
|
276
|
+
6901,
|
|
277
277
|
"True when the focused session supports the terminate threads capability."
|
|
278
278
|
)) }
|
|
279
279
|
));
|
|
280
280
|
const CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT = ( new RawContextKey(
|
|
281
281
|
'variableEvaluateNamePresent',
|
|
282
282
|
false,
|
|
283
|
-
{ type: 'boolean', description: ( localize(
|
|
283
|
+
{ type: 'boolean', description: ( localize(6902, "True when the focused variable has an 'evalauteName' field set.")) }
|
|
284
284
|
));
|
|
285
285
|
const CONTEXT_VARIABLE_IS_READONLY = ( new RawContextKey(
|
|
286
286
|
'variableIsReadonly',
|
|
287
287
|
false,
|
|
288
|
-
{ type: 'boolean', description: ( localize(
|
|
288
|
+
{ type: 'boolean', description: ( localize(6903, "True when the focused variable is read-only.")) }
|
|
289
289
|
));
|
|
290
|
-
const CONTEXT_VARIABLE_VALUE = ( new RawContextKey('variableValue', false, { type: 'string', description: ( localize(
|
|
291
|
-
const CONTEXT_VARIABLE_TYPE = ( new RawContextKey('variableType', false, { type: 'string', description: ( localize(
|
|
290
|
+
const CONTEXT_VARIABLE_VALUE = ( new RawContextKey('variableValue', false, { type: 'string', description: ( localize(6904, "Value of the variable, present for debug visualization clauses.")) }));
|
|
291
|
+
const CONTEXT_VARIABLE_TYPE = ( new RawContextKey('variableType', false, { type: 'string', description: ( localize(6905, "Type of the variable, present for debug visualization clauses.")) }));
|
|
292
292
|
const CONTEXT_VARIABLE_INTERFACES = ( new RawContextKey('variableInterfaces', false, { type: 'array', description: ( localize(
|
|
293
|
-
|
|
293
|
+
6906,
|
|
294
294
|
"Any interfaces or contracts that the variable satisfies, present for debug visualization clauses."
|
|
295
295
|
)) }));
|
|
296
|
-
const CONTEXT_VARIABLE_NAME = ( new RawContextKey('variableName', false, { type: 'string', description: ( localize(
|
|
296
|
+
const CONTEXT_VARIABLE_NAME = ( new RawContextKey('variableName', false, { type: 'string', description: ( localize(6907, "Name of the variable, present for debug visualization clauses.")) }));
|
|
297
297
|
const CONTEXT_VARIABLE_LANGUAGE = ( new RawContextKey('variableLanguage', false, { type: 'string', description: ( localize(
|
|
298
|
-
|
|
298
|
+
6908,
|
|
299
299
|
"Language of the variable source, present for debug visualization clauses."
|
|
300
300
|
)) }));
|
|
301
301
|
const CONTEXT_VARIABLE_EXTENSIONID = ( new RawContextKey(
|
|
302
302
|
'variableExtensionId',
|
|
303
303
|
false,
|
|
304
304
|
{ type: 'string', description: ( localize(
|
|
305
|
-
|
|
305
|
+
6909,
|
|
306
306
|
"Extension ID of the variable source, present for debug visualization clauses."
|
|
307
307
|
)) }
|
|
308
308
|
));
|
|
309
309
|
const CONTEXT_EXCEPTION_WIDGET_VISIBLE = ( new RawContextKey(
|
|
310
310
|
'exceptionWidgetVisible',
|
|
311
311
|
false,
|
|
312
|
-
{ type: 'boolean', description: ( localize(
|
|
312
|
+
{ type: 'boolean', description: ( localize(6910, "True when the exception widget is visible.")) }
|
|
313
313
|
));
|
|
314
|
-
const CONTEXT_MULTI_SESSION_REPL = ( new RawContextKey('multiSessionRepl', false, { type: 'boolean', description: ( localize(
|
|
315
|
-
const CONTEXT_MULTI_SESSION_DEBUG = ( new RawContextKey('multiSessionDebug', false, { type: 'boolean', description: ( localize(
|
|
314
|
+
const CONTEXT_MULTI_SESSION_REPL = ( new RawContextKey('multiSessionRepl', false, { type: 'boolean', description: ( localize(6911, "True when there is more than 1 debug console.")) }));
|
|
315
|
+
const CONTEXT_MULTI_SESSION_DEBUG = ( new RawContextKey('multiSessionDebug', false, { type: 'boolean', description: ( localize(6912, "True when there is more than 1 active debug session.")) }));
|
|
316
316
|
const CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED = ( new RawContextKey(
|
|
317
317
|
'disassembleRequestSupported',
|
|
318
318
|
false,
|
|
319
|
-
{ type: 'boolean', description: ( localize(
|
|
319
|
+
{ type: 'boolean', description: ( localize(6913, "True when the focused sessions supports disassemble request.")) }
|
|
320
320
|
));
|
|
321
321
|
const CONTEXT_DISASSEMBLY_VIEW_FOCUS = ( new RawContextKey(
|
|
322
322
|
'disassemblyViewFocus',
|
|
323
323
|
false,
|
|
324
|
-
{ type: 'boolean', description: ( localize(
|
|
324
|
+
{ type: 'boolean', description: ( localize(6914, "True when the Disassembly View is focused.")) }
|
|
325
325
|
));
|
|
326
326
|
const CONTEXT_LANGUAGE_SUPPORTS_DISASSEMBLE_REQUEST = ( new RawContextKey(
|
|
327
327
|
'languageSupportsDisassembleRequest',
|
|
328
328
|
false,
|
|
329
329
|
{ type: 'boolean', description: ( localize(
|
|
330
|
-
|
|
330
|
+
6915,
|
|
331
331
|
"True when the language in the current editor supports disassemble request."
|
|
332
332
|
)) }
|
|
333
333
|
));
|
|
@@ -335,12 +335,12 @@ const CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE = ( new RawC
|
|
|
335
335
|
'focusedStackFrameHasInstructionReference',
|
|
336
336
|
false,
|
|
337
337
|
{ type: 'boolean', description: ( localize(
|
|
338
|
-
|
|
338
|
+
6916,
|
|
339
339
|
"True when the focused stack frame has instruction pointer reference."
|
|
340
340
|
)) }
|
|
341
341
|
));
|
|
342
342
|
const debuggerDisabledMessage = (debugType) => ( localize(
|
|
343
|
-
|
|
343
|
+
6917,
|
|
344
344
|
"Configured debug type '{0}' is installed but not supported in this environment.",
|
|
345
345
|
debugType
|
|
346
346
|
));
|
|
@@ -350,7 +350,7 @@ const DEBUG_SCHEME = 'debug';
|
|
|
350
350
|
const INTERNAL_CONSOLE_OPTIONS_SCHEMA = {
|
|
351
351
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart'],
|
|
352
352
|
default: 'openOnFirstSessionStart',
|
|
353
|
-
description: ( localize(
|
|
353
|
+
description: ( localize(6918, "Controls when the internal Debug Console should open."))
|
|
354
354
|
};
|
|
355
355
|
var State;
|
|
356
356
|
(function (State) {
|
|
@@ -12,12 +12,12 @@ let DropOrPasteIntoCommands = class DropOrPasteIntoCommands {
|
|
|
12
12
|
this._preferencesService = _preferencesService;
|
|
13
13
|
CopyPasteController.setConfigureDefaultAction(toAction({
|
|
14
14
|
id: 'workbench.action.configurePreferredPasteAction',
|
|
15
|
-
label: ( localize(
|
|
15
|
+
label: ( localize(6991, 'Configure preferred paste action...')),
|
|
16
16
|
run: () => this.configurePreferredPasteAction()
|
|
17
17
|
}));
|
|
18
18
|
DropIntoEditorController.setConfigureDefaultAction(toAction({
|
|
19
19
|
id: 'workbench.action.configurePreferredDropAction',
|
|
20
|
-
label: ( localize(
|
|
20
|
+
label: ( localize(6992, 'Configure preferred drop action...')),
|
|
21
21
|
run: () => this.configurePreferredDropAction()
|
|
22
22
|
}));
|
|
23
23
|
}
|
|
@@ -17,12 +17,12 @@ const dropAsPreferenceSchema = {
|
|
|
17
17
|
type: 'array',
|
|
18
18
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE,
|
|
19
19
|
description: ( localize(
|
|
20
|
-
|
|
20
|
+
6993,
|
|
21
21
|
"Configures the preferred type of edit to use when dropping content.\n\nThis is an ordered list of edit kinds. The first available edit of a preferred kind will be used."
|
|
22
22
|
)),
|
|
23
23
|
default: [],
|
|
24
24
|
items: {
|
|
25
|
-
description: ( localize(
|
|
25
|
+
description: ( localize(6994, "The kind identifier of the drop edit.")),
|
|
26
26
|
anyOf: [
|
|
27
27
|
{ type: 'string' },
|
|
28
28
|
{ enum: dropEnumValues }
|
|
@@ -34,12 +34,12 @@ const pasteAsPreferenceSchema = {
|
|
|
34
34
|
type: 'array',
|
|
35
35
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE,
|
|
36
36
|
description: ( localize(
|
|
37
|
-
|
|
37
|
+
6995,
|
|
38
38
|
"Configures the preferred type of edit to use when pasting content.\n\nThis is an ordered list of edit kinds. The first available edit of a preferred kind will be used."
|
|
39
39
|
)),
|
|
40
40
|
default: [],
|
|
41
41
|
items: {
|
|
42
|
-
description: ( localize(
|
|
42
|
+
description: ( localize(6996, "The kind identifier of the paste edit.")),
|
|
43
43
|
anyOf: [
|
|
44
44
|
{ type: 'string' },
|
|
45
45
|
{ enum: pasteEnumValues }
|
|
@@ -9,7 +9,7 @@ import { ExtensionGalleryManifestStatus } from '../../../../platform/extensionMa
|
|
|
9
9
|
import { IExtensionsWorkbenchService } from './extensions.service.js';
|
|
10
10
|
|
|
11
11
|
const VIEWLET_ID = 'workbench.view.extensions';
|
|
12
|
-
const EXTENSIONS_CATEGORY = ( localize2(
|
|
12
|
+
const EXTENSIONS_CATEGORY = ( localize2(7680, "Extensions"));
|
|
13
13
|
var ExtensionState;
|
|
14
14
|
(function (ExtensionState) {
|
|
15
15
|
ExtensionState[ExtensionState["Installing"] = 0] = "Installing";
|
|
@@ -15,12 +15,12 @@ const SearchExtensionsToolData = {
|
|
|
15
15
|
toolReferenceName: 'extensions',
|
|
16
16
|
canBeReferencedInPrompt: true,
|
|
17
17
|
icon: ThemeIcon.fromId(Codicon.extensions.id),
|
|
18
|
-
displayName: ( localize(
|
|
18
|
+
displayName: ( localize(7693, 'Search Extensions')),
|
|
19
19
|
modelDescription: ( localize(
|
|
20
|
-
|
|
20
|
+
7694,
|
|
21
21
|
"This is a tool for browsing Visual Studio Code Extensions Marketplace. It allows the model to search for extensions and retrieve detailed information about them. The model should use this tool whenever it needs to discover extensions or resolve information about known ones. To use the tool, the model has to provide the category of the extensions, relevant search keywords, or known extension IDs. Note that search results may include false positives, so reviewing and filtering is recommended."
|
|
22
22
|
)),
|
|
23
|
-
userDescription: ( localize(
|
|
23
|
+
userDescription: ( localize(7695, 'Search for VS Code extensions')),
|
|
24
24
|
source: ToolDataSource.Internal,
|
|
25
25
|
inputSchema: {
|
|
26
26
|
type: 'object',
|
|
@@ -57,7 +57,7 @@ let SearchExtensionsTool = class SearchExtensionsTool {
|
|
|
57
57
|
return {
|
|
58
58
|
content: [{
|
|
59
59
|
kind: 'text',
|
|
60
|
-
value: ( localize(
|
|
60
|
+
value: ( localize(7696, 'Please provide a category or keywords or ids to search for.'))
|
|
61
61
|
}]
|
|
62
62
|
};
|
|
63
63
|
}
|
|
@@ -13,13 +13,13 @@ const COMPARE_WITH_SAVED_COMMAND_ID = 'workbench.files.action.compareWithSaved';
|
|
|
13
13
|
const COPY_PATH_COMMAND_ID = 'copyFilePath';
|
|
14
14
|
const COPY_RELATIVE_PATH_COMMAND_ID = 'copyRelativeFilePath';
|
|
15
15
|
const SAVE_FILE_AS_COMMAND_ID = 'workbench.action.files.saveAs';
|
|
16
|
-
const SAVE_FILE_AS_LABEL = ( localize2(
|
|
16
|
+
const SAVE_FILE_AS_LABEL = ( localize2(7887, "Save As..."));
|
|
17
17
|
const SAVE_FILE_COMMAND_ID = 'workbench.action.files.save';
|
|
18
|
-
const SAVE_FILE_LABEL = ( localize2(
|
|
18
|
+
const SAVE_FILE_LABEL = ( localize2(7888, "Save"));
|
|
19
19
|
const SAVE_FILE_WITHOUT_FORMATTING_COMMAND_ID = 'workbench.action.files.saveWithoutFormatting';
|
|
20
|
-
const SAVE_FILE_WITHOUT_FORMATTING_LABEL = ( localize2(
|
|
20
|
+
const SAVE_FILE_WITHOUT_FORMATTING_LABEL = ( localize2(7889, "Save without Formatting"));
|
|
21
21
|
const SAVE_ALL_COMMAND_ID = 'saveAll';
|
|
22
|
-
const SAVE_ALL_LABEL = ( localize2(
|
|
22
|
+
const SAVE_ALL_LABEL = ( localize2(7890, "Save All"));
|
|
23
23
|
const SAVE_ALL_IN_GROUP_COMMAND_ID = 'workbench.files.action.saveAllInGroup';
|
|
24
24
|
const SAVE_FILES_COMMAND_ID = 'workbench.action.files.saveFiles';
|
|
25
25
|
const OpenEditorsGroupContext = ( new RawContextKey('groupFocusedInOpenEditors', false));
|
|
@@ -28,13 +28,13 @@ const OpenEditorsReadonlyEditorContext = ( new RawContextKey('readonlyEditorFocu
|
|
|
28
28
|
const OpenEditorsSelectedFileOrUntitledContext = ( new RawContextKey('openEditorsSelectedFileOrUntitled', true));
|
|
29
29
|
const ResourceSelectedForCompareContext = ( new RawContextKey('resourceSelectedForCompare', false));
|
|
30
30
|
const REMOVE_ROOT_FOLDER_COMMAND_ID = 'removeRootFolder';
|
|
31
|
-
const REMOVE_ROOT_FOLDER_LABEL = ( localize(
|
|
31
|
+
const REMOVE_ROOT_FOLDER_LABEL = ( localize(7891, "Remove Folder from Workspace"));
|
|
32
32
|
const PREVIOUS_COMPRESSED_FOLDER = 'previousCompressedFolder';
|
|
33
33
|
const NEXT_COMPRESSED_FOLDER = 'nextCompressedFolder';
|
|
34
34
|
const FIRST_COMPRESSED_FOLDER = 'firstCompressedFolder';
|
|
35
35
|
const LAST_COMPRESSED_FOLDER = 'lastCompressedFolder';
|
|
36
36
|
const NEW_UNTITLED_FILE_COMMAND_ID = 'workbench.action.files.newUntitledFile';
|
|
37
|
-
const NEW_UNTITLED_FILE_LABEL = ( localize2(
|
|
37
|
+
const NEW_UNTITLED_FILE_LABEL = ( localize2(7892, "New Untitled Text File"));
|
|
38
38
|
const NEW_FILE_COMMAND_ID = 'workbench.action.files.newFile';
|
|
39
39
|
|
|
40
40
|
export { COMPARE_RESOURCE_COMMAND_ID, COMPARE_SELECTED_COMMAND_ID, COMPARE_WITH_SAVED_COMMAND_ID, COPY_PATH_COMMAND_ID, COPY_RELATIVE_PATH_COMMAND_ID, FIRST_COMPRESSED_FOLDER, LAST_COMPRESSED_FOLDER, NEW_FILE_COMMAND_ID, NEW_UNTITLED_FILE_COMMAND_ID, NEW_UNTITLED_FILE_LABEL, NEXT_COMPRESSED_FOLDER, OPEN_TO_SIDE_COMMAND_ID, OPEN_WITH_EXPLORER_COMMAND_ID, OpenEditorsDirtyEditorContext, OpenEditorsGroupContext, OpenEditorsReadonlyEditorContext, OpenEditorsSelectedFileOrUntitledContext, PREVIOUS_COMPRESSED_FOLDER, REMOVE_ROOT_FOLDER_COMMAND_ID, REMOVE_ROOT_FOLDER_LABEL, REVEAL_IN_EXPLORER_COMMAND_ID, REVERT_FILE_COMMAND_ID, ResourceSelectedForCompareContext, SAVE_ALL_COMMAND_ID, SAVE_ALL_IN_GROUP_COMMAND_ID, SAVE_ALL_LABEL, SAVE_FILES_COMMAND_ID, SAVE_FILE_AS_COMMAND_ID, SAVE_FILE_AS_LABEL, SAVE_FILE_COMMAND_ID, SAVE_FILE_LABEL, SAVE_FILE_WITHOUT_FORMATTING_COMMAND_ID, SAVE_FILE_WITHOUT_FORMATTING_LABEL, SELECT_FOR_COMPARE_COMMAND_ID };
|
|
@@ -32,8 +32,8 @@ let DefaultFoldingRangeProvider = class DefaultFoldingRangeProvider extends Disp
|
|
|
32
32
|
DefaultFoldingRangeProvider_1.extensionItemLabels.length = 0;
|
|
33
33
|
DefaultFoldingRangeProvider_1.extensionDescriptions.length = 0;
|
|
34
34
|
DefaultFoldingRangeProvider_1.extensionIds.push(null);
|
|
35
|
-
DefaultFoldingRangeProvider_1.extensionItemLabels.push(( localize(
|
|
36
|
-
DefaultFoldingRangeProvider_1.extensionDescriptions.push(( localize(
|
|
35
|
+
DefaultFoldingRangeProvider_1.extensionItemLabels.push(( localize(8091, 'All')));
|
|
36
|
+
DefaultFoldingRangeProvider_1.extensionDescriptions.push(( localize(8092, "All active folding range providers")));
|
|
37
37
|
const languageExtensions = [];
|
|
38
38
|
const otherExtensions = [];
|
|
39
39
|
for (const extension of this._extensionService.extensions) {
|
|
@@ -75,7 +75,7 @@ DefaultFoldingRangeProvider = DefaultFoldingRangeProvider_1 = ( __decorate([
|
|
|
75
75
|
properties: {
|
|
76
76
|
[DefaultFoldingRangeProvider.configName]: {
|
|
77
77
|
description: ( localize(
|
|
78
|
-
|
|
78
|
+
8093,
|
|
79
79
|
"Defines a default folding range provider that takes precedence over all other folding range providers. Must be the identifier of an extension contributing a folding range provider."
|
|
80
80
|
)),
|
|
81
81
|
type: ['string', 'null'],
|