@codingame/monaco-vscode-api 10.0.0 → 10.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.js +1 -1
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/button/button.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -3
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.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/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- 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/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +11 -11
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- 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/editorGroupView.js +7 -7
- 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/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +17 -17
- 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/notifications/notificationsCommands.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- 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/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInvocationPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditingService.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImagePaste.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- 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/inspectEditorTokens/inspectEditorTokens.js +2 -2
- 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/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- 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/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- 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/extensions/common/extensionsUtils.js +3 -3
- 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/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- 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/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/inlineChat/browser/inlineChatActions.js +19 -19
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +41 -41
- 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/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +29 -29
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- 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/cellParts/cellEditorOptions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- 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/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- 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/scm/browser/scmHistory.js +13 -13
- 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/terminalContrib/chat/browser/terminalChat.js +7 -7
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- 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/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/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- 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/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
package/api.js
CHANGED
package/missing-services.js
CHANGED
|
@@ -601,8 +601,8 @@ registerSingleton(IPathService, class PathService {
|
|
|
601
601
|
registerSingleton(IProductService, class ProductService {
|
|
602
602
|
constructor() {
|
|
603
603
|
this._serviceBrand = undefined;
|
|
604
|
-
this.version = "1.94.
|
|
605
|
-
this.commit = "
|
|
604
|
+
this.version = "1.94.1";
|
|
605
|
+
this.commit = "acb2ed666e6254b03ec48e3e7c0b78960ce4350d";
|
|
606
606
|
this.quality = 'oss';
|
|
607
607
|
this.nameShort = 'Code - OSS Dev';
|
|
608
608
|
this.nameLong = 'Code - OSS Dev';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.1",
|
|
4
4
|
"description": "VSCode public API plugged on the monaco editor",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": {
|
|
@@ -107,12 +107,12 @@
|
|
|
107
107
|
"@xterm/xterm": "^5.6.0-beta.64",
|
|
108
108
|
"jschardet": "3.1.3",
|
|
109
109
|
"marked": "~14.0.0",
|
|
110
|
-
"@codingame/monaco-vscode-
|
|
111
|
-
"@codingame/monaco-vscode-
|
|
112
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "10.0.
|
|
113
|
-
"@codingame/monaco-vscode-environment-service-override": "10.0.
|
|
114
|
-
"@codingame/monaco-vscode-layout-service-override": "10.0.
|
|
115
|
-
"@codingame/monaco-vscode-host-service-override": "10.0.
|
|
116
|
-
"@codingame/monaco-vscode-base-service-override": "10.0.
|
|
110
|
+
"@codingame/monaco-vscode-files-service-override": "10.0.1",
|
|
111
|
+
"@codingame/monaco-vscode-extensions-service-override": "10.0.1",
|
|
112
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "10.0.1",
|
|
113
|
+
"@codingame/monaco-vscode-environment-service-override": "10.0.1",
|
|
114
|
+
"@codingame/monaco-vscode-layout-service-override": "10.0.1",
|
|
115
|
+
"@codingame/monaco-vscode-host-service-override": "10.0.1",
|
|
116
|
+
"@codingame/monaco-vscode-base-service-override": "10.0.1"
|
|
117
117
|
}
|
|
118
118
|
}
|
package/services.js
CHANGED
|
@@ -185,9 +185,9 @@ async function initialize(overrides, container = document.body, configuration =
|
|
|
185
185
|
initialize$1(container, configuration, env);
|
|
186
186
|
const instantiationService = StandaloneServices.initialize({
|
|
187
187
|
[( IProductService.toString())]: mixin({
|
|
188
|
-
version: "1.94.
|
|
188
|
+
version: "1.94.1",
|
|
189
189
|
quality: 'stable',
|
|
190
|
-
commit: "
|
|
190
|
+
commit: "acb2ed666e6254b03ec48e3e7c0b78960ce4350d",
|
|
191
191
|
nameShort: 'Code - OSS',
|
|
192
192
|
nameLong: 'Code - OSS',
|
|
193
193
|
applicationName: 'code-oss',
|
|
@@ -273,7 +273,7 @@ class ButtonWithDropdown extends Disposable {
|
|
|
273
273
|
this.separatorContainer.style.backgroundColor = buttonBackground ?? '';
|
|
274
274
|
this.separator.style.backgroundColor = options.buttonSeparator ?? '';
|
|
275
275
|
this.dropdownButton = this._register(( (new Button(this.element, { ...options, title: false, supportIcons: true }))));
|
|
276
|
-
this._register(getBaseLayerHoverDelegate().setupManagedHover(getDefaultHoverDelegate('mouse'), this.dropdownButton.element, ( localize(
|
|
276
|
+
this._register(getBaseLayerHoverDelegate().setupManagedHover(getDefaultHoverDelegate('mouse'), this.dropdownButton.element, ( localize(10082, 'More Actions...'))));
|
|
277
277
|
this.dropdownButton.element.setAttribute('aria-haspopup', 'true');
|
|
278
278
|
this.dropdownButton.element.setAttribute('aria-expanded', 'false');
|
|
279
279
|
this.dropdownButton.element.classList.add('monaco-dropdown-button');
|
|
@@ -29,7 +29,7 @@ class Dialog extends Disposable {
|
|
|
29
29
|
this.buttons = buttons;
|
|
30
30
|
}
|
|
31
31
|
else if (!this.options.disableDefaultAction) {
|
|
32
|
-
this.buttons = [( localize(
|
|
32
|
+
this.buttons = [( localize(9613, "OK"))];
|
|
33
33
|
}
|
|
34
34
|
else {
|
|
35
35
|
this.buttons = [];
|
|
@@ -93,16 +93,16 @@ class Dialog extends Disposable {
|
|
|
93
93
|
this.applyStyles();
|
|
94
94
|
}
|
|
95
95
|
getIconAriaLabel() {
|
|
96
|
-
let typeLabel = ( localize(
|
|
96
|
+
let typeLabel = ( localize(9614, 'Info'));
|
|
97
97
|
switch (this.options.type) {
|
|
98
98
|
case 'error':
|
|
99
|
-
typeLabel = ( localize(
|
|
99
|
+
typeLabel = ( localize(9615, 'Error'));
|
|
100
100
|
break;
|
|
101
101
|
case 'warning':
|
|
102
|
-
typeLabel = ( localize(
|
|
102
|
+
typeLabel = ( localize(9616, 'Warning'));
|
|
103
103
|
break;
|
|
104
104
|
case 'pending':
|
|
105
|
-
typeLabel = ( localize(
|
|
105
|
+
typeLabel = ( localize(9617, 'In Progress'));
|
|
106
106
|
break;
|
|
107
107
|
}
|
|
108
108
|
return typeLabel;
|
|
@@ -263,7 +263,7 @@ class Dialog extends Disposable {
|
|
|
263
263
|
}
|
|
264
264
|
if (!this.options.disableCloseAction) {
|
|
265
265
|
const actionBar = this._register(( (new ActionBar(this.toolbarContainer, {}))));
|
|
266
|
-
const action = this._register(( (new Action('dialog.close', ( localize(
|
|
266
|
+
const action = this._register(( (new Action('dialog.close', ( localize(9618, "Close Dialog")), ThemeIcon.asClassName(Codicon.dialogClose), true, async () => {
|
|
267
267
|
resolve({
|
|
268
268
|
button: this.options.cancelId || 0,
|
|
269
269
|
checkboxChecked: this.checkbox ? this.checkbox.checked : undefined
|
|
@@ -128,7 +128,7 @@ class ActionWithDropdownActionViewItem extends ActionViewItem {
|
|
|
128
128
|
const separator = h('div.action-dropdown-item-separator', [h('div', {})]).root;
|
|
129
129
|
separator.classList.toggle('prominent', menuActionClassNames.includes('prominent'));
|
|
130
130
|
append(this.element, separator);
|
|
131
|
-
this.dropdownMenuActionViewItem = this._register(( (new DropdownMenuActionViewItem(this._register(( (new Action('dropdownAction', ( localize(
|
|
131
|
+
this.dropdownMenuActionViewItem = this._register(( (new DropdownMenuActionViewItem(this._register(( (new Action('dropdownAction', ( localize(7111, "More Actions...")))))), menuActionsProvider, this.contextMenuProvider, { classNames: ['dropdown', ...ThemeIcon.asClassNameArray(Codicon.dropDownButton), ...menuActionClassNames], hoverDelegate: this.options.hoverDelegate }))));
|
|
132
132
|
this.dropdownMenuActionViewItem.render(this.element);
|
|
133
133
|
this._register(addDisposableListener(this.element, EventType.KEY_DOWN, e => {
|
|
134
134
|
if (menuActionsProvider.getActions().length === 0) {
|
|
@@ -7,7 +7,7 @@ import './findInput.css.js';
|
|
|
7
7
|
import { localize } from '../../../../nls.js';
|
|
8
8
|
import { MutableDisposable, DisposableStore } from '../../../common/lifecycle.js';
|
|
9
9
|
import { createInstantHoverDelegate } from '../hover/hoverDelegateFactory.js';
|
|
10
|
-
const NLS_DEFAULT_LABEL = ( localize(
|
|
10
|
+
const NLS_DEFAULT_LABEL = ( localize(9952, "input"));
|
|
11
11
|
class FindInput extends Widget {
|
|
12
12
|
static { this.OPTION_CHANGE = 'optionChange'; }
|
|
13
13
|
constructor(parent, contextViewProvider, options) {
|
|
@@ -2,9 +2,9 @@ import { getDefaultHoverDelegate } from '../hover/hoverDelegateFactory.js';
|
|
|
2
2
|
import { Toggle } from '../toggle/toggle.js';
|
|
3
3
|
import { Codicon } from '../../../common/codicons.js';
|
|
4
4
|
import { localize } from '../../../../nls.js';
|
|
5
|
-
const NLS_CASE_SENSITIVE_TOGGLE_LABEL = ( localize(
|
|
6
|
-
const NLS_WHOLE_WORD_TOGGLE_LABEL = ( localize(
|
|
7
|
-
const NLS_REGEX_TOGGLE_LABEL = ( localize(
|
|
5
|
+
const NLS_CASE_SENSITIVE_TOGGLE_LABEL = ( localize(9977, "Match Case"));
|
|
6
|
+
const NLS_WHOLE_WORD_TOGGLE_LABEL = ( localize(9978, "Match Whole Word"));
|
|
7
|
+
const NLS_REGEX_TOGGLE_LABEL = ( localize(9979, "Use Regular Expression"));
|
|
8
8
|
class CaseSensitiveToggle extends Toggle {
|
|
9
9
|
constructor(opts) {
|
|
10
10
|
super({
|
|
@@ -62,8 +62,8 @@ class HoverAction extends Disposable {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
function getHoverAccessibleViewHint(shouldHaveHint, keybinding) {
|
|
65
|
-
return shouldHaveHint && keybinding ? ( localize(
|
|
66
|
-
|
|
65
|
+
return shouldHaveHint && keybinding ? ( localize(9950, "Inspect this in the accessible view with {0}.", keybinding)) : shouldHaveHint ? ( localize(
|
|
66
|
+
9951,
|
|
67
67
|
"Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding."
|
|
68
68
|
)) : '';
|
|
69
69
|
}
|
|
@@ -339,13 +339,13 @@ class InputBox extends Widget {
|
|
|
339
339
|
});
|
|
340
340
|
let alertText;
|
|
341
341
|
if (this.message.type === 3 ) {
|
|
342
|
-
alertText = ( localize(
|
|
342
|
+
alertText = ( localize(9953, "Error: {0}", this.message.content));
|
|
343
343
|
}
|
|
344
344
|
else if (this.message.type === 2 ) {
|
|
345
|
-
alertText = ( localize(
|
|
345
|
+
alertText = ( localize(9954, "Warning: {0}", this.message.content));
|
|
346
346
|
}
|
|
347
347
|
else {
|
|
348
|
-
alertText = ( localize(
|
|
348
|
+
alertText = ( localize(9955, "Info: {0}", this.message.content));
|
|
349
349
|
}
|
|
350
350
|
alert(alertText);
|
|
351
351
|
this.state = 'open';
|
|
@@ -428,8 +428,8 @@ class InputBox extends Widget {
|
|
|
428
428
|
}
|
|
429
429
|
class HistoryInputBox extends InputBox {
|
|
430
430
|
constructor(container, contextViewProvider, options) {
|
|
431
|
-
const NLS_PLACEHOLDER_HISTORY_HINT_SUFFIX_NO_PARENS = ( localize(
|
|
432
|
-
const NLS_PLACEHOLDER_HISTORY_HINT_SUFFIX_IN_PARENS = ( localize(
|
|
431
|
+
const NLS_PLACEHOLDER_HISTORY_HINT_SUFFIX_NO_PARENS = ( localize(9956, ' or {0} for history', `\u21C5`));
|
|
432
|
+
const NLS_PLACEHOLDER_HISTORY_HINT_SUFFIX_IN_PARENS = ( localize(9957, ' ({0} for history)', `\u21C5`));
|
|
433
433
|
super(container, contextViewProvider, options);
|
|
434
434
|
this._onDidFocus = this._register(( (new Emitter())));
|
|
435
435
|
this.onDidFocus = this._onDidFocus.event;
|
|
@@ -521,7 +521,7 @@ class HistoryInputBox extends InputBox {
|
|
|
521
521
|
next = next === this.value ? this.getNextValue() : next;
|
|
522
522
|
}
|
|
523
523
|
this.value = next ?? '';
|
|
524
|
-
status(this.value ? this.value : ( localize(
|
|
524
|
+
status(this.value ? this.value : ( localize(9958, "Cleared Input")));
|
|
525
525
|
}
|
|
526
526
|
showPreviousValue() {
|
|
527
527
|
if (!( (this.history.has(this.value)))) {
|
|
@@ -90,7 +90,7 @@ class KeybindingLabel extends Disposable {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
renderUnbound(parent) {
|
|
93
|
-
append(parent, this.createKeyElement(( localize(
|
|
93
|
+
append(parent, this.createKeyElement(( localize(10438, "Unbound"))));
|
|
94
94
|
}
|
|
95
95
|
createKeyElement(label, extraClass = '') {
|
|
96
96
|
const keyElement = $('span.monaco-keybinding-key' + extraClass, undefined, label);
|
|
@@ -114,7 +114,7 @@ let TextAreaEditContext = class TextAreaEditContext extends AbstractEditContext
|
|
|
114
114
|
this.textArea.setAttribute('aria-required', options.get(5 ) ? 'true' : 'false');
|
|
115
115
|
this.textArea.setAttribute('tabindex', String(options.get(127 )));
|
|
116
116
|
this.textArea.setAttribute('role', 'textbox');
|
|
117
|
-
this.textArea.setAttribute('aria-roledescription', ( localize(
|
|
117
|
+
this.textArea.setAttribute('aria-roledescription', ( localize(9959, "editor")));
|
|
118
118
|
this.textArea.setAttribute('aria-multiline', 'true');
|
|
119
119
|
this.textArea.setAttribute('aria-autocomplete', options.get(94 ) ? 'none' : 'both');
|
|
120
120
|
this._ensureReadOnlyAttribute();
|
|
@@ -1301,7 +1301,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
1301
1301
|
if (e.reachedMaxCursorCount) {
|
|
1302
1302
|
const multiCursorLimit = this.getOption(82 );
|
|
1303
1303
|
const message = ( localize(
|
|
1304
|
-
|
|
1304
|
+
1359,
|
|
1305
1305
|
"The number of cursors has been limited to {0}. Consider using [find and replace](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) for larger changes or increase the editor multi cursor limit setting.",
|
|
1306
1306
|
multiCursorLimit
|
|
1307
1307
|
));
|
|
@@ -1313,7 +1313,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
1313
1313
|
}
|
|
1314
1314
|
},
|
|
1315
1315
|
{
|
|
1316
|
-
label: ( localize(
|
|
1316
|
+
label: ( localize(1360, 'Increase Multi Cursor Limit')),
|
|
1317
1317
|
run: () => {
|
|
1318
1318
|
this._commandService.executeCommand('workbench.action.openSettings2', {
|
|
1319
1319
|
query: 'editor.multiCursorLimit'
|
|
@@ -48,23 +48,23 @@ class InlineDiffDeletedCodeMargin extends Disposable {
|
|
|
48
48
|
const isDeletion = _diff.modified.isEmpty;
|
|
49
49
|
actions.push(( (new Action('diff.clipboard.copyDeletedContent', isDeletion
|
|
50
50
|
? (_diff.original.length > 1
|
|
51
|
-
? ( localize(
|
|
52
|
-
: ( localize(
|
|
51
|
+
? ( localize(10074, "Copy deleted lines"))
|
|
52
|
+
: ( localize(10075, "Copy deleted line")))
|
|
53
53
|
: (_diff.original.length > 1
|
|
54
|
-
? ( localize(
|
|
55
|
-
: ( localize(
|
|
54
|
+
? ( localize(10076, "Copy changed lines"))
|
|
55
|
+
: ( localize(10077, "Copy changed line"))), undefined, true, async () => {
|
|
56
56
|
const originalText = this._originalTextModel.getValueInRange(_diff.original.toExclusiveRange());
|
|
57
57
|
await this._clipboardService.writeText(originalText);
|
|
58
58
|
}))));
|
|
59
59
|
if (_diff.original.length > 1) {
|
|
60
60
|
actions.push(( (new Action('diff.clipboard.copyDeletedLineContent', isDeletion
|
|
61
61
|
? ( localize(
|
|
62
|
-
|
|
62
|
+
10078,
|
|
63
63
|
"Copy deleted line ({0})",
|
|
64
64
|
_diff.original.startLineNumber + currentLineNumberOffset
|
|
65
65
|
))
|
|
66
66
|
: ( localize(
|
|
67
|
-
|
|
67
|
+
10079,
|
|
68
68
|
"Copy changed line ({0})",
|
|
69
69
|
_diff.original.startLineNumber + currentLineNumberOffset
|
|
70
70
|
)), undefined, true, async () => {
|
|
@@ -78,7 +78,7 @@ class InlineDiffDeletedCodeMargin extends Disposable {
|
|
|
78
78
|
}
|
|
79
79
|
const readOnly = _modifiedEditor.getOption(94 );
|
|
80
80
|
if (!readOnly) {
|
|
81
|
-
actions.push(( (new Action('diff.inline.revertChange', ( localize(
|
|
81
|
+
actions.push(( (new Action('diff.inline.revertChange', ( localize(10080, "Revert this change")), undefined, true, async () => {
|
|
82
82
|
this._editor.revert(this._diff);
|
|
83
83
|
}))));
|
|
84
84
|
}
|
|
@@ -10,6 +10,6 @@ import '../../../../platform/theme/common/colors/minimapColors.js';
|
|
|
10
10
|
import '../../../../platform/theme/common/colors/miscColors.js';
|
|
11
11
|
import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
12
12
|
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
13
|
-
registerColor('multiDiffEditor.headerBackground', { dark: '#262626', light: 'tab.inactiveBackground', hcDark: 'tab.inactiveBackground', hcLight: 'tab.inactiveBackground', }, ( localize(
|
|
14
|
-
registerColor('multiDiffEditor.background', editorBackground, ( localize(
|
|
15
|
-
registerColor('multiDiffEditor.border', { dark: 'sideBarSectionHeader.border', light: '#cccccc', hcDark: 'sideBarSectionHeader.border', hcLight: '#cccccc', }, ( localize(
|
|
13
|
+
registerColor('multiDiffEditor.headerBackground', { dark: '#262626', light: 'tab.inactiveBackground', hcDark: 'tab.inactiveBackground', hcLight: 'tab.inactiveBackground', }, ( localize(10087, 'The background color of the diff editor\'s header')));
|
|
14
|
+
registerColor('multiDiffEditor.background', editorBackground, ( localize(10088, 'The background color of the multi file diff editor')));
|
|
15
|
+
registerColor('multiDiffEditor.border', { dark: 'sideBarSectionHeader.border', light: '#cccccc', hcDark: 'sideBarSectionHeader.border', hcLight: '#cccccc', }, ( localize(10089, 'The border color of the multi file diff editor')));
|
|
@@ -130,8 +130,8 @@ let MultiDiffEditorWidgetImpl = class MultiDiffEditorWidgetImpl extends Disposab
|
|
|
130
130
|
}
|
|
131
131
|
const vm = this._viewModel.read(reader);
|
|
132
132
|
return (!vm || vm.isLoading.read(reader))
|
|
133
|
-
? ( localize(
|
|
134
|
-
: ( localize(
|
|
133
|
+
? ( localize(10090, 'Loading...'))
|
|
134
|
+
: ( localize(10091, 'No Changed Files'));
|
|
135
135
|
});
|
|
136
136
|
this._register(autorun((reader) => {
|
|
137
137
|
const message = placeholderMessage.read(reader);
|
|
@@ -868,7 +868,7 @@ function _renderLine(input, sb) {
|
|
|
868
868
|
}
|
|
869
869
|
if (isOverflowing) {
|
|
870
870
|
sb.appendString('<span class="mtkoverflow">');
|
|
871
|
-
sb.appendString(( localize(
|
|
871
|
+
sb.appendString(( localize(10072, "Show more ({0})", renderOverflowingCharCount(overflowingCharCount))));
|
|
872
872
|
sb.appendString('</span>');
|
|
873
873
|
}
|
|
874
874
|
sb.appendString('</span>');
|
|
@@ -881,7 +881,7 @@ function to4CharHex(n) {
|
|
|
881
881
|
}
|
|
882
882
|
function renderOverflowingCharCount(n) {
|
|
883
883
|
if (n < 1024) {
|
|
884
|
-
return ( localize(
|
|
884
|
+
return ( localize(10073, "{0} chars", n));
|
|
885
885
|
}
|
|
886
886
|
if (n < 1024 * 1024) {
|
|
887
887
|
return `${(n / 1024).toFixed(1)} KB`;
|
|
@@ -22,12 +22,12 @@ import '../../../../platform/theme/common/colors/miscColors.js';
|
|
|
22
22
|
import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
23
23
|
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
24
24
|
import { themeColorFromId } from '../../../../platform/theme/common/themeService.js';
|
|
25
|
-
const overviewRulerBracketMatchForeground = registerColor('editorOverviewRuler.bracketMatchForeground', '#A0A0A0', ( localize(
|
|
25
|
+
const overviewRulerBracketMatchForeground = registerColor('editorOverviewRuler.bracketMatchForeground', '#A0A0A0', ( localize(1361, 'Overview ruler marker color for matching brackets.')));
|
|
26
26
|
class JumpToBracketAction extends EditorAction {
|
|
27
27
|
constructor() {
|
|
28
28
|
super({
|
|
29
29
|
id: 'editor.action.jumpToBracket',
|
|
30
|
-
label: ( localize(
|
|
30
|
+
label: ( localize(1362, "Go to Bracket")),
|
|
31
31
|
alias: 'Go to Bracket',
|
|
32
32
|
precondition: undefined,
|
|
33
33
|
kbOpts: {
|
|
@@ -45,11 +45,11 @@ class SelectToBracketAction extends EditorAction {
|
|
|
45
45
|
constructor() {
|
|
46
46
|
super({
|
|
47
47
|
id: 'editor.action.selectToBracket',
|
|
48
|
-
label: ( localize(
|
|
48
|
+
label: ( localize(1363, "Select to Bracket")),
|
|
49
49
|
alias: 'Select to Bracket',
|
|
50
50
|
precondition: undefined,
|
|
51
51
|
metadata: {
|
|
52
|
-
description: ( localize2(
|
|
52
|
+
description: ( localize2(1364, "Select the text inside and including the brackets or curly braces")),
|
|
53
53
|
args: [{
|
|
54
54
|
name: 'args',
|
|
55
55
|
schema: {
|
|
@@ -77,7 +77,7 @@ class RemoveBracketsAction extends EditorAction {
|
|
|
77
77
|
constructor() {
|
|
78
78
|
super({
|
|
79
79
|
id: 'editor.action.removeBrackets',
|
|
80
|
-
label: ( localize(
|
|
80
|
+
label: ( localize(1365, "Remove Brackets")),
|
|
81
81
|
alias: 'Remove Brackets',
|
|
82
82
|
precondition: undefined,
|
|
83
83
|
kbOpts: {
|
|
@@ -350,7 +350,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
350
350
|
group: '5_infile_nav',
|
|
351
351
|
command: {
|
|
352
352
|
id: 'editor.action.jumpToBracket',
|
|
353
|
-
title: ( localize(
|
|
353
|
+
title: ( localize(1366, "Go to &&Bracket"))
|
|
354
354
|
},
|
|
355
355
|
order: 2
|
|
356
356
|
});
|
|
@@ -25,7 +25,7 @@ class MoveCaretLeftAction extends MoveCaretAction {
|
|
|
25
25
|
constructor() {
|
|
26
26
|
super(true, {
|
|
27
27
|
id: 'editor.action.moveCarretLeftAction',
|
|
28
|
-
label: ( localize(
|
|
28
|
+
label: ( localize(1367, "Move Selected Text Left")),
|
|
29
29
|
alias: 'Move Selected Text Left',
|
|
30
30
|
precondition: EditorContextKeys.writable
|
|
31
31
|
});
|
|
@@ -35,7 +35,7 @@ class MoveCaretRightAction extends MoveCaretAction {
|
|
|
35
35
|
constructor() {
|
|
36
36
|
super(false, {
|
|
37
37
|
id: 'editor.action.moveCarretRightAction',
|
|
38
|
-
label: ( localize(
|
|
38
|
+
label: ( localize(1368, "Move Selected Text Right")),
|
|
39
39
|
alias: 'Move Selected Text Right',
|
|
40
40
|
precondition: EditorContextKeys.writable
|
|
41
41
|
});
|
|
@@ -240,7 +240,7 @@ async function applyCodeAction(accessor, item, codeActionReason, options, token
|
|
|
240
240
|
const message = asMessage(err);
|
|
241
241
|
notificationService.error(typeof message === 'string'
|
|
242
242
|
? message
|
|
243
|
-
: ( localize(
|
|
243
|
+
: ( localize(4497, "An unknown error occurred while applying the code action")));
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
}
|
|
@@ -5,15 +5,15 @@ import { CodeActionKind } from '../common/types.js';
|
|
|
5
5
|
import '../../symbolIcons/browser/symbolIcons.js';
|
|
6
6
|
import { localize } from '../../../../nls.js';
|
|
7
7
|
import { HierarchicalKind } from '../../../../base/common/hierarchicalKind.js';
|
|
8
|
-
const uncategorizedCodeActionGroup = ( (Object.freeze({ kind: HierarchicalKind.Empty, title: ( localize(
|
|
8
|
+
const uncategorizedCodeActionGroup = ( (Object.freeze({ kind: HierarchicalKind.Empty, title: ( localize(9962, 'More Actions...')) })));
|
|
9
9
|
const codeActionGroups = ( (Object.freeze([
|
|
10
|
-
{ kind: CodeActionKind.QuickFix, title: ( localize(
|
|
11
|
-
{ kind: CodeActionKind.RefactorExtract, title: ( localize(
|
|
12
|
-
{ kind: CodeActionKind.RefactorInline, title: ( localize(
|
|
13
|
-
{ kind: CodeActionKind.RefactorRewrite, title: ( localize(
|
|
14
|
-
{ kind: CodeActionKind.RefactorMove, title: ( localize(
|
|
15
|
-
{ kind: CodeActionKind.SurroundWith, title: ( localize(
|
|
16
|
-
{ kind: CodeActionKind.Source, title: ( localize(
|
|
10
|
+
{ kind: CodeActionKind.QuickFix, title: ( localize(9963, 'Quick Fix')) },
|
|
11
|
+
{ kind: CodeActionKind.RefactorExtract, title: ( localize(9964, 'Extract')), icon: Codicon.wrench },
|
|
12
|
+
{ kind: CodeActionKind.RefactorInline, title: ( localize(9965, 'Inline')), icon: Codicon.wrench },
|
|
13
|
+
{ kind: CodeActionKind.RefactorRewrite, title: ( localize(9966, 'Rewrite')), icon: Codicon.wrench },
|
|
14
|
+
{ kind: CodeActionKind.RefactorMove, title: ( localize(9967, 'Move')), icon: Codicon.wrench },
|
|
15
|
+
{ kind: CodeActionKind.SurroundWith, title: ( localize(9968, 'Surround With')), icon: Codicon.surroundWith },
|
|
16
|
+
{ kind: CodeActionKind.Source, title: ( localize(9969, 'Source Action')), icon: Codicon.symbolFile },
|
|
17
17
|
uncategorizedCodeActionGroup,
|
|
18
18
|
])));
|
|
19
19
|
function toMenuItems(inputCodeActions, showHeaders, keybindingResolver) {
|
|
@@ -143,7 +143,7 @@ let PostEditWidgetManager = class PostEditWidgetManager extends Disposable {
|
|
|
143
143
|
resolvedEdit = await resolve(edit, token);
|
|
144
144
|
}
|
|
145
145
|
catch (e) {
|
|
146
|
-
return handleError(e, ( localize(
|
|
146
|
+
return handleError(e, ( localize(9960, "Error resolving edit '{0}':\n{1}", edit.title, toErrorMessage(e))));
|
|
147
147
|
}
|
|
148
148
|
if (token.isCancellationRequested) {
|
|
149
149
|
return;
|
|
@@ -162,7 +162,7 @@ let PostEditWidgetManager = class PostEditWidgetManager extends Disposable {
|
|
|
162
162
|
editRange = model.getDecorationRange(editTrackingDecoration[0]);
|
|
163
163
|
}
|
|
164
164
|
catch (e) {
|
|
165
|
-
return handleError(e, ( localize(
|
|
165
|
+
return handleError(e, ( localize(9961, "Error applying edit '{0}':\n{1}", edit.title, toErrorMessage(e))));
|
|
166
166
|
}
|
|
167
167
|
finally {
|
|
168
168
|
model.deltaDecorations(editTrackingDecoration, []);
|
|
@@ -8,7 +8,7 @@ import { registerSingleton } from '../../../../platform/instantiation/common/ext
|
|
|
8
8
|
import { localize } from '../../../../nls.js';
|
|
9
9
|
const IEditorCancellationTokens = ( (createDecorator('IEditorCancelService')));
|
|
10
10
|
const ctxCancellableOperation = ( (new RawContextKey('cancellableOperation', false, ( localize(
|
|
11
|
-
|
|
11
|
+
9994,
|
|
12
12
|
'Whether the editor runs a cancellable operation, e.g. like \'Peek References\''
|
|
13
13
|
)))));
|
|
14
14
|
registerSingleton(IEditorCancellationTokens, class {
|
|
@@ -296,7 +296,7 @@ let CommonFindController = class CommonFindController extends Disposable {
|
|
|
296
296
|
replaceAll() {
|
|
297
297
|
if (this._model) {
|
|
298
298
|
if (this._editor.getModel()?.isTooLargeForHeapOperation()) {
|
|
299
|
-
this._notificationService.warn(( localize(
|
|
299
|
+
this._notificationService.warn(( localize(1409, "The file is too large to perform a replace all operation.")));
|
|
300
300
|
return false;
|
|
301
301
|
}
|
|
302
302
|
this._model.replaceAll();
|
|
@@ -419,7 +419,7 @@ FindController = ( (__decorate([
|
|
|
419
419
|
], FindController)));
|
|
420
420
|
const StartFindAction = registerMultiEditorAction(( (new MultiEditorAction({
|
|
421
421
|
id: FIND_IDS.StartFindAction,
|
|
422
|
-
label: ( localize(
|
|
422
|
+
label: ( localize(1410, "Find")),
|
|
423
423
|
alias: 'Find',
|
|
424
424
|
precondition: ( (ContextKeyExpr.or(
|
|
425
425
|
EditorContextKeys.focus,
|
|
@@ -433,7 +433,7 @@ const StartFindAction = registerMultiEditorAction(( (new MultiEditorAction({
|
|
|
433
433
|
menuOpts: {
|
|
434
434
|
menuId: MenuId.MenubarEditMenu,
|
|
435
435
|
group: '3_find',
|
|
436
|
-
title: ( localize(
|
|
436
|
+
title: ( localize(1411, "&&Find")),
|
|
437
437
|
order: 1
|
|
438
438
|
}
|
|
439
439
|
}))));
|
|
@@ -474,7 +474,7 @@ class StartFindWithArgsAction extends EditorAction {
|
|
|
474
474
|
constructor() {
|
|
475
475
|
super({
|
|
476
476
|
id: FIND_IDS.StartFindWithArgs,
|
|
477
|
-
label: ( localize(
|
|
477
|
+
label: ( localize(1412, "Find With Arguments")),
|
|
478
478
|
alias: 'Find With Arguments',
|
|
479
479
|
precondition: undefined,
|
|
480
480
|
kbOpts: {
|
|
@@ -515,7 +515,7 @@ class StartFindWithSelectionAction extends EditorAction {
|
|
|
515
515
|
constructor() {
|
|
516
516
|
super({
|
|
517
517
|
id: FIND_IDS.StartFindWithSelection,
|
|
518
|
-
label: ( localize(
|
|
518
|
+
label: ( localize(1413, "Find With Selection")),
|
|
519
519
|
alias: 'Find With Selection',
|
|
520
520
|
precondition: undefined,
|
|
521
521
|
kbOpts: {
|
|
@@ -567,7 +567,7 @@ class NextMatchFindAction extends MatchFindAction {
|
|
|
567
567
|
constructor() {
|
|
568
568
|
super({
|
|
569
569
|
id: FIND_IDS.NextMatchFindAction,
|
|
570
|
-
label: ( localize(
|
|
570
|
+
label: ( localize(1414, "Find Next")),
|
|
571
571
|
alias: 'Find Next',
|
|
572
572
|
precondition: undefined,
|
|
573
573
|
kbOpts: [{
|
|
@@ -595,7 +595,7 @@ class PreviousMatchFindAction extends MatchFindAction {
|
|
|
595
595
|
constructor() {
|
|
596
596
|
super({
|
|
597
597
|
id: FIND_IDS.PreviousMatchFindAction,
|
|
598
|
-
label: ( localize(
|
|
598
|
+
label: ( localize(1415, "Find Previous")),
|
|
599
599
|
alias: 'Find Previous',
|
|
600
600
|
precondition: undefined,
|
|
601
601
|
kbOpts: [{
|
|
@@ -619,7 +619,7 @@ class MoveToMatchFindAction extends EditorAction {
|
|
|
619
619
|
constructor() {
|
|
620
620
|
super({
|
|
621
621
|
id: FIND_IDS.GoToMatchFindAction,
|
|
622
|
-
label: ( localize(
|
|
622
|
+
label: ( localize(1416, "Go to Match...")),
|
|
623
623
|
alias: 'Go to Match...',
|
|
624
624
|
precondition: CONTEXT_FIND_WIDGET_VISIBLE
|
|
625
625
|
});
|
|
@@ -635,7 +635,7 @@ class MoveToMatchFindAction extends EditorAction {
|
|
|
635
635
|
const notificationService = accessor.get(INotificationService);
|
|
636
636
|
notificationService.notify({
|
|
637
637
|
severity: Severity$1.Warning,
|
|
638
|
-
message: ( localize(
|
|
638
|
+
message: ( localize(1417, "No matches. Try searching for something else."))
|
|
639
639
|
});
|
|
640
640
|
return;
|
|
641
641
|
}
|
|
@@ -643,7 +643,7 @@ class MoveToMatchFindAction extends EditorAction {
|
|
|
643
643
|
const disposables = ( (new DisposableStore()));
|
|
644
644
|
const inputBox = disposables.add(quickInputService.createInputBox());
|
|
645
645
|
inputBox.placeholder = ( localize(
|
|
646
|
-
|
|
646
|
+
1418,
|
|
647
647
|
"Type a number to go to a specific match (between 1 and {0})",
|
|
648
648
|
matchesCount
|
|
649
649
|
));
|
|
@@ -673,7 +673,7 @@ class MoveToMatchFindAction extends EditorAction {
|
|
|
673
673
|
}
|
|
674
674
|
else {
|
|
675
675
|
inputBox.validationMessage = ( localize(
|
|
676
|
-
|
|
676
|
+
1419,
|
|
677
677
|
"Please type a number between 1 and {0}",
|
|
678
678
|
controller.getState().matchesCount
|
|
679
679
|
));
|
|
@@ -691,7 +691,7 @@ class MoveToMatchFindAction extends EditorAction {
|
|
|
691
691
|
}
|
|
692
692
|
else {
|
|
693
693
|
inputBox.validationMessage = ( localize(
|
|
694
|
-
|
|
694
|
+
1419,
|
|
695
695
|
"Please type a number between 1 and {0}",
|
|
696
696
|
controller.getState().matchesCount
|
|
697
697
|
));
|
|
@@ -762,7 +762,7 @@ class NextSelectionMatchFindAction extends SelectionMatchFindAction {
|
|
|
762
762
|
constructor() {
|
|
763
763
|
super({
|
|
764
764
|
id: FIND_IDS.NextSelectionMatchFindAction,
|
|
765
|
-
label: ( localize(
|
|
765
|
+
label: ( localize(1420, "Find Next Selection")),
|
|
766
766
|
alias: 'Find Next Selection',
|
|
767
767
|
precondition: undefined,
|
|
768
768
|
kbOpts: {
|
|
@@ -780,7 +780,7 @@ class PreviousSelectionMatchFindAction extends SelectionMatchFindAction {
|
|
|
780
780
|
constructor() {
|
|
781
781
|
super({
|
|
782
782
|
id: FIND_IDS.PreviousSelectionMatchFindAction,
|
|
783
|
-
label: ( localize(
|
|
783
|
+
label: ( localize(1421, "Find Previous Selection")),
|
|
784
784
|
alias: 'Find Previous Selection',
|
|
785
785
|
precondition: undefined,
|
|
786
786
|
kbOpts: {
|
|
@@ -796,7 +796,7 @@ class PreviousSelectionMatchFindAction extends SelectionMatchFindAction {
|
|
|
796
796
|
}
|
|
797
797
|
const StartFindReplaceAction = registerMultiEditorAction(( (new MultiEditorAction({
|
|
798
798
|
id: FIND_IDS.StartFindReplaceAction,
|
|
799
|
-
label: ( localize(
|
|
799
|
+
label: ( localize(1422, "Replace")),
|
|
800
800
|
alias: 'Replace',
|
|
801
801
|
precondition: ( (ContextKeyExpr.or(
|
|
802
802
|
EditorContextKeys.focus,
|
|
@@ -811,7 +811,7 @@ const StartFindReplaceAction = registerMultiEditorAction(( (new MultiEditorActio
|
|
|
811
811
|
menuOpts: {
|
|
812
812
|
menuId: MenuId.MenubarEditMenu,
|
|
813
813
|
group: '3_find',
|
|
814
|
-
title: ( localize(
|
|
814
|
+
title: ( localize(1423, "&&Replace")),
|
|
815
815
|
order: 2
|
|
816
816
|
}
|
|
817
817
|
}))));
|
|
@@ -5,7 +5,7 @@ class EditorFontZoomIn extends EditorAction {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
super({
|
|
7
7
|
id: 'editor.action.fontZoomIn',
|
|
8
|
-
label: ( localize(
|
|
8
|
+
label: ( localize(1406, "Increase Editor Font Size")),
|
|
9
9
|
alias: 'Increase Editor Font Size',
|
|
10
10
|
precondition: undefined
|
|
11
11
|
});
|
|
@@ -18,7 +18,7 @@ class EditorFontZoomOut extends EditorAction {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super({
|
|
20
20
|
id: 'editor.action.fontZoomOut',
|
|
21
|
-
label: ( localize(
|
|
21
|
+
label: ( localize(1407, "Decrease Editor Font Size")),
|
|
22
22
|
alias: 'Decrease Editor Font Size',
|
|
23
23
|
precondition: undefined
|
|
24
24
|
});
|
|
@@ -31,7 +31,7 @@ class EditorFontZoomReset extends EditorAction {
|
|
|
31
31
|
constructor() {
|
|
32
32
|
super({
|
|
33
33
|
id: 'editor.action.fontZoomReset',
|
|
34
|
-
label: ( localize(
|
|
34
|
+
label: ( localize(1408, "Reset Editor Font Size")),
|
|
35
35
|
alias: 'Reset Editor Font Size',
|
|
36
36
|
precondition: undefined
|
|
37
37
|
});
|