@codingame/monaco-vscode-api 10.0.1 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.js +1 -1
- package/missing-services.js +7062 -1575
- package/monaco.d.ts +1 -1
- package/monaco.js +1 -1
- 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/base/browser/ui/tree/abstractTree.js +9 -9
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/errorMessage.js +15 -6
- package/vscode/src/vs/base/common/errors.d.ts +3 -1
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.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/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/config/editorOptions.js +368 -368
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- 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/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/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +23 -23
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- 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/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/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +42 -23
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- 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/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -11
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- 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/quickinput/browser/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- 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/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- 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/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.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/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/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/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +217 -217
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- 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/common/chatModel.js +10 -1
- 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/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
- 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/quickaccess/gotoSymbolQuickAccess.js +6 -6
- 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/debugExpressionRenderer.js +1 -1
- 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/debug.js +63 -63
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.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/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/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/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +11 -9
- 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/inlineChatController.js +6 -6
- 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/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- 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/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/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/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -50
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- 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/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- 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/views/browser/viewsService.js +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -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(1406, "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(1407, "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(1408, "&&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(1409, "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(1410, "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(1411, "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(1412, "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(1413, "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(1414, "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
|
+
1415,
|
|
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
|
+
1416,
|
|
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
|
+
1416,
|
|
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(1417, "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(1418, "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(1419, "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(1420, "&&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(1421, "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(1422, "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(1423, "Reset Editor Font Size")),
|
|
35
35
|
alias: 'Reset Editor Font Size',
|
|
36
36
|
precondition: undefined
|
|
37
37
|
});
|
|
@@ -24,7 +24,7 @@ import { EditorContextKeys } from '../../../../common/editorContextKeys.js';
|
|
|
24
24
|
import { InputFocusedContext } from '../../../../../platform/contextkey/common/contextkeys.js';
|
|
25
25
|
var ReferencesController_1;
|
|
26
26
|
const ctxReferenceSearchVisible = ( (new RawContextKey('referenceSearchVisible', false, ( localize(
|
|
27
|
-
|
|
27
|
+
4574,
|
|
28
28
|
"Whether reference peek is visible, like 'Peek References' or 'Peek Definition'"
|
|
29
29
|
)))));
|
|
30
30
|
let ReferencesController = class ReferencesController {
|
|
@@ -74,7 +74,7 @@ let ReferencesController = class ReferencesController {
|
|
|
74
74
|
const storageKey = 'peekViewLayout';
|
|
75
75
|
const data = LayoutData.fromJSON(this._storageService.get(storageKey, 0 , '{}'));
|
|
76
76
|
this._widget = this._instantiationService.createInstance(ReferenceWidget, this._editor, this._defaultTreeKeyboardSupport, data);
|
|
77
|
-
this._widget.setTitle(( localize(
|
|
77
|
+
this._widget.setTitle(( localize(4575, "Loading...")));
|
|
78
78
|
this._widget.show(range);
|
|
79
79
|
this._disposables.add(this._widget.onDidClose(() => {
|
|
80
80
|
modelPromise.cancel();
|
|
@@ -124,7 +124,7 @@ let ReferencesController = class ReferencesController {
|
|
|
124
124
|
return this._widget.setModel(this._model).then(() => {
|
|
125
125
|
if (this._widget && this._model && this._editor.hasModel()) {
|
|
126
126
|
if (!this._model.isEmpty) {
|
|
127
|
-
this._widget.setMetaTitle(( localize(
|
|
127
|
+
this._widget.setMetaTitle(( localize(4576, "{0} ({1})", this._model.title, this._model.references.length)));
|
|
128
128
|
}
|
|
129
129
|
else {
|
|
130
130
|
this._widget.setMetaTitle('');
|
|
@@ -96,10 +96,10 @@ let FileReferencesTemplate = class FileReferencesTemplate extends Disposable {
|
|
|
96
96
|
const len = element.children.length;
|
|
97
97
|
this.badge.setCount(len);
|
|
98
98
|
if (len > 1) {
|
|
99
|
-
this.badge.setTitleFormat(( localize(
|
|
99
|
+
this.badge.setTitleFormat(( localize(11398, "{0} references", len)));
|
|
100
100
|
}
|
|
101
101
|
else {
|
|
102
|
-
this.badge.setTitleFormat(( localize(
|
|
102
|
+
this.badge.setTitleFormat(( localize(11399, "{0} reference", len)));
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
};
|
|
@@ -168,7 +168,7 @@ class OneReferenceRenderer {
|
|
|
168
168
|
}
|
|
169
169
|
class AccessibilityProvider {
|
|
170
170
|
getWidgetAriaLabel() {
|
|
171
|
-
return ( localize(
|
|
171
|
+
return ( localize(11400, "References"));
|
|
172
172
|
}
|
|
173
173
|
getAriaLabel(element) {
|
|
174
174
|
return element.ariaMessage;
|
|
@@ -240,7 +240,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
240
240
|
};
|
|
241
241
|
this._preview = this._instantiationService.createInstance(EmbeddedCodeEditorWidget, this._previewContainer, options, {}, this.editor);
|
|
242
242
|
hide(this._previewContainer);
|
|
243
|
-
this._previewNotAvailableMessage = this._instantiationService.createInstance(TextModel, ( localize(
|
|
243
|
+
this._previewNotAvailableMessage = this._instantiationService.createInstance(TextModel, ( localize(9950, "no preview available")), PLAINTEXT_LANGUAGE_ID, TextModel.DEFAULT_CREATION_OPTIONS, null);
|
|
244
244
|
this._treeContainer = append(containerElement, $('div.ref-tree.inline'));
|
|
245
245
|
const treeOptions = {
|
|
246
246
|
keyboardSupport: this._defaultTreeKeyboardSupport,
|
|
@@ -346,7 +346,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
346
346
|
}
|
|
347
347
|
if (this._model.isEmpty) {
|
|
348
348
|
this.setTitle('');
|
|
349
|
-
this._messageContainer.innerText = ( localize(
|
|
349
|
+
this._messageContainer.innerText = ( localize(9951, "No results"));
|
|
350
350
|
show(this._messageContainer);
|
|
351
351
|
return Promise.resolve(undefined);
|
|
352
352
|
}
|
|
@@ -401,7 +401,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
401
401
|
this.setTitle(basenameOrAuthority(reference.uri), this._uriLabel.getUriLabel(dirname(reference.uri)));
|
|
402
402
|
}
|
|
403
403
|
else {
|
|
404
|
-
this.setTitle(( localize(
|
|
404
|
+
this.setTitle(( localize(9952, "References")));
|
|
405
405
|
}
|
|
406
406
|
const promise = this._textModelResolverService.createModelReference(reference.uri);
|
|
407
407
|
if (this._tree.getInput() === reference.parent) {
|
|
@@ -18,12 +18,12 @@ import { labelForHoverVerbosityAction } from './markdownHoverParticipant.js';
|
|
|
18
18
|
var HoverAccessibilityHelpNLS;
|
|
19
19
|
( ((function(HoverAccessibilityHelpNLS) {
|
|
20
20
|
HoverAccessibilityHelpNLS.increaseVerbosity = ( localize(
|
|
21
|
-
|
|
21
|
+
5193,
|
|
22
22
|
'- The focused hover part verbosity level can be increased with the Increase Hover Verbosity command.',
|
|
23
23
|
`<keybinding:${INCREASE_HOVER_VERBOSITY_ACTION_ID}>`
|
|
24
24
|
));
|
|
25
25
|
HoverAccessibilityHelpNLS.decreaseVerbosity = ( localize(
|
|
26
|
-
|
|
26
|
+
5194,
|
|
27
27
|
'- The focused hover part verbosity level can be decreased with the Decrease Hover Verbosity command.',
|
|
28
28
|
`<keybinding:${DECREASE_HOVER_VERBOSITY_ACTION_ID}>`
|
|
29
29
|
));
|
|
@@ -11,8 +11,8 @@ const GO_TO_TOP_HOVER_ACTION_ID = 'editor.action.goToTopHover';
|
|
|
11
11
|
const GO_TO_BOTTOM_HOVER_ACTION_ID = 'editor.action.goToBottomHover';
|
|
12
12
|
const INCREASE_HOVER_VERBOSITY_ACTION_ID = 'editor.action.increaseHoverVerbosityLevel';
|
|
13
13
|
const INCREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID = 'editor.action.increaseHoverVerbosityLevelFromAccessibleView';
|
|
14
|
-
const INCREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(
|
|
14
|
+
const INCREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(10002, "Increase Hover Verbosity Level"));
|
|
15
15
|
const DECREASE_HOVER_VERBOSITY_ACTION_ID = 'editor.action.decreaseHoverVerbosityLevel';
|
|
16
16
|
const DECREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID = 'editor.action.decreaseHoverVerbosityLevelFromAccessibleView';
|
|
17
|
-
const DECREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(
|
|
17
|
+
const DECREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(10003, "Decrease Hover Verbosity Level"));
|
|
18
18
|
export { DECREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID, DECREASE_HOVER_VERBOSITY_ACTION_ID, DECREASE_HOVER_VERBOSITY_ACTION_LABEL, GO_TO_BOTTOM_HOVER_ACTION_ID, GO_TO_TOP_HOVER_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACTION_LABEL, PAGE_DOWN_HOVER_ACTION_ID, PAGE_UP_HOVER_ACTION_ID, SCROLL_DOWN_HOVER_ACTION_ID, SCROLL_LEFT_HOVER_ACTION_ID, SCROLL_RIGHT_HOVER_ACTION_ID, SCROLL_UP_HOVER_ACTION_ID, SHOW_DEFINITION_PREVIEW_HOVER_ACTION_ID, SHOW_OR_FOCUS_HOVER_ACTION_ID };
|
|
@@ -18,10 +18,10 @@ class ShowOrFocusHoverAction extends EditorAction {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super({
|
|
20
20
|
id: SHOW_OR_FOCUS_HOVER_ACTION_ID,
|
|
21
|
-
label: ( localize(
|
|
21
|
+
label: ( localize(5157, "Show or Focus Hover")),
|
|
22
22
|
metadata: {
|
|
23
23
|
description: ( localize2(
|
|
24
|
-
|
|
24
|
+
5158,
|
|
25
25
|
'Show or focus the editor hover which shows documentation, references, and other content for a symbol at the current cursor position.'
|
|
26
26
|
)),
|
|
27
27
|
args: [{
|
|
@@ -33,9 +33,9 @@ class ShowOrFocusHoverAction extends EditorAction {
|
|
|
33
33
|
description: 'Controls if and when the hover should take focus upon being triggered by this action.',
|
|
34
34
|
enum: [HoverFocusBehavior.NoAutoFocus, HoverFocusBehavior.FocusIfVisible, HoverFocusBehavior.AutoFocusImmediately],
|
|
35
35
|
enumDescriptions: [
|
|
36
|
-
( localize(
|
|
37
|
-
( localize(
|
|
38
|
-
( localize(
|
|
36
|
+
( localize(5159, 'The hover will not automatically take focus.')),
|
|
37
|
+
( localize(5160, 'The hover will take focus only if it is already visible.')),
|
|
38
|
+
( localize(5161, 'The hover will automatically take focus when it appears.')),
|
|
39
39
|
],
|
|
40
40
|
default: HoverFocusBehavior.FocusIfVisible,
|
|
41
41
|
}
|
|
@@ -91,11 +91,11 @@ class ShowDefinitionPreviewHoverAction extends EditorAction {
|
|
|
91
91
|
constructor() {
|
|
92
92
|
super({
|
|
93
93
|
id: SHOW_DEFINITION_PREVIEW_HOVER_ACTION_ID,
|
|
94
|
-
label: ( localize(
|
|
94
|
+
label: ( localize(5162, "Show Definition Preview Hover")),
|
|
95
95
|
alias: 'Show Definition Preview Hover',
|
|
96
96
|
precondition: undefined,
|
|
97
97
|
metadata: {
|
|
98
|
-
description: ( localize2(
|
|
98
|
+
description: ( localize2(5163, 'Show the definition preview hover in the editor.')),
|
|
99
99
|
},
|
|
100
100
|
});
|
|
101
101
|
}
|
|
@@ -123,7 +123,7 @@ class ScrollUpHoverAction extends EditorAction {
|
|
|
123
123
|
constructor() {
|
|
124
124
|
super({
|
|
125
125
|
id: SCROLL_UP_HOVER_ACTION_ID,
|
|
126
|
-
label: ( localize(
|
|
126
|
+
label: ( localize(5164, "Scroll Up Hover")),
|
|
127
127
|
alias: 'Scroll Up Hover',
|
|
128
128
|
precondition: EditorContextKeys.hoverFocused,
|
|
129
129
|
kbOpts: {
|
|
@@ -132,7 +132,7 @@ class ScrollUpHoverAction extends EditorAction {
|
|
|
132
132
|
weight: 100
|
|
133
133
|
},
|
|
134
134
|
metadata: {
|
|
135
|
-
description: ( localize2(
|
|
135
|
+
description: ( localize2(5165, 'Scroll up the editor hover.'))
|
|
136
136
|
},
|
|
137
137
|
});
|
|
138
138
|
}
|
|
@@ -148,7 +148,7 @@ class ScrollDownHoverAction extends EditorAction {
|
|
|
148
148
|
constructor() {
|
|
149
149
|
super({
|
|
150
150
|
id: SCROLL_DOWN_HOVER_ACTION_ID,
|
|
151
|
-
label: ( localize(
|
|
151
|
+
label: ( localize(5166, "Scroll Down Hover")),
|
|
152
152
|
alias: 'Scroll Down Hover',
|
|
153
153
|
precondition: EditorContextKeys.hoverFocused,
|
|
154
154
|
kbOpts: {
|
|
@@ -157,7 +157,7 @@ class ScrollDownHoverAction extends EditorAction {
|
|
|
157
157
|
weight: 100
|
|
158
158
|
},
|
|
159
159
|
metadata: {
|
|
160
|
-
description: ( localize2(
|
|
160
|
+
description: ( localize2(5167, 'Scroll down the editor hover.')),
|
|
161
161
|
},
|
|
162
162
|
});
|
|
163
163
|
}
|
|
@@ -173,7 +173,7 @@ class ScrollLeftHoverAction extends EditorAction {
|
|
|
173
173
|
constructor() {
|
|
174
174
|
super({
|
|
175
175
|
id: SCROLL_LEFT_HOVER_ACTION_ID,
|
|
176
|
-
label: ( localize(
|
|
176
|
+
label: ( localize(5168, "Scroll Left Hover")),
|
|
177
177
|
alias: 'Scroll Left Hover',
|
|
178
178
|
precondition: EditorContextKeys.hoverFocused,
|
|
179
179
|
kbOpts: {
|
|
@@ -182,7 +182,7 @@ class ScrollLeftHoverAction extends EditorAction {
|
|
|
182
182
|
weight: 100
|
|
183
183
|
},
|
|
184
184
|
metadata: {
|
|
185
|
-
description: ( localize2(
|
|
185
|
+
description: ( localize2(5169, 'Scroll left the editor hover.')),
|
|
186
186
|
},
|
|
187
187
|
});
|
|
188
188
|
}
|
|
@@ -198,7 +198,7 @@ class ScrollRightHoverAction extends EditorAction {
|
|
|
198
198
|
constructor() {
|
|
199
199
|
super({
|
|
200
200
|
id: SCROLL_RIGHT_HOVER_ACTION_ID,
|
|
201
|
-
label: ( localize(
|
|
201
|
+
label: ( localize(5170, "Scroll Right Hover")),
|
|
202
202
|
alias: 'Scroll Right Hover',
|
|
203
203
|
precondition: EditorContextKeys.hoverFocused,
|
|
204
204
|
kbOpts: {
|
|
@@ -207,7 +207,7 @@ class ScrollRightHoverAction extends EditorAction {
|
|
|
207
207
|
weight: 100
|
|
208
208
|
},
|
|
209
209
|
metadata: {
|
|
210
|
-
description: ( localize2(
|
|
210
|
+
description: ( localize2(5171, 'Scroll right the editor hover.'))
|
|
211
211
|
},
|
|
212
212
|
});
|
|
213
213
|
}
|
|
@@ -223,7 +223,7 @@ class PageUpHoverAction extends EditorAction {
|
|
|
223
223
|
constructor() {
|
|
224
224
|
super({
|
|
225
225
|
id: PAGE_UP_HOVER_ACTION_ID,
|
|
226
|
-
label: ( localize(
|
|
226
|
+
label: ( localize(5172, "Page Up Hover")),
|
|
227
227
|
alias: 'Page Up Hover',
|
|
228
228
|
precondition: EditorContextKeys.hoverFocused,
|
|
229
229
|
kbOpts: {
|
|
@@ -233,7 +233,7 @@ class PageUpHoverAction extends EditorAction {
|
|
|
233
233
|
weight: 100
|
|
234
234
|
},
|
|
235
235
|
metadata: {
|
|
236
|
-
description: ( localize2(
|
|
236
|
+
description: ( localize2(5173, 'Page up the editor hover.')),
|
|
237
237
|
},
|
|
238
238
|
});
|
|
239
239
|
}
|
|
@@ -249,7 +249,7 @@ class PageDownHoverAction extends EditorAction {
|
|
|
249
249
|
constructor() {
|
|
250
250
|
super({
|
|
251
251
|
id: PAGE_DOWN_HOVER_ACTION_ID,
|
|
252
|
-
label: ( localize(
|
|
252
|
+
label: ( localize(5174, "Page Down Hover")),
|
|
253
253
|
alias: 'Page Down Hover',
|
|
254
254
|
precondition: EditorContextKeys.hoverFocused,
|
|
255
255
|
kbOpts: {
|
|
@@ -259,7 +259,7 @@ class PageDownHoverAction extends EditorAction {
|
|
|
259
259
|
weight: 100
|
|
260
260
|
},
|
|
261
261
|
metadata: {
|
|
262
|
-
description: ( localize2(
|
|
262
|
+
description: ( localize2(5175, 'Page down the editor hover.')),
|
|
263
263
|
},
|
|
264
264
|
});
|
|
265
265
|
}
|
|
@@ -275,7 +275,7 @@ class GoToTopHoverAction extends EditorAction {
|
|
|
275
275
|
constructor() {
|
|
276
276
|
super({
|
|
277
277
|
id: GO_TO_TOP_HOVER_ACTION_ID,
|
|
278
|
-
label: ( localize(
|
|
278
|
+
label: ( localize(5176, "Go To Top Hover")),
|
|
279
279
|
alias: 'Go To Bottom Hover',
|
|
280
280
|
precondition: EditorContextKeys.hoverFocused,
|
|
281
281
|
kbOpts: {
|
|
@@ -285,7 +285,7 @@ class GoToTopHoverAction extends EditorAction {
|
|
|
285
285
|
weight: 100
|
|
286
286
|
},
|
|
287
287
|
metadata: {
|
|
288
|
-
description: ( localize2(
|
|
288
|
+
description: ( localize2(5177, 'Go to the top of the editor hover.')),
|
|
289
289
|
},
|
|
290
290
|
});
|
|
291
291
|
}
|
|
@@ -301,7 +301,7 @@ class GoToBottomHoverAction extends EditorAction {
|
|
|
301
301
|
constructor() {
|
|
302
302
|
super({
|
|
303
303
|
id: GO_TO_BOTTOM_HOVER_ACTION_ID,
|
|
304
|
-
label: ( localize(
|
|
304
|
+
label: ( localize(5178, "Go To Bottom Hover")),
|
|
305
305
|
alias: 'Go To Bottom Hover',
|
|
306
306
|
precondition: EditorContextKeys.hoverFocused,
|
|
307
307
|
kbOpts: {
|
|
@@ -311,7 +311,7 @@ class GoToBottomHoverAction extends EditorAction {
|
|
|
311
311
|
weight: 100
|
|
312
312
|
},
|
|
313
313
|
metadata: {
|
|
314
|
-
description: ( localize2(
|
|
314
|
+
description: ( localize2(5179, 'Go to the bottom of the editor hover.'))
|
|
315
315
|
},
|
|
316
316
|
});
|
|
317
317
|
}
|
|
@@ -26,8 +26,8 @@ import { AsyncIterableObject } from '../../../../base/common/async.js';
|
|
|
26
26
|
import { getHoverProviderResultsAsAsyncIterable } from './getHover.js';
|
|
27
27
|
import { ICommandService } from '../../../../platform/commands/common/commands.service.js';
|
|
28
28
|
const $ = $$1;
|
|
29
|
-
const increaseHoverVerbosityIcon = registerIcon('hover-increase-verbosity', Codicon.add, ( localize(
|
|
30
|
-
const decreaseHoverVerbosityIcon = registerIcon('hover-decrease-verbosity', Codicon.remove, ( localize(
|
|
29
|
+
const increaseHoverVerbosityIcon = registerIcon('hover-increase-verbosity', Codicon.add, ( localize(5180, 'Icon for increaseing hover verbosity.')));
|
|
30
|
+
const decreaseHoverVerbosityIcon = registerIcon('hover-decrease-verbosity', Codicon.remove, ( localize(5181, 'Icon for decreasing hover verbosity.')));
|
|
31
31
|
class MarkdownHover {
|
|
32
32
|
constructor(owner, range, contents, isBeforeContent, ordinal, source = undefined) {
|
|
33
33
|
this.owner = owner;
|
|
@@ -75,7 +75,7 @@ let MarkdownHoverParticipant = class MarkdownHoverParticipant {
|
|
|
75
75
|
(new MarkdownHover(
|
|
76
76
|
this,
|
|
77
77
|
anchor.range,
|
|
78
|
-
[( (new MarkdownString())).appendText(( localize(
|
|
78
|
+
[( (new MarkdownString())).appendText(( localize(5182, "Loading...")))],
|
|
79
79
|
false,
|
|
80
80
|
2000
|
|
81
81
|
))
|
|
@@ -101,7 +101,7 @@ let MarkdownHoverParticipant = class MarkdownHoverParticipant {
|
|
|
101
101
|
stopRenderingMessage = true;
|
|
102
102
|
result.push(( (new MarkdownHover(this, anchor.range, [{
|
|
103
103
|
value: ( localize(
|
|
104
|
-
|
|
104
|
+
5183,
|
|
105
105
|
"Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`."
|
|
106
106
|
))
|
|
107
107
|
}], false, index++))));
|
|
@@ -109,7 +109,7 @@ let MarkdownHoverParticipant = class MarkdownHoverParticipant {
|
|
|
109
109
|
if (!stopRenderingMessage && typeof maxTokenizationLineLength === 'number' && lineLength >= maxTokenizationLineLength) {
|
|
110
110
|
result.push(( (new MarkdownHover(this, anchor.range, [{
|
|
111
111
|
value: ( localize(
|
|
112
|
-
|
|
112
|
+
5184,
|
|
113
113
|
"Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`."
|
|
114
114
|
))
|
|
115
115
|
}], false, index++))));
|
|
@@ -442,14 +442,14 @@ function labelForHoverVerbosityAction(keybindingService, action) {
|
|
|
442
442
|
case HoverVerbosityAction.Increase: {
|
|
443
443
|
const kb = keybindingService.lookupKeybinding(INCREASE_HOVER_VERBOSITY_ACTION_ID);
|
|
444
444
|
return kb ?
|
|
445
|
-
( localize(
|
|
446
|
-
( localize(
|
|
445
|
+
( localize(5185, "Increase Hover Verbosity ({0})", kb.getLabel())) :
|
|
446
|
+
( localize(5186, "Increase Hover Verbosity"));
|
|
447
447
|
}
|
|
448
448
|
case HoverVerbosityAction.Decrease: {
|
|
449
449
|
const kb = keybindingService.lookupKeybinding(DECREASE_HOVER_VERBOSITY_ACTION_ID);
|
|
450
450
|
return kb ?
|
|
451
|
-
( localize(
|
|
452
|
-
( localize(
|
|
451
|
+
( localize(5187, "Decrease Hover Verbosity ({0})", kb.getLabel())) :
|
|
452
|
+
( localize(5188, "Decrease Hover Verbosity"));
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
455
|
}
|
|
@@ -162,7 +162,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
162
162
|
const markerController = MarkerController.get(this._editor);
|
|
163
163
|
if (markerController) {
|
|
164
164
|
context.statusBar.addAction({
|
|
165
|
-
label: ( localize(
|
|
165
|
+
label: ( localize(5189, "View Problem")),
|
|
166
166
|
commandId: NextMarkerAction.ID,
|
|
167
167
|
run: () => {
|
|
168
168
|
context.hide();
|
|
@@ -177,14 +177,14 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
177
177
|
if (this.recentMarkerCodeActionsInfo) {
|
|
178
178
|
if (IMarkerData.makeKey(this.recentMarkerCodeActionsInfo.marker) === IMarkerData.makeKey(markerHover.marker)) {
|
|
179
179
|
if (!this.recentMarkerCodeActionsInfo.hasCodeActions) {
|
|
180
|
-
quickfixPlaceholderElement.textContent = ( localize(
|
|
180
|
+
quickfixPlaceholderElement.textContent = ( localize(5190, "No quick fixes available"));
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
else {
|
|
184
184
|
this.recentMarkerCodeActionsInfo = undefined;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
const updatePlaceholderDisposable = this.recentMarkerCodeActionsInfo && !this.recentMarkerCodeActionsInfo.hasCodeActions ? Disposable.None : disposableTimeout(() => quickfixPlaceholderElement.textContent = ( localize(
|
|
187
|
+
const updatePlaceholderDisposable = this.recentMarkerCodeActionsInfo && !this.recentMarkerCodeActionsInfo.hasCodeActions ? Disposable.None : disposableTimeout(() => quickfixPlaceholderElement.textContent = ( localize(5191, "Checking for quick fixes...")), 200, disposables);
|
|
188
188
|
if (!quickfixPlaceholderElement.textContent) {
|
|
189
189
|
quickfixPlaceholderElement.textContent = String.fromCharCode(0xA0);
|
|
190
190
|
}
|
|
@@ -195,7 +195,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
195
195
|
this.recentMarkerCodeActionsInfo = { marker: markerHover.marker, hasCodeActions: actions.validActions.length > 0 };
|
|
196
196
|
if (!this.recentMarkerCodeActionsInfo.hasCodeActions) {
|
|
197
197
|
actions.dispose();
|
|
198
|
-
quickfixPlaceholderElement.textContent = ( localize(
|
|
198
|
+
quickfixPlaceholderElement.textContent = ( localize(5190, "No quick fixes available"));
|
|
199
199
|
return;
|
|
200
200
|
}
|
|
201
201
|
quickfixPlaceholderElement.style.display = 'none';
|
|
@@ -206,7 +206,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
206
206
|
}
|
|
207
207
|
}));
|
|
208
208
|
context.statusBar.addAction({
|
|
209
|
-
label: ( localize(
|
|
209
|
+
label: ( localize(5192, "Quick Fix...")),
|
|
210
210
|
commandId: quickFixCommandId,
|
|
211
211
|
run: (target) => {
|
|
212
212
|
showing = true;
|
|
@@ -11,20 +11,20 @@ import { RawContextKey } from '../../../../../platform/contextkey/common/context
|
|
|
11
11
|
import { localize } from '../../../../../nls.js';
|
|
12
12
|
import { bindContextKey } from '../../../../../platform/observable/common/platformObservableUtils.js';
|
|
13
13
|
class InlineCompletionContextKeys extends Disposable {
|
|
14
|
-
static { this.inlineSuggestionVisible = ( (new RawContextKey('inlineSuggestionVisible', false, ( localize(
|
|
15
|
-
static { this.inlineSuggestionHasIndentation = ( (new RawContextKey('inlineSuggestionHasIndentation', false, ( localize(
|
|
14
|
+
static { this.inlineSuggestionVisible = ( (new RawContextKey('inlineSuggestionVisible', false, ( localize(9989, "Whether an inline suggestion is visible"))))); }
|
|
15
|
+
static { this.inlineSuggestionHasIndentation = ( (new RawContextKey('inlineSuggestionHasIndentation', false, ( localize(9990, "Whether the inline suggestion starts with whitespace"))))); }
|
|
16
16
|
static { this.inlineSuggestionHasIndentationLessThanTabSize = ( (new RawContextKey('inlineSuggestionHasIndentationLessThanTabSize', true, ( localize(
|
|
17
|
-
|
|
17
|
+
9991,
|
|
18
18
|
"Whether the inline suggestion starts with whitespace that is less than what would be inserted by tab"
|
|
19
19
|
))))); }
|
|
20
20
|
static { this.suppressSuggestions = ( (new RawContextKey('inlineSuggestionSuppressSuggestions', undefined, ( localize(
|
|
21
|
-
|
|
21
|
+
9992,
|
|
22
22
|
"Whether suggestions should be suppressed for the current suggestion"
|
|
23
23
|
))))); }
|
|
24
|
-
static { this.cursorInIndentation = ( (new RawContextKey('cursorInIndentation', false, ( localize(
|
|
25
|
-
static { this.hasSelection = ( (new RawContextKey('editor.hasSelection', false, ( localize(
|
|
26
|
-
static { this.cursorAtInlineEdit = ( (new RawContextKey('cursorAtInlineEdit', false, ( localize(
|
|
27
|
-
static { this.inlineEditVisible = ( (new RawContextKey('inlineEditIsVisible', false, ( localize(
|
|
24
|
+
static { this.cursorInIndentation = ( (new RawContextKey('cursorInIndentation', false, ( localize(9993, "Whether the cursor is in indentation"))))); }
|
|
25
|
+
static { this.hasSelection = ( (new RawContextKey('editor.hasSelection', false, ( localize(9994, "Whether the editor has a selection"))))); }
|
|
26
|
+
static { this.cursorAtInlineEdit = ( (new RawContextKey('cursorAtInlineEdit', false, ( localize(9995, "Whether the cursor is at an inline edit"))))); }
|
|
27
|
+
static { this.inlineEditVisible = ( (new RawContextKey('inlineEditIsVisible', false, ( localize(9996, "Whether an inline edit is visible"))))); }
|
|
28
28
|
constructor(contextKeyService, model) {
|
|
29
29
|
super();
|
|
30
30
|
this.contextKeyService = contextKeyService;
|
|
@@ -88,8 +88,8 @@ let InlineCompletionsHintsWidget = class InlineCompletionsHintsWidget extends Di
|
|
|
88
88
|
InlineCompletionsHintsWidget = ( (__decorate([
|
|
89
89
|
( (__param(2, IInstantiationService)))
|
|
90
90
|
], InlineCompletionsHintsWidget)));
|
|
91
|
-
const inlineSuggestionHintsNextIcon = registerIcon('inline-suggestion-hints-next', Codicon.chevronRight, ( localize(
|
|
92
|
-
const inlineSuggestionHintsPreviousIcon = registerIcon('inline-suggestion-hints-previous', Codicon.chevronLeft, ( localize(
|
|
91
|
+
const inlineSuggestionHintsNextIcon = registerIcon('inline-suggestion-hints-next', Codicon.chevronRight, ( localize(9997, 'Icon for show next parameter hint.')));
|
|
92
|
+
const inlineSuggestionHintsPreviousIcon = registerIcon('inline-suggestion-hints-previous', Codicon.chevronLeft, ( localize(9998, 'Icon for show previous parameter hint.')));
|
|
93
93
|
let InlineSuggestionHintsContentWidget = class InlineSuggestionHintsContentWidget extends Disposable {
|
|
94
94
|
static { InlineSuggestionHintsContentWidget_1 = this; }
|
|
95
95
|
static { this._dropDownVisible = false; }
|
|
@@ -106,7 +106,7 @@ let InlineSuggestionHintsContentWidget = class InlineSuggestionHintsContentWidge
|
|
|
106
106
|
const kb = this.keybindingService.lookupKeybinding(commandId, this._contextKeyService);
|
|
107
107
|
let tooltip = label;
|
|
108
108
|
if (kb) {
|
|
109
|
-
tooltip = ( localize(
|
|
109
|
+
tooltip = ( localize(9999, '{0} ({1})', label, kb.getLabel()));
|
|
110
110
|
}
|
|
111
111
|
action.tooltip = tooltip;
|
|
112
112
|
return action;
|
|
@@ -129,9 +129,9 @@ let InlineSuggestionHintsContentWidget = class InlineSuggestionHintsContentWidge
|
|
|
129
129
|
this.nodes = h('div.inlineSuggestionsHints', { className: this.withBorder ? '.withBorder' : '' }, [
|
|
130
130
|
h('div@toolBar'),
|
|
131
131
|
]);
|
|
132
|
-
this.previousAction = this.createCommandAction(showPreviousInlineSuggestionActionId, ( localize(
|
|
132
|
+
this.previousAction = this.createCommandAction(showPreviousInlineSuggestionActionId, ( localize(10000, 'Previous')), ThemeIcon.asClassName(inlineSuggestionHintsPreviousIcon));
|
|
133
133
|
this.availableSuggestionCountAction = ( (new Action('inlineSuggestionHints.availableSuggestionCount', '', undefined, false)));
|
|
134
|
-
this.nextAction = this.createCommandAction(showNextInlineSuggestionActionId, ( localize(
|
|
134
|
+
this.nextAction = this.createCommandAction(showNextInlineSuggestionActionId, ( localize(10001, 'Next')), ThemeIcon.asClassName(inlineSuggestionHintsNextIcon));
|
|
135
135
|
this.inlineCompletionsActionsMenus = this._register(this._menuService.createMenu(MenuId.InlineCompletionsActions, this._contextKeyService));
|
|
136
136
|
this.clearAvailableSuggestionCountLabelDebounced = this._register(( (new RunOnceScheduler(() => {
|
|
137
137
|
this.availableSuggestionCountAction.label = '';
|
|
@@ -56,7 +56,7 @@ class TriggerParameterHintsAction extends EditorAction {
|
|
|
56
56
|
constructor() {
|
|
57
57
|
super({
|
|
58
58
|
id: 'editor.action.triggerParameterHints',
|
|
59
|
-
label: ( localize(
|
|
59
|
+
label: ( localize(1562, "Trigger Parameter Hints")),
|
|
60
60
|
alias: 'Trigger Parameter Hints',
|
|
61
61
|
precondition: EditorContextKeys.hasSignatureHelpProvider,
|
|
62
62
|
kbOpts: {
|
package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js
CHANGED
|
@@ -6,4 +6,4 @@ import { registerColor } from '../../../../platform/theme/common/colorUtils.js';
|
|
|
6
6
|
import { PlaceholderTextContribution } from './placeholderTextContribution.js';
|
|
7
7
|
import { wrapInReloadableClass1 } from '../../../../platform/observable/common/wrapInReloadableClass.js';
|
|
8
8
|
registerEditorContribution(PlaceholderTextContribution.ID, wrapInReloadableClass1(() => PlaceholderTextContribution), 0 );
|
|
9
|
-
registerColor('editor.placeholder.foreground', ghostTextForeground, ( localize(
|
|
9
|
+
registerColor('editor.placeholder.foreground', ghostTextForeground, ( localize(1563, 'Foreground color of the placeholder text in the editor.')));
|