@codingame/monaco-vscode-api 8.0.1 → 8.0.3
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/api.js +1 -1
- package/extensions.d.ts +24 -0
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +49 -49
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +6 -6
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/editor.api.d.ts +91 -69
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +7 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +10 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +9 -9
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +166 -166
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +32 -32
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -34,7 +34,7 @@ function setupTerminalMenus() {
|
|
|
34
34
|
group: TerminalMenuBarGroup.Create,
|
|
35
35
|
command: {
|
|
36
36
|
id: TerminalCommandId.New,
|
|
37
|
-
title: ( localize(
|
|
37
|
+
title: ( localize(6592, "&&New Terminal"))
|
|
38
38
|
},
|
|
39
39
|
order: 1
|
|
40
40
|
}
|
|
@@ -45,7 +45,7 @@ function setupTerminalMenus() {
|
|
|
45
45
|
group: TerminalMenuBarGroup.Create,
|
|
46
46
|
command: {
|
|
47
47
|
id: TerminalCommandId.Split,
|
|
48
|
-
title: ( localize(
|
|
48
|
+
title: ( localize(6593, "&&Split Terminal")),
|
|
49
49
|
precondition: ( (ContextKeyExpr.has(TerminalContextKeyStrings.IsOpen)))
|
|
50
50
|
},
|
|
51
51
|
order: 2,
|
|
@@ -58,7 +58,7 @@ function setupTerminalMenus() {
|
|
|
58
58
|
group: TerminalMenuBarGroup.Run,
|
|
59
59
|
command: {
|
|
60
60
|
id: TerminalCommandId.RunActiveFile,
|
|
61
|
-
title: ( localize(
|
|
61
|
+
title: ( localize(6594, "Run &&Active File"))
|
|
62
62
|
},
|
|
63
63
|
order: 3,
|
|
64
64
|
when: TerminalContextKeys.processSupported
|
|
@@ -70,7 +70,7 @@ function setupTerminalMenus() {
|
|
|
70
70
|
group: TerminalMenuBarGroup.Run,
|
|
71
71
|
command: {
|
|
72
72
|
id: TerminalCommandId.RunSelectedText,
|
|
73
|
-
title: ( localize(
|
|
73
|
+
title: ( localize(6595, "Run &&Selected Text"))
|
|
74
74
|
},
|
|
75
75
|
order: 4,
|
|
76
76
|
when: TerminalContextKeys.processSupported
|
|
@@ -113,7 +113,7 @@ function setupTerminalMenus() {
|
|
|
113
113
|
item: {
|
|
114
114
|
command: {
|
|
115
115
|
id: TerminalCommandId.CopySelection,
|
|
116
|
-
title: ( localize(
|
|
116
|
+
title: ( localize(6596, "Copy"))
|
|
117
117
|
},
|
|
118
118
|
group: ContextMenuGroup.Edit,
|
|
119
119
|
order: 1
|
|
@@ -124,7 +124,7 @@ function setupTerminalMenus() {
|
|
|
124
124
|
item: {
|
|
125
125
|
command: {
|
|
126
126
|
id: TerminalCommandId.CopySelectionAsHtml,
|
|
127
|
-
title: ( localize(
|
|
127
|
+
title: ( localize(6597, "Copy as HTML"))
|
|
128
128
|
},
|
|
129
129
|
group: ContextMenuGroup.Edit,
|
|
130
130
|
order: 2
|
|
@@ -135,7 +135,7 @@ function setupTerminalMenus() {
|
|
|
135
135
|
item: {
|
|
136
136
|
command: {
|
|
137
137
|
id: TerminalCommandId.Paste,
|
|
138
|
-
title: ( localize(
|
|
138
|
+
title: ( localize(6598, "Paste"))
|
|
139
139
|
},
|
|
140
140
|
group: ContextMenuGroup.Edit,
|
|
141
141
|
order: 3
|
|
@@ -146,7 +146,7 @@ function setupTerminalMenus() {
|
|
|
146
146
|
item: {
|
|
147
147
|
command: {
|
|
148
148
|
id: TerminalCommandId.Clear,
|
|
149
|
-
title: ( localize(
|
|
149
|
+
title: ( localize(6599, "Clear"))
|
|
150
150
|
},
|
|
151
151
|
group: ContextMenuGroup.Clear,
|
|
152
152
|
}
|
|
@@ -166,7 +166,7 @@ function setupTerminalMenus() {
|
|
|
166
166
|
item: {
|
|
167
167
|
command: {
|
|
168
168
|
id: TerminalCommandId.SelectAll,
|
|
169
|
-
title: ( localize(
|
|
169
|
+
title: ( localize(6600, "Select All")),
|
|
170
170
|
},
|
|
171
171
|
group: ContextMenuGroup.Edit,
|
|
172
172
|
order: 3
|
|
@@ -209,7 +209,7 @@ function setupTerminalMenus() {
|
|
|
209
209
|
item: {
|
|
210
210
|
command: {
|
|
211
211
|
id: TerminalCommandId.CopySelection,
|
|
212
|
-
title: ( localize(
|
|
212
|
+
title: ( localize(6596, "Copy"))
|
|
213
213
|
},
|
|
214
214
|
group: ContextMenuGroup.Edit,
|
|
215
215
|
order: 1
|
|
@@ -220,7 +220,7 @@ function setupTerminalMenus() {
|
|
|
220
220
|
item: {
|
|
221
221
|
command: {
|
|
222
222
|
id: TerminalCommandId.CopySelectionAsHtml,
|
|
223
|
-
title: ( localize(
|
|
223
|
+
title: ( localize(6597, "Copy as HTML"))
|
|
224
224
|
},
|
|
225
225
|
group: ContextMenuGroup.Edit,
|
|
226
226
|
order: 2
|
|
@@ -231,7 +231,7 @@ function setupTerminalMenus() {
|
|
|
231
231
|
item: {
|
|
232
232
|
command: {
|
|
233
233
|
id: TerminalCommandId.Paste,
|
|
234
|
-
title: ( localize(
|
|
234
|
+
title: ( localize(6598, "Paste"))
|
|
235
235
|
},
|
|
236
236
|
group: ContextMenuGroup.Edit,
|
|
237
237
|
order: 3
|
|
@@ -242,7 +242,7 @@ function setupTerminalMenus() {
|
|
|
242
242
|
item: {
|
|
243
243
|
command: {
|
|
244
244
|
id: TerminalCommandId.Clear,
|
|
245
|
-
title: ( localize(
|
|
245
|
+
title: ( localize(6599, "Clear"))
|
|
246
246
|
},
|
|
247
247
|
group: ContextMenuGroup.Clear,
|
|
248
248
|
}
|
|
@@ -252,7 +252,7 @@ function setupTerminalMenus() {
|
|
|
252
252
|
item: {
|
|
253
253
|
command: {
|
|
254
254
|
id: TerminalCommandId.SelectAll,
|
|
255
|
-
title: ( localize(
|
|
255
|
+
title: ( localize(6600, "Select All")),
|
|
256
256
|
},
|
|
257
257
|
group: ContextMenuGroup.Edit,
|
|
258
258
|
order: 3
|
|
@@ -275,7 +275,7 @@ function setupTerminalMenus() {
|
|
|
275
275
|
item: {
|
|
276
276
|
command: {
|
|
277
277
|
id: TerminalCommandId.NewWithProfile,
|
|
278
|
-
title: ( localize(
|
|
278
|
+
title: ( localize(6601, "New Terminal With Profile..."))
|
|
279
279
|
},
|
|
280
280
|
group: ContextMenuGroup.Create
|
|
281
281
|
}
|
|
@@ -297,7 +297,7 @@ function setupTerminalMenus() {
|
|
|
297
297
|
item: {
|
|
298
298
|
command: {
|
|
299
299
|
id: TerminalCommandId.SelectDefaultProfile,
|
|
300
|
-
title: ( localize2(
|
|
300
|
+
title: ( localize2(6602, 'Select Default Profile')),
|
|
301
301
|
},
|
|
302
302
|
group: '3_configure'
|
|
303
303
|
}
|
|
@@ -307,7 +307,7 @@ function setupTerminalMenus() {
|
|
|
307
307
|
item: {
|
|
308
308
|
command: {
|
|
309
309
|
id: TerminalCommandId.ConfigureTerminalSettings,
|
|
310
|
-
title: ( localize(
|
|
310
|
+
title: ( localize(6603, "Configure Terminal Settings"))
|
|
311
311
|
},
|
|
312
312
|
group: '3_configure'
|
|
313
313
|
}
|
|
@@ -317,7 +317,7 @@ function setupTerminalMenus() {
|
|
|
317
317
|
item: {
|
|
318
318
|
command: {
|
|
319
319
|
id: 'workbench.action.tasks.runTask',
|
|
320
|
-
title: ( localize(
|
|
320
|
+
title: ( localize(6604, "Run Task..."))
|
|
321
321
|
},
|
|
322
322
|
when: TaskExecutionSupportedContext,
|
|
323
323
|
group: '4_tasks',
|
|
@@ -329,7 +329,7 @@ function setupTerminalMenus() {
|
|
|
329
329
|
item: {
|
|
330
330
|
command: {
|
|
331
331
|
id: 'workbench.action.tasks.configureTaskRunner',
|
|
332
|
-
title: ( localize(
|
|
332
|
+
title: ( localize(6605, "Configure Tasks..."))
|
|
333
333
|
},
|
|
334
334
|
when: TaskExecutionSupportedContext,
|
|
335
335
|
group: '4_tasks',
|
|
@@ -343,7 +343,7 @@ function setupTerminalMenus() {
|
|
|
343
343
|
item: {
|
|
344
344
|
command: {
|
|
345
345
|
id: TerminalCommandId.SwitchTerminal,
|
|
346
|
-
title: ( localize2(
|
|
346
|
+
title: ( localize2(6606, 'Switch Terminal'))
|
|
347
347
|
},
|
|
348
348
|
group: 'navigation',
|
|
349
349
|
order: 0,
|
|
@@ -441,7 +441,7 @@ function setupTerminalMenus() {
|
|
|
441
441
|
item: {
|
|
442
442
|
command: {
|
|
443
443
|
id: TerminalCommandId.Clear,
|
|
444
|
-
title: ( localize(
|
|
444
|
+
title: ( localize(6607, "Clear Terminal")),
|
|
445
445
|
icon: Codicon.clearAll
|
|
446
446
|
},
|
|
447
447
|
group: 'navigation',
|
|
@@ -455,7 +455,7 @@ function setupTerminalMenus() {
|
|
|
455
455
|
item: {
|
|
456
456
|
command: {
|
|
457
457
|
id: TerminalCommandId.RunActiveFile,
|
|
458
|
-
title: ( localize(
|
|
458
|
+
title: ( localize(6608, "Run Active File")),
|
|
459
459
|
icon: Codicon.run
|
|
460
460
|
},
|
|
461
461
|
group: 'navigation',
|
|
@@ -469,7 +469,7 @@ function setupTerminalMenus() {
|
|
|
469
469
|
item: {
|
|
470
470
|
command: {
|
|
471
471
|
id: TerminalCommandId.RunSelectedText,
|
|
472
|
-
title: ( localize(
|
|
472
|
+
title: ( localize(6609, "Run Selected Text")),
|
|
473
473
|
icon: Codicon.selection
|
|
474
474
|
},
|
|
475
475
|
group: 'navigation',
|
|
@@ -518,7 +518,7 @@ function setupTerminalMenus() {
|
|
|
518
518
|
item: {
|
|
519
519
|
command: {
|
|
520
520
|
id: TerminalCommandId.RenameActiveTab,
|
|
521
|
-
title: ( localize(
|
|
521
|
+
title: ( localize(6610, "Rename..."))
|
|
522
522
|
},
|
|
523
523
|
group: ContextMenuGroup.Edit
|
|
524
524
|
}
|
|
@@ -528,7 +528,7 @@ function setupTerminalMenus() {
|
|
|
528
528
|
item: {
|
|
529
529
|
command: {
|
|
530
530
|
id: TerminalCommandId.ChangeIconActiveTab,
|
|
531
|
-
title: ( localize(
|
|
531
|
+
title: ( localize(6611, "Change Icon..."))
|
|
532
532
|
},
|
|
533
533
|
group: ContextMenuGroup.Edit
|
|
534
534
|
}
|
|
@@ -538,7 +538,7 @@ function setupTerminalMenus() {
|
|
|
538
538
|
item: {
|
|
539
539
|
command: {
|
|
540
540
|
id: TerminalCommandId.ChangeColorActiveTab,
|
|
541
|
-
title: ( localize(
|
|
541
|
+
title: ( localize(6612, "Change Color..."))
|
|
542
542
|
},
|
|
543
543
|
group: ContextMenuGroup.Edit
|
|
544
544
|
}
|
|
@@ -558,7 +558,7 @@ function setupTerminalMenus() {
|
|
|
558
558
|
item: {
|
|
559
559
|
command: {
|
|
560
560
|
id: TerminalCommandId.JoinActiveTab,
|
|
561
|
-
title: ( localize(
|
|
561
|
+
title: ( localize(6613, "Join Terminals"))
|
|
562
562
|
},
|
|
563
563
|
when: ( (TerminalContextKeys.tabsSingularSelection.toNegated())),
|
|
564
564
|
group: ContextMenuGroup.Config
|
|
@@ -655,12 +655,12 @@ function getTerminalActionBarArgs(location, profiles, defaultProfileName, contri
|
|
|
655
655
|
const options = { config: p, location };
|
|
656
656
|
const splitOptions = { config: p, location: splitLocation };
|
|
657
657
|
const sanitizedProfileName = p.profileName.replace(/[\n\r\t]/g, '');
|
|
658
|
-
dropdownActions.push(( (new Action(TerminalCommandId.NewWithProfile, isDefault ? ( localize(
|
|
658
|
+
dropdownActions.push(( (new Action(TerminalCommandId.NewWithProfile, isDefault ? ( localize(6614, "{0} (Default)", sanitizedProfileName)) : sanitizedProfileName, undefined, true, async () => {
|
|
659
659
|
const instance = await terminalService.createTerminal(options);
|
|
660
660
|
terminalService.setActiveInstance(instance);
|
|
661
661
|
await terminalService.focusActiveInstance();
|
|
662
662
|
}))));
|
|
663
|
-
submenuActions.push(( (new Action(TerminalCommandId.Split, isDefault ? ( localize(
|
|
663
|
+
submenuActions.push(( (new Action(TerminalCommandId.Split, isDefault ? ( localize(6614, "{0} (Default)", sanitizedProfileName)) : sanitizedProfileName, undefined, true, async () => {
|
|
664
664
|
const instance = await terminalService.createTerminal(splitOptions);
|
|
665
665
|
terminalService.setActiveInstance(instance);
|
|
666
666
|
await terminalService.focusActiveInstance();
|
|
@@ -668,7 +668,7 @@ function getTerminalActionBarArgs(location, profiles, defaultProfileName, contri
|
|
|
668
668
|
}
|
|
669
669
|
for (const contributed of contributedProfiles) {
|
|
670
670
|
const isDefault = contributed.title === defaultProfileName;
|
|
671
|
-
const title = isDefault ? ( localize(
|
|
671
|
+
const title = isDefault ? ( localize(6614, "{0} (Default)", contributed.title.replace(/[\n\r\t]/g, ''))) : contributed.title.replace(/[\n\r\t]/g, '');
|
|
672
672
|
dropdownActions.push(( (new Action(
|
|
673
673
|
'contributed',
|
|
674
674
|
title,
|
|
@@ -704,7 +704,7 @@ function getTerminalActionBarArgs(location, profiles, defaultProfileName, contri
|
|
|
704
704
|
dropdownActions.unshift(defaultProfileAction);
|
|
705
705
|
}
|
|
706
706
|
if (dropdownActions.length > 0) {
|
|
707
|
-
dropdownActions.push(( (new SubmenuAction('split.profile', ( localize(
|
|
707
|
+
dropdownActions.push(( (new SubmenuAction('split.profile', ( localize(6615, 'Split Terminal')), submenuActions))));
|
|
708
708
|
dropdownActions.push(( (new Separator())));
|
|
709
709
|
}
|
|
710
710
|
const actions = dropdownMenu.getActions();
|
|
@@ -714,7 +714,7 @@ function getTerminalActionBarArgs(location, profiles, defaultProfileName, contri
|
|
|
714
714
|
submenuActions = submenuActions.filter(d => d !== defaultSubmenuProfileAction).sort((a, b) => a.label.localeCompare(b.label));
|
|
715
715
|
submenuActions.unshift(defaultSubmenuProfileAction);
|
|
716
716
|
}
|
|
717
|
-
const dropdownAction = ( (new Action('refresh profiles', ( localize(
|
|
717
|
+
const dropdownAction = ( (new Action('refresh profiles', ( localize(6616, 'Launch Profile...')), 'codicon-chevron-down', true)));
|
|
718
718
|
return { dropdownAction, dropdownMenuActions: dropdownActions, className: `terminal-tab-actions-${terminalService.resolveLocation(location)}` };
|
|
719
719
|
}
|
|
720
720
|
export { TerminalMenuBarGroup, getTerminalActionBarArgs, setupTerminalMenus };
|
|
@@ -37,7 +37,7 @@ if (CutAction) {
|
|
|
37
37
|
MenuRegistry.appendMenuItem(MenuId.WebviewContext, {
|
|
38
38
|
command: {
|
|
39
39
|
id: CutAction.id,
|
|
40
|
-
title: ( localize(
|
|
40
|
+
title: ( localize(4366, "Cut")),
|
|
41
41
|
},
|
|
42
42
|
group: '5_cutcopypaste',
|
|
43
43
|
order: 1,
|
|
@@ -48,7 +48,7 @@ if (CopyAction) {
|
|
|
48
48
|
MenuRegistry.appendMenuItem(MenuId.WebviewContext, {
|
|
49
49
|
command: {
|
|
50
50
|
id: CopyAction.id,
|
|
51
|
-
title: ( localize(
|
|
51
|
+
title: ( localize(4367, "Copy")),
|
|
52
52
|
},
|
|
53
53
|
group: '5_cutcopypaste',
|
|
54
54
|
order: 2,
|
|
@@ -59,7 +59,7 @@ if (PasteAction) {
|
|
|
59
59
|
MenuRegistry.appendMenuItem(MenuId.WebviewContext, {
|
|
60
60
|
command: {
|
|
61
61
|
id: PasteAction.id,
|
|
62
|
-
title: ( localize(
|
|
62
|
+
title: ( localize(4368, "Paste")),
|
|
63
63
|
},
|
|
64
64
|
group: '5_cutcopypaste',
|
|
65
65
|
order: 3,
|
|
@@ -21,7 +21,7 @@ import { IWorkbenchLayoutService } from '../../../services/layout/browser/layout
|
|
|
21
21
|
var WebviewEditor_1;
|
|
22
22
|
const CONTEXT_ACTIVE_WEBVIEW_PANEL_ID = ( (new RawContextKey('activeWebviewPanelId', '', {
|
|
23
23
|
type: 'string',
|
|
24
|
-
description: ( localize(
|
|
24
|
+
description: ( localize(9520, "The viewType of the currently active webview panel.")),
|
|
25
25
|
})));
|
|
26
26
|
let WebviewEditor = class WebviewEditor extends EditorPane {
|
|
27
27
|
static { WebviewEditor_1 = this; }
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { localize } from '../../../../nls.js';
|
|
2
2
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
3
3
|
const WorkspaceTrustContext = {
|
|
4
|
-
IsEnabled: ( (new RawContextKey('isWorkspaceTrustEnabled', false, ( localize(
|
|
5
|
-
IsTrusted: ( (new RawContextKey('isWorkspaceTrusted', false, ( localize(
|
|
4
|
+
IsEnabled: ( (new RawContextKey('isWorkspaceTrustEnabled', false, ( localize(6647, "Whether the workspace trust feature is enabled."))))),
|
|
5
|
+
IsTrusted: ( (new RawContextKey('isWorkspaceTrusted', false, ( localize(6648, "Whether the current workspace has been trusted by the user.")))))
|
|
6
6
|
};
|
|
7
7
|
const MANAGE_TRUST_COMMAND_ID = 'workbench.trust.manage';
|
|
8
8
|
export { MANAGE_TRUST_COMMAND_ID, WorkspaceTrustContext };
|
|
@@ -71,14 +71,14 @@ let AuthenticationService = class AuthenticationService extends Disposable {
|
|
|
71
71
|
}
|
|
72
72
|
registerDeclaredAuthenticationProvider(provider) {
|
|
73
73
|
if (isFalsyOrWhitespace(provider.id)) {
|
|
74
|
-
throw ( new Error(localize(
|
|
74
|
+
throw ( new Error(localize(2138, 'An authentication contribution must specify an id.')));
|
|
75
75
|
}
|
|
76
76
|
if (isFalsyOrWhitespace(provider.label)) {
|
|
77
|
-
throw ( new Error(localize(
|
|
77
|
+
throw ( new Error(localize(2139, 'An authentication contribution must specify a label.')));
|
|
78
78
|
}
|
|
79
79
|
if (( this.declaredProviders.some(p => p.id === provider.id))) {
|
|
80
80
|
throw ( new Error(localize(
|
|
81
|
-
|
|
81
|
+
2140,
|
|
82
82
|
"This authentication id '{0}' has already been registered",
|
|
83
83
|
provider.id
|
|
84
84
|
)));
|
|
@@ -92,7 +92,7 @@ let AuxiliaryWindow = class AuxiliaryWindow extends BaseWindow {
|
|
|
92
92
|
preventUnload(e) {
|
|
93
93
|
e.preventDefault();
|
|
94
94
|
e.returnValue = ( localize(
|
|
95
|
-
|
|
95
|
+
4141,
|
|
96
96
|
"Changes that you made may not be saved. Please check press 'Cancel' and try again."
|
|
97
97
|
));
|
|
98
98
|
}
|
|
@@ -151,7 +151,7 @@ let BrowserAuxiliaryWindowService = class BrowserAuxiliaryWindowService extends
|
|
|
151
151
|
mark('code/auxiliaryWindow/willOpen');
|
|
152
152
|
const targetWindow = await this.openWindow(options);
|
|
153
153
|
if (!targetWindow) {
|
|
154
|
-
throw ( (new Error(localize(
|
|
154
|
+
throw ( (new Error(localize(4142, "Unable to open a new window."))));
|
|
155
155
|
}
|
|
156
156
|
const resolvedWindowId = await this.resolveWindowId(targetWindow);
|
|
157
157
|
ensureCodeWindow(targetWindow, resolvedWindowId);
|
|
@@ -224,16 +224,16 @@ let BrowserAuxiliaryWindowService = class BrowserAuxiliaryWindowService extends
|
|
|
224
224
|
return (await this.dialogService.prompt({
|
|
225
225
|
type: Severity$1.Warning,
|
|
226
226
|
message: ( localize(
|
|
227
|
-
|
|
227
|
+
4143,
|
|
228
228
|
"The browser interrupted the opening of a new window. Press 'Retry' to try again."
|
|
229
229
|
)),
|
|
230
230
|
detail: ( localize(
|
|
231
|
-
|
|
231
|
+
4144,
|
|
232
232
|
"To avoid this problem in the future, please ensure to allow popups for this website."
|
|
233
233
|
)),
|
|
234
234
|
buttons: [
|
|
235
235
|
{
|
|
236
|
-
label: ( localize(
|
|
236
|
+
label: ( localize(4145, "&&Retry")),
|
|
237
237
|
run: () => this.openWindow(options)
|
|
238
238
|
}
|
|
239
239
|
],
|
package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { localize } from '../../../../nls.js';
|
|
2
2
|
const idDescription = ( localize(
|
|
3
|
-
|
|
3
|
+
10501,
|
|
4
4
|
"The input's id is used to associate an input with a variable of the form ${input:id}."
|
|
5
5
|
));
|
|
6
|
-
const typeDescription = ( localize(
|
|
7
|
-
const descriptionDescription = ( localize(
|
|
8
|
-
const defaultDescription = ( localize(
|
|
6
|
+
const typeDescription = ( localize(10502, "The type of user input prompt to use."));
|
|
7
|
+
const descriptionDescription = ( localize(10503, "The description is shown when the user is prompted for input."));
|
|
8
|
+
const defaultDescription = ( localize(10504, "The default value for the input."));
|
|
9
9
|
const inputsSchema = {
|
|
10
10
|
definitions: {
|
|
11
11
|
inputs: {
|
|
12
12
|
type: 'array',
|
|
13
13
|
description: ( localize(
|
|
14
|
-
|
|
14
|
+
10505,
|
|
15
15
|
'User inputs. Used for defining user input prompts, such as free string input or a choice from several options.'
|
|
16
16
|
)),
|
|
17
17
|
items: {
|
|
@@ -31,7 +31,7 @@ const inputsSchema = {
|
|
|
31
31
|
enum: ['promptString'],
|
|
32
32
|
enumDescriptions: [
|
|
33
33
|
( localize(
|
|
34
|
-
|
|
34
|
+
10506,
|
|
35
35
|
"The 'promptString' type opens an input box to ask the user for input."
|
|
36
36
|
)),
|
|
37
37
|
]
|
|
@@ -47,7 +47,7 @@ const inputsSchema = {
|
|
|
47
47
|
password: {
|
|
48
48
|
type: 'boolean',
|
|
49
49
|
description: ( localize(
|
|
50
|
-
|
|
50
|
+
10507,
|
|
51
51
|
"Controls if a password input is shown. Password input hides the typed text."
|
|
52
52
|
)),
|
|
53
53
|
},
|
|
@@ -67,7 +67,7 @@ const inputsSchema = {
|
|
|
67
67
|
description: typeDescription,
|
|
68
68
|
enum: ['pickString'],
|
|
69
69
|
enumDescriptions: [
|
|
70
|
-
( localize(
|
|
70
|
+
( localize(10508, "The 'pickString' type shows a selection list.")),
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
73
|
description: {
|
|
@@ -80,7 +80,7 @@ const inputsSchema = {
|
|
|
80
80
|
},
|
|
81
81
|
options: {
|
|
82
82
|
type: 'array',
|
|
83
|
-
description: ( localize(
|
|
83
|
+
description: ( localize(10509, "An array of strings that defines the options for a quick pick.")),
|
|
84
84
|
items: {
|
|
85
85
|
oneOf: [
|
|
86
86
|
{
|
|
@@ -93,11 +93,11 @@ const inputsSchema = {
|
|
|
93
93
|
properties: {
|
|
94
94
|
label: {
|
|
95
95
|
type: 'string',
|
|
96
|
-
description: ( localize(
|
|
96
|
+
description: ( localize(10510, "Label for the option."))
|
|
97
97
|
},
|
|
98
98
|
value: {
|
|
99
99
|
type: 'string',
|
|
100
|
-
description: ( localize(
|
|
100
|
+
description: ( localize(10511, "Value for the option."))
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
}
|
|
@@ -120,26 +120,26 @@ const inputsSchema = {
|
|
|
120
120
|
description: typeDescription,
|
|
121
121
|
enum: ['command'],
|
|
122
122
|
enumDescriptions: [
|
|
123
|
-
( localize(
|
|
123
|
+
( localize(10512, "The 'command' type executes a command.")),
|
|
124
124
|
]
|
|
125
125
|
},
|
|
126
126
|
command: {
|
|
127
127
|
type: 'string',
|
|
128
|
-
description: ( localize(
|
|
128
|
+
description: ( localize(10513, "The command to execute for this input variable."))
|
|
129
129
|
},
|
|
130
130
|
args: {
|
|
131
131
|
oneOf: [
|
|
132
132
|
{
|
|
133
133
|
type: 'object',
|
|
134
|
-
description: ( localize(
|
|
134
|
+
description: ( localize(10514, "Optional arguments passed to the command."))
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
type: 'array',
|
|
138
|
-
description: ( localize(
|
|
138
|
+
description: ( localize(10514, "Optional arguments passed to the command."))
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
type: 'string',
|
|
142
|
-
description: ( localize(
|
|
142
|
+
description: ( localize(10514, "Optional arguments passed to the command."))
|
|
143
143
|
}
|
|
144
144
|
]
|
|
145
145
|
}
|
package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js
CHANGED
|
@@ -3,7 +3,7 @@ function applyDeprecatedVariableMessage(schema) {
|
|
|
3
3
|
schema.pattern = schema.pattern || '^(?!.*\\$\\{(env|config|command)\\.)';
|
|
4
4
|
schema.patternErrorMessage = schema.patternErrorMessage ||
|
|
5
5
|
( localize(
|
|
6
|
-
|
|
6
|
+
10500,
|
|
7
7
|
"'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead."
|
|
8
8
|
));
|
|
9
9
|
}
|
|
@@ -14,7 +14,7 @@ const editorAssociationsConfigurationNode = {
|
|
|
14
14
|
'workbench.editorAssociations': {
|
|
15
15
|
type: 'object',
|
|
16
16
|
markdownDescription: ( localize(
|
|
17
|
-
|
|
17
|
+
5659,
|
|
18
18
|
"Configure [glob patterns](https://aka.ms/vscode-glob-patterns) to editors (for example `\"*.hex\": \"hexEditor.hexedit\"`). These have precedence over the default behavior."
|
|
19
19
|
)),
|
|
20
20
|
additionalProperties: {
|
|
@@ -10,7 +10,7 @@ const getDefaultIconPath = () => ( (( (FileAccess.asBrowserUri('vs/workbench/ser
|
|
|
10
10
|
const extensionsConfigurationNodeBase = {
|
|
11
11
|
id: 'extensions',
|
|
12
12
|
order: 30,
|
|
13
|
-
title: ( localize(
|
|
13
|
+
title: ( localize(7542, "Extensions")),
|
|
14
14
|
type: 'object'
|
|
15
15
|
};
|
|
16
16
|
var EnablementState;
|