@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
|
@@ -228,7 +228,7 @@ let CodeCellRenderer = class CodeCellRenderer extends AbstractCellRenderer {
|
|
|
228
228
|
const cellInputCollapsedContainer = append(cellContainer, $('.input-collapse-container'));
|
|
229
229
|
cellInputCollapsedContainer.style.display = 'none';
|
|
230
230
|
const executionOrderLabel = append(focusIndicatorLeft.domNode, $('div.execution-count-label'));
|
|
231
|
-
executionOrderLabel.title = ( localize(
|
|
231
|
+
executionOrderLabel.title = ( localize(10673, 'Execution Order'));
|
|
232
232
|
const editorPart = append(cellContainer, $('.cell-editor-part'));
|
|
233
233
|
const editorContainer = append(editorPart, $('.cell-editor-container'));
|
|
234
234
|
const cellCommentPartContainer = append(container, $('.cell-comment-container'));
|
|
@@ -2,18 +2,18 @@ import { Codicon } from '../../../../base/common/codicons.js';
|
|
|
2
2
|
import { localize } from '../../../../nls.js';
|
|
3
3
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
4
4
|
const settingsScopeDropDownIcon = registerIcon('settings-folder-dropdown', Codicon.triangleDown, ( localize(
|
|
5
|
-
|
|
5
|
+
6271,
|
|
6
6
|
'Icon for the folder dropdown button in the split JSON Settings editor.'
|
|
7
7
|
)));
|
|
8
|
-
const settingsMoreActionIcon = registerIcon('settings-more-action', Codicon.gear, ( localize(
|
|
9
|
-
const keybindingsRecordKeysIcon = registerIcon('keybindings-record-keys', Codicon.recordKeys, ( localize(
|
|
10
|
-
const keybindingsSortIcon = registerIcon('keybindings-sort', Codicon.sortPrecedence, ( localize(
|
|
11
|
-
const keybindingsEditIcon = registerIcon('keybindings-edit', Codicon.edit, ( localize(
|
|
12
|
-
const keybindingsAddIcon = registerIcon('keybindings-add', Codicon.add, ( localize(
|
|
13
|
-
const settingsEditIcon = registerIcon('settings-edit', Codicon.edit, ( localize(
|
|
14
|
-
const settingsRemoveIcon = registerIcon('settings-remove', Codicon.close, ( localize(
|
|
15
|
-
const settingsDiscardIcon = registerIcon('settings-discard', Codicon.discard, ( localize(
|
|
16
|
-
const preferencesClearInputIcon = registerIcon('preferences-clear-input', Codicon.clearAll, ( localize(
|
|
17
|
-
const preferencesFilterIcon = registerIcon('preferences-filter', Codicon.filter, ( localize(
|
|
18
|
-
const preferencesOpenSettingsIcon = registerIcon('preferences-open-settings', Codicon.goToFile, ( localize(
|
|
8
|
+
const settingsMoreActionIcon = registerIcon('settings-more-action', Codicon.gear, ( localize(6272, 'Icon for the \'more actions\' action in the Settings UI.')));
|
|
9
|
+
const keybindingsRecordKeysIcon = registerIcon('keybindings-record-keys', Codicon.recordKeys, ( localize(6273, 'Icon for the \'record keys\' action in the keybinding UI.')));
|
|
10
|
+
const keybindingsSortIcon = registerIcon('keybindings-sort', Codicon.sortPrecedence, ( localize(6274, 'Icon for the \'sort by precedence\' toggle in the keybinding UI.')));
|
|
11
|
+
const keybindingsEditIcon = registerIcon('keybindings-edit', Codicon.edit, ( localize(6275, 'Icon for the edit action in the keybinding UI.')));
|
|
12
|
+
const keybindingsAddIcon = registerIcon('keybindings-add', Codicon.add, ( localize(6276, 'Icon for the add action in the keybinding UI.')));
|
|
13
|
+
const settingsEditIcon = registerIcon('settings-edit', Codicon.edit, ( localize(6277, 'Icon for the edit action in the Settings UI.')));
|
|
14
|
+
const settingsRemoveIcon = registerIcon('settings-remove', Codicon.close, ( localize(6278, 'Icon for the remove action in the Settings UI.')));
|
|
15
|
+
const settingsDiscardIcon = registerIcon('settings-discard', Codicon.discard, ( localize(6279, 'Icon for the discard action in the Settings UI.')));
|
|
16
|
+
const preferencesClearInputIcon = registerIcon('preferences-clear-input', Codicon.clearAll, ( localize(6280, 'Icon for clear input in the Settings and keybinding UI.')));
|
|
17
|
+
const preferencesFilterIcon = registerIcon('preferences-filter', Codicon.filter, ( localize(6281, 'Icon for the button that suggests filters for the Settings UI.')));
|
|
18
|
+
const preferencesOpenSettingsIcon = registerIcon('preferences-open-settings', Codicon.goToFile, ( localize(6282, 'Icon for open settings commands.')));
|
|
19
19
|
export { keybindingsAddIcon, keybindingsEditIcon, keybindingsRecordKeysIcon, keybindingsSortIcon, preferencesClearInputIcon, preferencesFilterIcon, preferencesOpenSettingsIcon, settingsDiscardIcon, settingsEditIcon, settingsMoreActionIcon, settingsRemoveIcon, settingsScopeDropDownIcon };
|
|
@@ -30,7 +30,7 @@ let SwitchQuickDiffViewItem = class SwitchQuickDiffViewItem extends SelectAction
|
|
|
30
30
|
const peekTitleColor = theme.getColor(peekViewTitleBackground);
|
|
31
31
|
const opaqueTitleColor = peekTitleColor?.makeOpaque(editorBackgroundColor) ?? editorBackgroundColor;
|
|
32
32
|
styles.selectBackground = ( (( (opaqueTitleColor.lighten(.6))).toString()));
|
|
33
|
-
super(null, action, items, startingSelection, contextViewService, styles, { ariaLabel: ( localize(
|
|
33
|
+
super(null, action, items, startingSelection, contextViewService, styles, { ariaLabel: ( localize(10515, 'Switch quick diff base')) });
|
|
34
34
|
this.optionsItems = items;
|
|
35
35
|
}
|
|
36
36
|
setSelection(provider) {
|
|
@@ -51,7 +51,7 @@ SwitchQuickDiffViewItem = ( (__decorate([
|
|
|
51
51
|
], SwitchQuickDiffViewItem)));
|
|
52
52
|
class SwitchQuickDiffBaseAction extends Action {
|
|
53
53
|
static { this.ID = 'quickDiff.base.switch'; }
|
|
54
|
-
static { this.LABEL = ( localize(
|
|
54
|
+
static { this.LABEL = ( localize(10516, "Switch Quick Diff Base")); }
|
|
55
55
|
constructor(callback) {
|
|
56
56
|
super(SwitchQuickDiffBaseAction.ID, SwitchQuickDiffBaseAction.LABEL, undefined, undefined);
|
|
57
57
|
this.callback = callback;
|
|
@@ -237,14 +237,14 @@ let DirtyDiffWidget = class DirtyDiffWidget extends PeekViewWidget {
|
|
|
237
237
|
if (!this.shouldUseDropdown()) {
|
|
238
238
|
detail = this.model.changes.length > 1
|
|
239
239
|
? ( localize(
|
|
240
|
-
|
|
240
|
+
6618,
|
|
241
241
|
"{0} - {1} of {2} changes",
|
|
242
242
|
label,
|
|
243
243
|
providerIndex + 1,
|
|
244
244
|
providerChanges.length
|
|
245
245
|
))
|
|
246
246
|
: ( localize(
|
|
247
|
-
|
|
247
|
+
6619,
|
|
248
248
|
"{0} - {1} of {2} change",
|
|
249
249
|
label,
|
|
250
250
|
providerIndex + 1,
|
|
@@ -254,8 +254,8 @@ let DirtyDiffWidget = class DirtyDiffWidget extends PeekViewWidget {
|
|
|
254
254
|
}
|
|
255
255
|
else {
|
|
256
256
|
detail = this.model.changes.length > 1
|
|
257
|
-
? ( localize(
|
|
258
|
-
: ( localize(
|
|
257
|
+
? ( localize(6620, "{0} of {1} changes", providerIndex + 1, providerChanges.length))
|
|
258
|
+
: ( localize(6621, "{0} of {1} change", providerIndex + 1, providerChanges.length));
|
|
259
259
|
this.dropdownContainer.style.display = 'inherit';
|
|
260
260
|
}
|
|
261
261
|
this.setTitle(this.title, detail);
|
|
@@ -313,7 +313,7 @@ let DirtyDiffWidget = class DirtyDiffWidget extends PeekViewWidget {
|
|
|
313
313
|
this._actionbarWidget.clear();
|
|
314
314
|
this._actionbarWidget.push(actions.reverse(), { label: false, icon: true });
|
|
315
315
|
this._actionbarWidget.push([next, previous], { label: false, icon: true });
|
|
316
|
-
this._actionbarWidget.push(( (new Action('peekview.close', ( localize(
|
|
316
|
+
this._actionbarWidget.push(( (new Action('peekview.close', ( localize(6622, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => this.dispose()))), { label: false, icon: true });
|
|
317
317
|
}
|
|
318
318
|
_fillHead(container) {
|
|
319
319
|
super._fillHead(container, true);
|
|
@@ -418,7 +418,7 @@ class ShowPreviousChangeAction extends EditorAction {
|
|
|
418
418
|
constructor(outerEditor) {
|
|
419
419
|
super({
|
|
420
420
|
id: 'editor.action.dirtydiff.previous',
|
|
421
|
-
label: ( localize(
|
|
421
|
+
label: ( localize(6623, "Show Previous Change")),
|
|
422
422
|
alias: 'Show Previous Change',
|
|
423
423
|
precondition: ( (TextCompareEditorActiveContext.toNegated())),
|
|
424
424
|
kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod$1.Shift | KeyMod$1.Alt | KeyCode.F3, weight: KeybindingWeight.EditorContrib }
|
|
@@ -445,7 +445,7 @@ class ShowNextChangeAction extends EditorAction {
|
|
|
445
445
|
constructor(outerEditor) {
|
|
446
446
|
super({
|
|
447
447
|
id: 'editor.action.dirtydiff.next',
|
|
448
|
-
label: ( localize(
|
|
448
|
+
label: ( localize(6624, "Show Next Change")),
|
|
449
449
|
alias: 'Show Next Change',
|
|
450
450
|
precondition: ( (TextCompareEditorActiveContext.toNegated())),
|
|
451
451
|
kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod$1.Alt | KeyCode.F3, weight: KeybindingWeight.EditorContrib }
|
|
@@ -472,7 +472,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
472
472
|
group: '7_change_nav',
|
|
473
473
|
command: {
|
|
474
474
|
id: 'editor.action.dirtydiff.next',
|
|
475
|
-
title: ( localize(
|
|
475
|
+
title: ( localize(6625, "Next &&Change"))
|
|
476
476
|
},
|
|
477
477
|
order: 1
|
|
478
478
|
});
|
|
@@ -480,7 +480,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
480
480
|
group: '7_change_nav',
|
|
481
481
|
command: {
|
|
482
482
|
id: 'editor.action.dirtydiff.previous',
|
|
483
|
-
title: ( localize(
|
|
483
|
+
title: ( localize(6626, "Previous &&Change"))
|
|
484
484
|
},
|
|
485
485
|
order: 2
|
|
486
486
|
});
|
|
@@ -488,7 +488,7 @@ class GotoPreviousChangeAction extends EditorAction {
|
|
|
488
488
|
constructor() {
|
|
489
489
|
super({
|
|
490
490
|
id: 'workbench.action.editor.previousChange',
|
|
491
|
-
label: ( localize(
|
|
491
|
+
label: ( localize(6627, "Go to Previous Change")),
|
|
492
492
|
alias: 'Go to Previous Change',
|
|
493
493
|
precondition: ( (TextCompareEditorActiveContext.toNegated())),
|
|
494
494
|
kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod$1.Shift | KeyMod$1.Alt | KeyCode.F5, weight: KeybindingWeight.EditorContrib }
|
|
@@ -522,7 +522,7 @@ class GotoNextChangeAction extends EditorAction {
|
|
|
522
522
|
constructor() {
|
|
523
523
|
super({
|
|
524
524
|
id: 'workbench.action.editor.nextChange',
|
|
525
|
-
label: ( localize(
|
|
525
|
+
label: ( localize(6628, "Go to Next Change")),
|
|
526
526
|
alias: 'Go to Next Change',
|
|
527
527
|
precondition: ( (TextCompareEditorActiveContext.toNegated())),
|
|
528
528
|
kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod$1.Alt | KeyCode.F5, weight: KeybindingWeight.EditorContrib }
|
|
@@ -841,20 +841,20 @@ const editorGutterModifiedBackground = registerColor('editorGutter.modifiedBackg
|
|
|
841
841
|
light: '#2090D3',
|
|
842
842
|
hcDark: '#1B81A8',
|
|
843
843
|
hcLight: '#2090D3'
|
|
844
|
-
}, ( localize(
|
|
844
|
+
}, ( localize(6629, "Editor gutter background color for lines that are modified.")));
|
|
845
845
|
const editorGutterAddedBackground = registerColor('editorGutter.addedBackground', {
|
|
846
846
|
dark: '#487E02',
|
|
847
847
|
light: '#48985D',
|
|
848
848
|
hcDark: '#487E02',
|
|
849
849
|
hcLight: '#48985D'
|
|
850
|
-
}, ( localize(
|
|
851
|
-
const editorGutterDeletedBackground = registerColor('editorGutter.deletedBackground', editorErrorForeground, ( localize(
|
|
852
|
-
const minimapGutterModifiedBackground = registerColor('minimapGutter.modifiedBackground', editorGutterModifiedBackground, ( localize(
|
|
853
|
-
const minimapGutterAddedBackground = registerColor('minimapGutter.addedBackground', editorGutterAddedBackground, ( localize(
|
|
854
|
-
const minimapGutterDeletedBackground = registerColor('minimapGutter.deletedBackground', editorGutterDeletedBackground, ( localize(
|
|
855
|
-
const overviewRulerModifiedForeground = registerColor('editorOverviewRuler.modifiedForeground', ( (transparent(editorGutterModifiedBackground, 0.6))), ( localize(
|
|
856
|
-
const overviewRulerAddedForeground = registerColor('editorOverviewRuler.addedForeground', ( (transparent(editorGutterAddedBackground, 0.6))), ( localize(
|
|
857
|
-
const overviewRulerDeletedForeground = registerColor('editorOverviewRuler.deletedForeground', ( (transparent(editorGutterDeletedBackground, 0.6))), ( localize(
|
|
850
|
+
}, ( localize(6630, "Editor gutter background color for lines that are added.")));
|
|
851
|
+
const editorGutterDeletedBackground = registerColor('editorGutter.deletedBackground', editorErrorForeground, ( localize(6631, "Editor gutter background color for lines that are deleted.")));
|
|
852
|
+
const minimapGutterModifiedBackground = registerColor('minimapGutter.modifiedBackground', editorGutterModifiedBackground, ( localize(6632, "Minimap gutter background color for lines that are modified.")));
|
|
853
|
+
const minimapGutterAddedBackground = registerColor('minimapGutter.addedBackground', editorGutterAddedBackground, ( localize(6633, "Minimap gutter background color for lines that are added.")));
|
|
854
|
+
const minimapGutterDeletedBackground = registerColor('minimapGutter.deletedBackground', editorGutterDeletedBackground, ( localize(6634, "Minimap gutter background color for lines that are deleted.")));
|
|
855
|
+
const overviewRulerModifiedForeground = registerColor('editorOverviewRuler.modifiedForeground', ( (transparent(editorGutterModifiedBackground, 0.6))), ( localize(6635, 'Overview ruler marker color for modified content.')));
|
|
856
|
+
const overviewRulerAddedForeground = registerColor('editorOverviewRuler.addedForeground', ( (transparent(editorGutterAddedBackground, 0.6))), ( localize(6636, 'Overview ruler marker color for added content.')));
|
|
857
|
+
const overviewRulerDeletedForeground = registerColor('editorOverviewRuler.deletedForeground', ( (transparent(editorGutterDeletedBackground, 0.6))), ( localize(6637, 'Overview ruler marker color for deleted content.')));
|
|
858
858
|
let DirtyDiffDecorator = DirtyDiffDecorator_1 = class DirtyDiffDecorator extends Disposable {
|
|
859
859
|
static createDecoration(className, tooltip, options) {
|
|
860
860
|
const decorationOptions = {
|
|
@@ -889,7 +889,7 @@ let DirtyDiffDecorator = DirtyDiffDecorator_1 = class DirtyDiffDecorator extends
|
|
|
889
889
|
const gutter = decorations === 'all' || decorations === 'gutter';
|
|
890
890
|
const overview = decorations === 'all' || decorations === 'overview';
|
|
891
891
|
const minimap = decorations === 'all' || decorations === 'minimap';
|
|
892
|
-
const diffAdded = ( localize(
|
|
892
|
+
const diffAdded = ( localize(6638, 'Added lines'));
|
|
893
893
|
this.addedOptions = DirtyDiffDecorator_1.createDecoration('dirty-diff-added', diffAdded, {
|
|
894
894
|
gutter,
|
|
895
895
|
overview: { active: overview, color: overviewRulerAddedForeground },
|
|
@@ -902,7 +902,7 @@ let DirtyDiffDecorator = DirtyDiffDecorator_1 = class DirtyDiffDecorator extends
|
|
|
902
902
|
minimap: { active: minimap, color: minimapGutterAddedBackground },
|
|
903
903
|
isWholeLine: true
|
|
904
904
|
});
|
|
905
|
-
const diffModified = ( localize(
|
|
905
|
+
const diffModified = ( localize(6639, 'Changed lines'));
|
|
906
906
|
this.modifiedOptions = DirtyDiffDecorator_1.createDecoration('dirty-diff-modified', diffModified, {
|
|
907
907
|
gutter,
|
|
908
908
|
overview: { active: overview, color: overviewRulerModifiedForeground },
|
|
@@ -915,7 +915,7 @@ let DirtyDiffDecorator = DirtyDiffDecorator_1 = class DirtyDiffDecorator extends
|
|
|
915
915
|
minimap: { active: minimap, color: minimapGutterModifiedBackground },
|
|
916
916
|
isWholeLine: true
|
|
917
917
|
});
|
|
918
|
-
this.deletedOptions = DirtyDiffDecorator_1.createDecoration('dirty-diff-deleted', ( localize(
|
|
918
|
+
this.deletedOptions = DirtyDiffDecorator_1.createDecoration('dirty-diff-deleted', ( localize(6640, 'Removed lines')), {
|
|
919
919
|
gutter,
|
|
920
920
|
overview: { active: overview, color: overviewRulerDeletedForeground },
|
|
921
921
|
minimap: { active: minimap, color: minimapGutterDeletedBackground },
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { localize } from '../../../../nls.js';
|
|
2
2
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
3
3
|
import { language } from '../../../../base/common/platform.js';
|
|
4
|
-
const HasSpeechProvider = ( (new RawContextKey('hasSpeechProvider', false, { type: 'boolean', description: ( localize(
|
|
4
|
+
const HasSpeechProvider = ( (new RawContextKey('hasSpeechProvider', false, { type: 'boolean', description: ( localize(6299, "A speech provider is registered to the speech service.")) })));
|
|
5
5
|
const SpeechToTextInProgress = ( (new RawContextKey(
|
|
6
6
|
'speechToTextInProgress',
|
|
7
7
|
false,
|
|
8
|
-
{ type: 'boolean', description: ( localize(
|
|
8
|
+
{ type: 'boolean', description: ( localize(6300, "A speech-to-text session is in progress.")) }
|
|
9
9
|
)));
|
|
10
10
|
const TextToSpeechInProgress = ( (new RawContextKey(
|
|
11
11
|
'textToSpeechInProgress',
|
|
12
12
|
false,
|
|
13
|
-
{ type: 'boolean', description: ( localize(
|
|
13
|
+
{ type: 'boolean', description: ( localize(6301, "A text-to-speech session is in progress.")) }
|
|
14
14
|
)));
|
|
15
15
|
var SpeechToTextStatus;
|
|
16
16
|
( ((function(SpeechToTextStatus) {
|
|
@@ -41,82 +41,82 @@ var AccessibilityVoiceSettingId;
|
|
|
41
41
|
const SPEECH_LANGUAGE_CONFIG = AccessibilityVoiceSettingId.SpeechLanguage;
|
|
42
42
|
const SPEECH_LANGUAGES = {
|
|
43
43
|
['da-DK']: {
|
|
44
|
-
name: ( localize(
|
|
44
|
+
name: ( localize(6302, "Danish (Denmark)"))
|
|
45
45
|
},
|
|
46
46
|
['de-DE']: {
|
|
47
|
-
name: ( localize(
|
|
47
|
+
name: ( localize(6303, "German (Germany)"))
|
|
48
48
|
},
|
|
49
49
|
['en-AU']: {
|
|
50
|
-
name: ( localize(
|
|
50
|
+
name: ( localize(6304, "English (Australia)"))
|
|
51
51
|
},
|
|
52
52
|
['en-CA']: {
|
|
53
|
-
name: ( localize(
|
|
53
|
+
name: ( localize(6305, "English (Canada)"))
|
|
54
54
|
},
|
|
55
55
|
['en-GB']: {
|
|
56
|
-
name: ( localize(
|
|
56
|
+
name: ( localize(6306, "English (United Kingdom)"))
|
|
57
57
|
},
|
|
58
58
|
['en-IE']: {
|
|
59
|
-
name: ( localize(
|
|
59
|
+
name: ( localize(6307, "English (Ireland)"))
|
|
60
60
|
},
|
|
61
61
|
['en-IN']: {
|
|
62
|
-
name: ( localize(
|
|
62
|
+
name: ( localize(6308, "English (India)"))
|
|
63
63
|
},
|
|
64
64
|
['en-NZ']: {
|
|
65
|
-
name: ( localize(
|
|
65
|
+
name: ( localize(6309, "English (New Zealand)"))
|
|
66
66
|
},
|
|
67
67
|
['en-US']: {
|
|
68
|
-
name: ( localize(
|
|
68
|
+
name: ( localize(6310, "English (United States)"))
|
|
69
69
|
},
|
|
70
70
|
['es-ES']: {
|
|
71
|
-
name: ( localize(
|
|
71
|
+
name: ( localize(6311, "Spanish (Spain)"))
|
|
72
72
|
},
|
|
73
73
|
['es-MX']: {
|
|
74
|
-
name: ( localize(
|
|
74
|
+
name: ( localize(6312, "Spanish (Mexico)"))
|
|
75
75
|
},
|
|
76
76
|
['fr-CA']: {
|
|
77
|
-
name: ( localize(
|
|
77
|
+
name: ( localize(6313, "French (Canada)"))
|
|
78
78
|
},
|
|
79
79
|
['fr-FR']: {
|
|
80
|
-
name: ( localize(
|
|
80
|
+
name: ( localize(6314, "French (France)"))
|
|
81
81
|
},
|
|
82
82
|
['hi-IN']: {
|
|
83
|
-
name: ( localize(
|
|
83
|
+
name: ( localize(6315, "Hindi (India)"))
|
|
84
84
|
},
|
|
85
85
|
['it-IT']: {
|
|
86
|
-
name: ( localize(
|
|
86
|
+
name: ( localize(6316, "Italian (Italy)"))
|
|
87
87
|
},
|
|
88
88
|
['ja-JP']: {
|
|
89
|
-
name: ( localize(
|
|
89
|
+
name: ( localize(6317, "Japanese (Japan)"))
|
|
90
90
|
},
|
|
91
91
|
['ko-KR']: {
|
|
92
|
-
name: ( localize(
|
|
92
|
+
name: ( localize(6318, "Korean (South Korea)"))
|
|
93
93
|
},
|
|
94
94
|
['nl-NL']: {
|
|
95
|
-
name: ( localize(
|
|
95
|
+
name: ( localize(6319, "Dutch (Netherlands)"))
|
|
96
96
|
},
|
|
97
97
|
['pt-PT']: {
|
|
98
|
-
name: ( localize(
|
|
98
|
+
name: ( localize(6320, "Portuguese (Portugal)"))
|
|
99
99
|
},
|
|
100
100
|
['pt-BR']: {
|
|
101
|
-
name: ( localize(
|
|
101
|
+
name: ( localize(6321, "Portuguese (Brazil)"))
|
|
102
102
|
},
|
|
103
103
|
['ru-RU']: {
|
|
104
|
-
name: ( localize(
|
|
104
|
+
name: ( localize(6322, "Russian (Russia)"))
|
|
105
105
|
},
|
|
106
106
|
['sv-SE']: {
|
|
107
|
-
name: ( localize(
|
|
107
|
+
name: ( localize(6323, "Swedish (Sweden)"))
|
|
108
108
|
},
|
|
109
109
|
['tr-TR']: {
|
|
110
|
-
name: ( localize(
|
|
110
|
+
name: ( localize(6324, "Turkish (Türkiye)"))
|
|
111
111
|
},
|
|
112
112
|
['zh-CN']: {
|
|
113
|
-
name: ( localize(
|
|
113
|
+
name: ( localize(6325, "Chinese (Simplified, China)"))
|
|
114
114
|
},
|
|
115
115
|
['zh-HK']: {
|
|
116
|
-
name: ( localize(
|
|
116
|
+
name: ( localize(6326, "Chinese (Traditional, Hong Kong)"))
|
|
117
117
|
},
|
|
118
118
|
['zh-TW']: {
|
|
119
|
-
name: ( localize(
|
|
119
|
+
name: ( localize(6327, "Chinese (Traditional, Taiwan)"))
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
function speechLanguageConfigToLanguage(config, lang = language) {
|
|
@@ -11,7 +11,7 @@ const taskDefinitionSchema = {
|
|
|
11
11
|
type: {
|
|
12
12
|
type: 'string',
|
|
13
13
|
description: ( localize(
|
|
14
|
-
|
|
14
|
+
6587,
|
|
15
15
|
'The actual task type. Please note that types starting with a \'$\' are reserved for internal usage.'
|
|
16
16
|
))
|
|
17
17
|
},
|
|
@@ -23,7 +23,7 @@ const taskDefinitionSchema = {
|
|
|
23
23
|
},
|
|
24
24
|
properties: {
|
|
25
25
|
type: 'object',
|
|
26
|
-
description: ( localize(
|
|
26
|
+
description: ( localize(6588, 'Additional properties of the task type')),
|
|
27
27
|
additionalProperties: {
|
|
28
28
|
$ref: 'http://json-schema.org/draft-07/schema#'
|
|
29
29
|
}
|
|
@@ -31,7 +31,7 @@ const taskDefinitionSchema = {
|
|
|
31
31
|
when: {
|
|
32
32
|
type: 'string',
|
|
33
33
|
markdownDescription: ( localize(
|
|
34
|
-
|
|
34
|
+
6589,
|
|
35
35
|
'Condition which must be true to enable this type of task. Consider using `shellExecutionSupported`, `processExecutionSupported`, and `customExecutionSupported` as appropriate for this task definition. See the [API documentation](https://code.visualstudio.com/api/extension-guides/task-provider#when-clause) for more information.'
|
|
36
36
|
)),
|
|
37
37
|
default: ''
|
|
@@ -47,7 +47,7 @@ var Configuration;
|
|
|
47
47
|
const taskType = isString(value.type) ? value.type : undefined;
|
|
48
48
|
if (!taskType || taskType.length === 0) {
|
|
49
49
|
messageCollector.error(( localize(
|
|
50
|
-
|
|
50
|
+
6590,
|
|
51
51
|
'The task type configuration is missing the required \'taskType\' property'
|
|
52
52
|
)));
|
|
53
53
|
return undefined;
|
|
@@ -79,7 +79,7 @@ const taskDefinitionsExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
jsonSchema: {
|
|
82
|
-
description: ( localize(
|
|
82
|
+
description: ( localize(6591, 'Contributes task kinds')),
|
|
83
83
|
type: 'array',
|
|
84
84
|
items: taskDefinitionSchema
|
|
85
85
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { localize } from '../../../../nls.js';
|
|
2
2
|
import { RawContextKey, ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
3
3
|
const CustomExecutionSupportedContext = ( (new RawContextKey('customExecutionSupported', false, ( localize(
|
|
4
|
-
|
|
4
|
+
6494,
|
|
5
5
|
"Whether CustomExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution."
|
|
6
6
|
)))));
|
|
7
7
|
const ShellExecutionSupportedContext = ( (new RawContextKey('shellExecutionSupported', false, ( localize(
|
|
8
|
-
|
|
8
|
+
6495,
|
|
9
9
|
"Whether ShellExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution."
|
|
10
10
|
)))));
|
|
11
|
-
const TaskCommandsRegistered = ( (new RawContextKey('taskCommandsRegistered', false, ( localize(
|
|
11
|
+
const TaskCommandsRegistered = ( (new RawContextKey('taskCommandsRegistered', false, ( localize(6496, "Whether the task commands have been registered yet")))));
|
|
12
12
|
const ProcessExecutionSupportedContext = ( (new RawContextKey('processExecutionSupported', false, ( localize(
|
|
13
|
-
|
|
13
|
+
6497,
|
|
14
14
|
"Whether ProcessExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution."
|
|
15
15
|
)))));
|
|
16
|
-
const ServerlessWebContext = ( (new RawContextKey('serverlessWebContext', false, ( localize(
|
|
16
|
+
const ServerlessWebContext = ( (new RawContextKey('serverlessWebContext', false, ( localize(6498, "True when in the web with no remote authority.")))));
|
|
17
17
|
const TaskExecutionSupportedContext = ( (ContextKeyExpr.or(
|
|
18
18
|
(ContextKeyExpr.and(ShellExecutionSupportedContext, ProcessExecutionSupportedContext)),
|
|
19
19
|
CustomExecutionSupportedContext
|