@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
|
@@ -433,7 +433,7 @@ let SuggestController = class SuggestController {
|
|
|
433
433
|
_alertCompletionItem(item) {
|
|
434
434
|
if (isNonEmptyArray(item.completion.additionalTextEdits)) {
|
|
435
435
|
const msg = ( localize(
|
|
436
|
-
|
|
436
|
+
1583,
|
|
437
437
|
"Accepting '{0}' made {1} additional edits",
|
|
438
438
|
item.textLabel,
|
|
439
439
|
item.completion.additionalTextEdits.length
|
|
@@ -610,7 +610,7 @@ class TriggerSuggestAction extends EditorAction {
|
|
|
610
610
|
constructor() {
|
|
611
611
|
super({
|
|
612
612
|
id: TriggerSuggestAction.id,
|
|
613
|
-
label: ( localize(
|
|
613
|
+
label: ( localize(1584, "Trigger Suggest")),
|
|
614
614
|
alias: 'Trigger Suggest',
|
|
615
615
|
precondition: ( (ContextKeyExpr.and(
|
|
616
616
|
EditorContextKeys.writable,
|
|
@@ -666,13 +666,13 @@ registerEditorCommand(( (new SuggestCommand({
|
|
|
666
666
|
}],
|
|
667
667
|
menuOpts: [{
|
|
668
668
|
menuId: suggestWidgetStatusbarMenu,
|
|
669
|
-
title: ( localize(
|
|
669
|
+
title: ( localize(1585, "Insert")),
|
|
670
670
|
group: 'left',
|
|
671
671
|
order: 1,
|
|
672
672
|
when: ( (Context.HasInsertAndReplaceRange.toNegated()))
|
|
673
673
|
}, {
|
|
674
674
|
menuId: suggestWidgetStatusbarMenu,
|
|
675
|
-
title: ( localize(
|
|
675
|
+
title: ( localize(1585, "Insert")),
|
|
676
676
|
group: 'left',
|
|
677
677
|
order: 1,
|
|
678
678
|
when: ( (ContextKeyExpr.and(
|
|
@@ -681,7 +681,7 @@ registerEditorCommand(( (new SuggestCommand({
|
|
|
681
681
|
)))
|
|
682
682
|
}, {
|
|
683
683
|
menuId: suggestWidgetStatusbarMenu,
|
|
684
|
-
title: ( localize(
|
|
684
|
+
title: ( localize(1586, "Replace")),
|
|
685
685
|
group: 'left',
|
|
686
686
|
order: 1,
|
|
687
687
|
when: ( (ContextKeyExpr.and(
|
|
@@ -714,7 +714,7 @@ registerEditorCommand(( (new SuggestCommand({
|
|
|
714
714
|
Context.HasInsertAndReplaceRange,
|
|
715
715
|
(Context.InsertMode.isEqualTo('insert'))
|
|
716
716
|
))),
|
|
717
|
-
title: ( localize(
|
|
717
|
+
title: ( localize(1586, "Replace"))
|
|
718
718
|
}, {
|
|
719
719
|
menuId: suggestWidgetStatusbarMenu,
|
|
720
720
|
group: 'left',
|
|
@@ -723,7 +723,7 @@ registerEditorCommand(( (new SuggestCommand({
|
|
|
723
723
|
Context.HasInsertAndReplaceRange,
|
|
724
724
|
(Context.InsertMode.isEqualTo('replace'))
|
|
725
725
|
))),
|
|
726
|
-
title: ( localize(
|
|
726
|
+
title: ( localize(1585, "Insert"))
|
|
727
727
|
}]
|
|
728
728
|
}))));
|
|
729
729
|
CommandsRegistry.registerCommandAlias('acceptSelectedSuggestionOnEnter', 'acceptSelectedSuggestion');
|
|
@@ -848,13 +848,13 @@ registerEditorCommand(( (new SuggestCommand({
|
|
|
848
848
|
group: 'right',
|
|
849
849
|
order: 1,
|
|
850
850
|
when: ( (ContextKeyExpr.and(Context.DetailsVisible, Context.CanResolve))),
|
|
851
|
-
title: ( localize(
|
|
851
|
+
title: ( localize(1587, "Show Less"))
|
|
852
852
|
}, {
|
|
853
853
|
menuId: suggestWidgetStatusbarMenu,
|
|
854
854
|
group: 'right',
|
|
855
855
|
order: 1,
|
|
856
856
|
when: ( (ContextKeyExpr.and( (Context.DetailsVisible.toNegated()), Context.CanResolve))),
|
|
857
|
-
title: ( localize(
|
|
857
|
+
title: ( localize(1588, "Show More"))
|
|
858
858
|
}]
|
|
859
859
|
}))));
|
|
860
860
|
registerEditorCommand(( (new SuggestCommand({
|
|
@@ -931,7 +931,7 @@ registerEditorAction(class extends EditorAction {
|
|
|
931
931
|
constructor() {
|
|
932
932
|
super({
|
|
933
933
|
id: 'editor.action.resetSuggestSize',
|
|
934
|
-
label: ( localize(
|
|
934
|
+
label: ( localize(1589, "Reset Suggest Widget Size")),
|
|
935
935
|
alias: 'Reset Suggest Widget Size',
|
|
936
936
|
precondition: undefined
|
|
937
937
|
});
|
|
@@ -35,7 +35,7 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
|
|
|
35
35
|
this._disposables.add(this._scrollbar);
|
|
36
36
|
this._header = append(this._body, $('.header'));
|
|
37
37
|
this._close = append(this._header, $('span' + ThemeIcon.asCSSSelector(Codicon.close)));
|
|
38
|
-
this._close.title = ( localize(
|
|
38
|
+
this._close.title = ( localize(10070, "Close"));
|
|
39
39
|
this._close.role = 'button';
|
|
40
40
|
this._close.tabIndex = -1;
|
|
41
41
|
this._type = append(this._header, $('p.type'));
|
|
@@ -81,7 +81,7 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
|
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
renderLoading() {
|
|
84
|
-
this._type.textContent = ( localize(
|
|
84
|
+
this._type.textContent = ( localize(10071, "Loading..."));
|
|
85
85
|
this._docs.textContent = '';
|
|
86
86
|
this.domNode.classList.remove('no-docs', 'no-type');
|
|
87
87
|
this.layout(this.size.width, this.getLayoutInfo().lineHeight * 2);
|
|
@@ -19,7 +19,7 @@ import { canExpandCompletionItem } from './suggestWidgetDetails.js';
|
|
|
19
19
|
function getAriaId(index) {
|
|
20
20
|
return `suggest-aria-id:${index}`;
|
|
21
21
|
}
|
|
22
|
-
const suggestMoreInfoIcon = registerIcon('suggest-more-info', Codicon.chevronRight, ( localize(
|
|
22
|
+
const suggestMoreInfoIcon = registerIcon('suggest-more-info', Codicon.chevronRight, ( localize(10068, 'Icon for more information in the suggest widget.')));
|
|
23
23
|
const _completionItemColor = new (class ColorExtractor {
|
|
24
24
|
static { this._regexRelaxed = /(#([\da-fA-F]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))/; }
|
|
25
25
|
static { this._regexStrict = ( (new RegExp(`^${ColorExtractor._regexRelaxed.source}$`, 'i'))); }
|
|
@@ -75,7 +75,7 @@ let ItemRenderer = class ItemRenderer {
|
|
|
75
75
|
const qualifierLabel = append(left, $('span.qualifier-label'));
|
|
76
76
|
const detailsLabel = append(right, $('span.details-label'));
|
|
77
77
|
const readMore = append(right, $('span.readMore' + ThemeIcon.asCSSSelector(suggestMoreInfoIcon)));
|
|
78
|
-
readMore.title = ( localize(
|
|
78
|
+
readMore.title = ( localize(10069, "Read More"));
|
|
79
79
|
const configureFont = () => {
|
|
80
80
|
const options = this._editor.getOptions();
|
|
81
81
|
const fontInfo = options.get(52 );
|
|
@@ -12,11 +12,11 @@ import '../../../../platform/theme/common/colors/miscColors.js';
|
|
|
12
12
|
import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
13
13
|
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
14
14
|
registerColor('symbolIcon.arrayForeground', foreground, ( localize(
|
|
15
|
-
|
|
15
|
+
10035,
|
|
16
16
|
'The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
17
17
|
)));
|
|
18
18
|
registerColor('symbolIcon.booleanForeground', foreground, ( localize(
|
|
19
|
-
|
|
19
|
+
10036,
|
|
20
20
|
'The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
21
21
|
)));
|
|
22
22
|
registerColor('symbolIcon.classForeground', {
|
|
@@ -25,15 +25,15 @@ registerColor('symbolIcon.classForeground', {
|
|
|
25
25
|
hcDark: '#EE9D28',
|
|
26
26
|
hcLight: '#D67E00'
|
|
27
27
|
}, ( localize(
|
|
28
|
-
|
|
28
|
+
10037,
|
|
29
29
|
'The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
30
30
|
)));
|
|
31
31
|
registerColor('symbolIcon.colorForeground', foreground, ( localize(
|
|
32
|
-
|
|
32
|
+
10038,
|
|
33
33
|
'The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
34
34
|
)));
|
|
35
35
|
registerColor('symbolIcon.constantForeground', foreground, ( localize(
|
|
36
|
-
|
|
36
|
+
10039,
|
|
37
37
|
'The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
38
38
|
)));
|
|
39
39
|
registerColor('symbolIcon.constructorForeground', {
|
|
@@ -42,7 +42,7 @@ registerColor('symbolIcon.constructorForeground', {
|
|
|
42
42
|
hcDark: '#B180D7',
|
|
43
43
|
hcLight: '#652D90'
|
|
44
44
|
}, ( localize(
|
|
45
|
-
|
|
45
|
+
10040,
|
|
46
46
|
'The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
47
47
|
)));
|
|
48
48
|
registerColor('symbolIcon.enumeratorForeground', {
|
|
@@ -51,7 +51,7 @@ registerColor('symbolIcon.enumeratorForeground', {
|
|
|
51
51
|
hcDark: '#EE9D28',
|
|
52
52
|
hcLight: '#D67E00'
|
|
53
53
|
}, ( localize(
|
|
54
|
-
|
|
54
|
+
10041,
|
|
55
55
|
'The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
56
56
|
)));
|
|
57
57
|
registerColor('symbolIcon.enumeratorMemberForeground', {
|
|
@@ -60,7 +60,7 @@ registerColor('symbolIcon.enumeratorMemberForeground', {
|
|
|
60
60
|
hcDark: '#75BEFF',
|
|
61
61
|
hcLight: '#007ACC'
|
|
62
62
|
}, ( localize(
|
|
63
|
-
|
|
63
|
+
10042,
|
|
64
64
|
'The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
65
65
|
)));
|
|
66
66
|
registerColor('symbolIcon.eventForeground', {
|
|
@@ -69,7 +69,7 @@ registerColor('symbolIcon.eventForeground', {
|
|
|
69
69
|
hcDark: '#EE9D28',
|
|
70
70
|
hcLight: '#D67E00'
|
|
71
71
|
}, ( localize(
|
|
72
|
-
|
|
72
|
+
10043,
|
|
73
73
|
'The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
74
74
|
)));
|
|
75
75
|
registerColor('symbolIcon.fieldForeground', {
|
|
@@ -78,15 +78,15 @@ registerColor('symbolIcon.fieldForeground', {
|
|
|
78
78
|
hcDark: '#75BEFF',
|
|
79
79
|
hcLight: '#007ACC'
|
|
80
80
|
}, ( localize(
|
|
81
|
-
|
|
81
|
+
10044,
|
|
82
82
|
'The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
83
83
|
)));
|
|
84
84
|
registerColor('symbolIcon.fileForeground', foreground, ( localize(
|
|
85
|
-
|
|
85
|
+
10045,
|
|
86
86
|
'The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
87
87
|
)));
|
|
88
88
|
registerColor('symbolIcon.folderForeground', foreground, ( localize(
|
|
89
|
-
|
|
89
|
+
10046,
|
|
90
90
|
'The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
91
91
|
)));
|
|
92
92
|
registerColor('symbolIcon.functionForeground', {
|
|
@@ -95,7 +95,7 @@ registerColor('symbolIcon.functionForeground', {
|
|
|
95
95
|
hcDark: '#B180D7',
|
|
96
96
|
hcLight: '#652D90'
|
|
97
97
|
}, ( localize(
|
|
98
|
-
|
|
98
|
+
10047,
|
|
99
99
|
'The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
100
100
|
)));
|
|
101
101
|
registerColor('symbolIcon.interfaceForeground', {
|
|
@@ -104,15 +104,15 @@ registerColor('symbolIcon.interfaceForeground', {
|
|
|
104
104
|
hcDark: '#75BEFF',
|
|
105
105
|
hcLight: '#007ACC'
|
|
106
106
|
}, ( localize(
|
|
107
|
-
|
|
107
|
+
10048,
|
|
108
108
|
'The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
109
109
|
)));
|
|
110
110
|
registerColor('symbolIcon.keyForeground', foreground, ( localize(
|
|
111
|
-
|
|
111
|
+
10049,
|
|
112
112
|
'The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
113
113
|
)));
|
|
114
114
|
registerColor('symbolIcon.keywordForeground', foreground, ( localize(
|
|
115
|
-
|
|
115
|
+
10050,
|
|
116
116
|
'The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
117
117
|
)));
|
|
118
118
|
registerColor('symbolIcon.methodForeground', {
|
|
@@ -121,67 +121,67 @@ registerColor('symbolIcon.methodForeground', {
|
|
|
121
121
|
hcDark: '#B180D7',
|
|
122
122
|
hcLight: '#652D90'
|
|
123
123
|
}, ( localize(
|
|
124
|
-
|
|
124
|
+
10051,
|
|
125
125
|
'The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
126
126
|
)));
|
|
127
127
|
registerColor('symbolIcon.moduleForeground', foreground, ( localize(
|
|
128
|
-
|
|
128
|
+
10052,
|
|
129
129
|
'The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
130
130
|
)));
|
|
131
131
|
registerColor('symbolIcon.namespaceForeground', foreground, ( localize(
|
|
132
|
-
|
|
132
|
+
10053,
|
|
133
133
|
'The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
134
134
|
)));
|
|
135
135
|
registerColor('symbolIcon.nullForeground', foreground, ( localize(
|
|
136
|
-
|
|
136
|
+
10054,
|
|
137
137
|
'The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
138
138
|
)));
|
|
139
139
|
registerColor('symbolIcon.numberForeground', foreground, ( localize(
|
|
140
|
-
|
|
140
|
+
10055,
|
|
141
141
|
'The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
142
142
|
)));
|
|
143
143
|
registerColor('symbolIcon.objectForeground', foreground, ( localize(
|
|
144
|
-
|
|
144
|
+
10056,
|
|
145
145
|
'The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
146
146
|
)));
|
|
147
147
|
registerColor('symbolIcon.operatorForeground', foreground, ( localize(
|
|
148
|
-
|
|
148
|
+
10057,
|
|
149
149
|
'The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
150
150
|
)));
|
|
151
151
|
registerColor('symbolIcon.packageForeground', foreground, ( localize(
|
|
152
|
-
|
|
152
|
+
10058,
|
|
153
153
|
'The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
154
154
|
)));
|
|
155
155
|
registerColor('symbolIcon.propertyForeground', foreground, ( localize(
|
|
156
|
-
|
|
156
|
+
10059,
|
|
157
157
|
'The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
158
158
|
)));
|
|
159
159
|
registerColor('symbolIcon.referenceForeground', foreground, ( localize(
|
|
160
|
-
|
|
160
|
+
10060,
|
|
161
161
|
'The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
162
162
|
)));
|
|
163
163
|
registerColor('symbolIcon.snippetForeground', foreground, ( localize(
|
|
164
|
-
|
|
164
|
+
10061,
|
|
165
165
|
'The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
166
166
|
)));
|
|
167
167
|
registerColor('symbolIcon.stringForeground', foreground, ( localize(
|
|
168
|
-
|
|
168
|
+
10062,
|
|
169
169
|
'The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
170
170
|
)));
|
|
171
171
|
registerColor('symbolIcon.structForeground', foreground, ( localize(
|
|
172
|
-
|
|
172
|
+
10063,
|
|
173
173
|
'The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
174
174
|
)));
|
|
175
175
|
registerColor('symbolIcon.textForeground', foreground, ( localize(
|
|
176
|
-
|
|
176
|
+
10064,
|
|
177
177
|
'The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
178
178
|
)));
|
|
179
179
|
registerColor('symbolIcon.typeParameterForeground', foreground, ( localize(
|
|
180
|
-
|
|
180
|
+
10065,
|
|
181
181
|
'The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
182
182
|
)));
|
|
183
183
|
registerColor('symbolIcon.unitForeground', foreground, ( localize(
|
|
184
|
-
|
|
184
|
+
10066,
|
|
185
185
|
'The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
186
186
|
)));
|
|
187
187
|
registerColor('symbolIcon.variableForeground', {
|
|
@@ -190,6 +190,6 @@ registerColor('symbolIcon.variableForeground', {
|
|
|
190
190
|
hcDark: '#75BEFF',
|
|
191
191
|
hcLight: '#007ACC',
|
|
192
192
|
}, ( localize(
|
|
193
|
-
|
|
193
|
+
10067,
|
|
194
194
|
'The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
195
195
|
)));
|
|
@@ -7,7 +7,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
super({
|
|
9
9
|
id: ToggleTabFocusModeAction.ID,
|
|
10
|
-
title: ( localize2(
|
|
10
|
+
title: ( localize2(1591, 'Toggle Tab Key Moves Focus')),
|
|
11
11
|
precondition: undefined,
|
|
12
12
|
keybinding: {
|
|
13
13
|
primary: 2048 | 43 ,
|
|
@@ -16,7 +16,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
16
16
|
},
|
|
17
17
|
metadata: {
|
|
18
18
|
description: ( localize2(
|
|
19
|
-
|
|
19
|
+
1592,
|
|
20
20
|
"Determines whether the tab key moves focus around the workbench or inserts the tab character in the current editor. This is also called tab trapping, tab navigation, or tab focus mode."
|
|
21
21
|
)),
|
|
22
22
|
},
|
|
@@ -28,10 +28,10 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
28
28
|
const newValue = !oldValue;
|
|
29
29
|
TabFocus.setTabFocusMode(newValue);
|
|
30
30
|
if (newValue) {
|
|
31
|
-
alert(( localize(
|
|
31
|
+
alert(( localize(1593, "Pressing Tab will now move focus to the next focusable element")));
|
|
32
32
|
}
|
|
33
33
|
else {
|
|
34
|
-
alert(( localize(
|
|
34
|
+
alert(( localize(1594, "Pressing Tab will now insert the tab character")));
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -5,7 +5,7 @@ class ForceRetokenizeAction extends EditorAction {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
super({
|
|
7
7
|
id: 'editor.action.forceRetokenize',
|
|
8
|
-
label: ( localize(
|
|
8
|
+
label: ( localize(1590, "Developer: Force Retokenize")),
|
|
9
9
|
alias: 'Developer: Force Retokenize',
|
|
10
10
|
precondition: undefined
|
|
11
11
|
});
|
|
@@ -23,7 +23,7 @@ import { IOpenerService } from '../../../../platform/opener/common/opener.servic
|
|
|
23
23
|
import { IQuickInputService } from '../../../../platform/quickinput/common/quickInput.service.js';
|
|
24
24
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
25
25
|
import { IWorkspaceTrustManagementService } from '../../../../platform/workspace/common/workspaceTrust.service.js';
|
|
26
|
-
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(
|
|
26
|
+
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(1595, 'Icon shown with a warning message in the extensions editor.')));
|
|
27
27
|
let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
28
28
|
static { this.ID = 'editor.contrib.unicodeHighlighter'; }
|
|
29
29
|
constructor(_editor, _editorWorkerService, _workspaceTrustService, instantiationService) {
|
|
@@ -42,19 +42,19 @@ let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
|
42
42
|
let data;
|
|
43
43
|
if (state.nonBasicAsciiCharacterCount >= max) {
|
|
44
44
|
data = {
|
|
45
|
-
message: ( localize(
|
|
45
|
+
message: ( localize(1596, 'This document contains many non-basic ASCII unicode characters')),
|
|
46
46
|
command: ( (new DisableHighlightingOfNonBasicAsciiCharactersAction())),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
else if (state.ambiguousCharacterCount >= max) {
|
|
50
50
|
data = {
|
|
51
|
-
message: ( localize(
|
|
51
|
+
message: ( localize(1597, 'This document contains many ambiguous unicode characters')),
|
|
52
52
|
command: ( (new DisableHighlightingOfAmbiguousCharactersAction())),
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
else if (state.invisibleCharacterCount >= max) {
|
|
56
56
|
data = {
|
|
57
|
-
message: ( localize(
|
|
57
|
+
message: ( localize(1598, 'This document contains many invisible unicode characters')),
|
|
58
58
|
command: ( (new DisableHighlightingOfInvisibleCharactersAction())),
|
|
59
59
|
};
|
|
60
60
|
}
|
|
@@ -321,7 +321,7 @@ class ViewportUnicodeHighlighter extends Disposable {
|
|
|
321
321
|
};
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
|
-
const configureUnicodeHighlightOptionsStr = ( localize(
|
|
324
|
+
const configureUnicodeHighlightOptionsStr = ( localize(1599, 'Configure Unicode Highlight Options'));
|
|
325
325
|
let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipant {
|
|
326
326
|
constructor(_editor, _languageService, _openerService) {
|
|
327
327
|
this._editor = _editor;
|
|
@@ -354,7 +354,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
354
354
|
case 0 : {
|
|
355
355
|
if (isBasicASCII(highlightInfo.reason.confusableWith)) {
|
|
356
356
|
reason = ( localize(
|
|
357
|
-
|
|
357
|
+
1600,
|
|
358
358
|
'The character {0} could be confused with the ASCII character {1}, which is more common in source code.',
|
|
359
359
|
codePointStr,
|
|
360
360
|
formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0))
|
|
@@ -362,7 +362,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
362
362
|
}
|
|
363
363
|
else {
|
|
364
364
|
reason = ( localize(
|
|
365
|
-
|
|
365
|
+
1601,
|
|
366
366
|
'The character {0} could be confused with the character {1}, which is more common in source code.',
|
|
367
367
|
codePointStr,
|
|
368
368
|
formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0))
|
|
@@ -371,10 +371,10 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
371
371
|
break;
|
|
372
372
|
}
|
|
373
373
|
case 1 :
|
|
374
|
-
reason = ( localize(
|
|
374
|
+
reason = ( localize(1602, 'The character {0} is invisible.', codePointStr));
|
|
375
375
|
break;
|
|
376
376
|
case 2 :
|
|
377
|
-
reason = ( localize(
|
|
377
|
+
reason = ( localize(1603, 'The character {0} is not a basic ASCII character.', codePointStr));
|
|
378
378
|
break;
|
|
379
379
|
}
|
|
380
380
|
if (( (existedReason.has(reason)))) {
|
|
@@ -387,7 +387,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
387
387
|
inComment: highlightInfo.inComment,
|
|
388
388
|
inString: highlightInfo.inString,
|
|
389
389
|
};
|
|
390
|
-
const adjustSettings = ( localize(
|
|
390
|
+
const adjustSettings = ( localize(1604, 'Adjust settings'));
|
|
391
391
|
const uri = `command:${ShowExcludeOptions.ID}?${encodeURIComponent(JSON.stringify(adjustSettingsArgs))}`;
|
|
392
392
|
const markdown = ( (new MarkdownString('', true)))
|
|
393
393
|
.appendMarkdown(reason)
|
|
@@ -459,11 +459,11 @@ class DisableHighlightingInCommentsAction extends EditorAction {
|
|
|
459
459
|
constructor() {
|
|
460
460
|
super({
|
|
461
461
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
462
|
-
label: ( localize(
|
|
462
|
+
label: ( localize(1605, 'Disable highlighting of characters in comments')),
|
|
463
463
|
alias: 'Disable highlighting of characters in comments',
|
|
464
464
|
precondition: undefined
|
|
465
465
|
});
|
|
466
|
-
this.shortLabel = ( localize(
|
|
466
|
+
this.shortLabel = ( localize(1606, 'Disable Highlight In Comments'));
|
|
467
467
|
}
|
|
468
468
|
async run(accessor, editor, args) {
|
|
469
469
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -480,11 +480,11 @@ class DisableHighlightingInStringsAction extends EditorAction {
|
|
|
480
480
|
constructor() {
|
|
481
481
|
super({
|
|
482
482
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
483
|
-
label: ( localize(
|
|
483
|
+
label: ( localize(1607, 'Disable highlighting of characters in strings')),
|
|
484
484
|
alias: 'Disable highlighting of characters in strings',
|
|
485
485
|
precondition: undefined
|
|
486
486
|
});
|
|
487
|
-
this.shortLabel = ( localize(
|
|
487
|
+
this.shortLabel = ( localize(1608, 'Disable Highlight In Strings'));
|
|
488
488
|
}
|
|
489
489
|
async run(accessor, editor, args) {
|
|
490
490
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -501,11 +501,11 @@ class DisableHighlightingOfAmbiguousCharactersAction extends EditorAction {
|
|
|
501
501
|
constructor() {
|
|
502
502
|
super({
|
|
503
503
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
504
|
-
label: ( localize(
|
|
504
|
+
label: ( localize(1609, 'Disable highlighting of ambiguous characters')),
|
|
505
505
|
alias: 'Disable highlighting of ambiguous characters',
|
|
506
506
|
precondition: undefined
|
|
507
507
|
});
|
|
508
|
-
this.shortLabel = ( localize(
|
|
508
|
+
this.shortLabel = ( localize(1610, 'Disable Ambiguous Highlight'));
|
|
509
509
|
}
|
|
510
510
|
async run(accessor, editor, args) {
|
|
511
511
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -522,11 +522,11 @@ class DisableHighlightingOfInvisibleCharactersAction extends EditorAction {
|
|
|
522
522
|
constructor() {
|
|
523
523
|
super({
|
|
524
524
|
id: DisableHighlightingOfInvisibleCharactersAction.ID,
|
|
525
|
-
label: ( localize(
|
|
525
|
+
label: ( localize(1611, 'Disable highlighting of invisible characters')),
|
|
526
526
|
alias: 'Disable highlighting of invisible characters',
|
|
527
527
|
precondition: undefined
|
|
528
528
|
});
|
|
529
|
-
this.shortLabel = ( localize(
|
|
529
|
+
this.shortLabel = ( localize(1612, 'Disable Invisible Highlight'));
|
|
530
530
|
}
|
|
531
531
|
async run(accessor, editor, args) {
|
|
532
532
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -543,11 +543,11 @@ class DisableHighlightingOfNonBasicAsciiCharactersAction extends EditorAction {
|
|
|
543
543
|
constructor() {
|
|
544
544
|
super({
|
|
545
545
|
id: DisableHighlightingOfNonBasicAsciiCharactersAction.ID,
|
|
546
|
-
label: ( localize(
|
|
546
|
+
label: ( localize(1613, 'Disable highlighting of non basic ASCII characters')),
|
|
547
547
|
alias: 'Disable highlighting of non basic ASCII characters',
|
|
548
548
|
precondition: undefined
|
|
549
549
|
});
|
|
550
|
-
this.shortLabel = ( localize(
|
|
550
|
+
this.shortLabel = ( localize(1614, 'Disable Non ASCII Highlight'));
|
|
551
551
|
}
|
|
552
552
|
async run(accessor, editor, args) {
|
|
553
553
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -564,7 +564,7 @@ class ShowExcludeOptions extends EditorAction {
|
|
|
564
564
|
constructor() {
|
|
565
565
|
super({
|
|
566
566
|
id: ShowExcludeOptions.ID,
|
|
567
|
-
label: ( localize(
|
|
567
|
+
label: ( localize(1615, "Show Exclude Options")),
|
|
568
568
|
alias: 'Show Exclude Options',
|
|
569
569
|
precondition: undefined
|
|
570
570
|
});
|
|
@@ -577,13 +577,13 @@ class ShowExcludeOptions extends EditorAction {
|
|
|
577
577
|
function getExcludeCharFromBeingHighlightedLabel(codePoint) {
|
|
578
578
|
if (InvisibleCharacters.isInvisibleCharacter(codePoint)) {
|
|
579
579
|
return ( localize(
|
|
580
|
-
|
|
580
|
+
1616,
|
|
581
581
|
'Exclude {0} (invisible character) from being highlighted',
|
|
582
582
|
codePointToHex(codePoint)
|
|
583
583
|
));
|
|
584
584
|
}
|
|
585
585
|
return ( localize(
|
|
586
|
-
|
|
586
|
+
1617,
|
|
587
587
|
'Exclude {0} from being highlighted',
|
|
588
588
|
`${codePointToHex(codePoint)} "${char}"`
|
|
589
589
|
));
|
|
@@ -593,7 +593,7 @@ class ShowExcludeOptions extends EditorAction {
|
|
|
593
593
|
for (const locale of reason.notAmbiguousInLocales) {
|
|
594
594
|
options.push({
|
|
595
595
|
label: ( localize(
|
|
596
|
-
|
|
596
|
+
1618,
|
|
597
597
|
"Allow unicode characters that are more common in the language \"{0}\".",
|
|
598
598
|
locale
|
|
599
599
|
)),
|
package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js
CHANGED
|
@@ -67,15 +67,15 @@ let UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector extend
|
|
|
67
67
|
try {
|
|
68
68
|
this._isPresentingDialog = true;
|
|
69
69
|
result = await this._dialogService.confirm({
|
|
70
|
-
title: ( localize(
|
|
71
|
-
message: ( localize(
|
|
70
|
+
title: ( localize(1619, "Unusual Line Terminators")),
|
|
71
|
+
message: ( localize(1620, "Detected unusual line terminators")),
|
|
72
72
|
detail: ( localize(
|
|
73
|
-
|
|
73
|
+
1621,
|
|
74
74
|
"The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.",
|
|
75
75
|
basename(model.uri)
|
|
76
76
|
)),
|
|
77
|
-
primaryButton: ( localize(
|
|
78
|
-
cancelButton: ( localize(
|
|
77
|
+
primaryButton: ( localize(1622, "&&Remove Unusual Line Terminators")),
|
|
78
|
+
cancelButton: ( localize(1623, "Ignore"))
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
finally {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { localize2 } from '../../../nls.js';
|
|
2
2
|
const Categories = ( (Object.freeze({
|
|
3
|
-
View: ( localize2(
|
|
4
|
-
Help: ( localize2(
|
|
5
|
-
Test: ( localize2(
|
|
6
|
-
File: ( localize2(
|
|
7
|
-
Preferences: ( localize2(
|
|
8
|
-
Developer: ( localize2(
|
|
3
|
+
View: ( localize2(4499, 'View')),
|
|
4
|
+
Help: ( localize2(4500, 'Help')),
|
|
5
|
+
Test: ( localize2(4501, 'Test')),
|
|
6
|
+
File: ( localize2(4502, 'File')),
|
|
7
|
+
Preferences: ( localize2(4503, 'Preferences')),
|
|
8
|
+
Developer: ( localize2(4504, "Developer")),
|
|
9
9
|
})));
|
|
10
10
|
export { Categories };
|
|
@@ -22,9 +22,9 @@ import '../../theme/common/colors/minimapColors.js';
|
|
|
22
22
|
import '../../theme/common/colors/miscColors.js';
|
|
23
23
|
import '../../theme/common/colors/quickpickColors.js';
|
|
24
24
|
import '../../theme/common/colors/searchColors.js';
|
|
25
|
-
registerColor('actionBar.toggledBackground', inputActiveOptionBackground, ( localize(
|
|
25
|
+
registerColor('actionBar.toggledBackground', inputActiveOptionBackground, ( localize(9970, 'Background color for toggled action items in action bar.')));
|
|
26
26
|
const ActionWidgetContextKeys = {
|
|
27
|
-
Visible: ( (new RawContextKey('codeActionMenuVisible', false, ( localize(
|
|
27
|
+
Visible: ( (new RawContextKey('codeActionMenuVisible', false, ( localize(9971, "Whether the action widget list is visible")))))
|
|
28
28
|
};
|
|
29
29
|
const IActionWidgetService = ( (createDecorator('actionWidgetService')));
|
|
30
30
|
let ActionWidgetService = class ActionWidgetService extends Disposable {
|
|
@@ -129,7 +129,7 @@ registerAction2(class extends Action2 {
|
|
|
129
129
|
constructor() {
|
|
130
130
|
super({
|
|
131
131
|
id: 'hideCodeActionWidget',
|
|
132
|
-
title: ( localize2(
|
|
132
|
+
title: ( localize2(9972, "Hide action widget")),
|
|
133
133
|
precondition: ActionWidgetContextKeys.Visible,
|
|
134
134
|
keybinding: {
|
|
135
135
|
weight,
|
|
@@ -146,7 +146,7 @@ registerAction2(class extends Action2 {
|
|
|
146
146
|
constructor() {
|
|
147
147
|
super({
|
|
148
148
|
id: 'selectPrevCodeAction',
|
|
149
|
-
title: ( localize2(
|
|
149
|
+
title: ( localize2(9973, "Select previous action")),
|
|
150
150
|
precondition: ActionWidgetContextKeys.Visible,
|
|
151
151
|
keybinding: {
|
|
152
152
|
weight,
|
|
@@ -167,7 +167,7 @@ registerAction2(class extends Action2 {
|
|
|
167
167
|
constructor() {
|
|
168
168
|
super({
|
|
169
169
|
id: 'selectNextCodeAction',
|
|
170
|
-
title: ( localize2(
|
|
170
|
+
title: ( localize2(9974, "Select next action")),
|
|
171
171
|
precondition: ActionWidgetContextKeys.Visible,
|
|
172
172
|
keybinding: {
|
|
173
173
|
weight,
|
|
@@ -188,7 +188,7 @@ registerAction2(class extends Action2 {
|
|
|
188
188
|
constructor() {
|
|
189
189
|
super({
|
|
190
190
|
id: acceptSelectedActionCommand,
|
|
191
|
-
title: ( localize2(
|
|
191
|
+
title: ( localize2(9975, "Accept selected action")),
|
|
192
192
|
precondition: ActionWidgetContextKeys.Visible,
|
|
193
193
|
keybinding: {
|
|
194
194
|
weight,
|
|
@@ -208,7 +208,7 @@ registerAction2(class extends Action2 {
|
|
|
208
208
|
constructor() {
|
|
209
209
|
super({
|
|
210
210
|
id: previewSelectedActionCommand,
|
|
211
|
-
title: ( localize2(
|
|
211
|
+
title: ( localize2(9976, "Preview selected action")),
|
|
212
212
|
precondition: ActionWidgetContextKeys.Visible,
|
|
213
213
|
keybinding: {
|
|
214
214
|
weight,
|