monaco-editor-core 0.55.0-dev-20251014 → 0.55.0-dev-20251016
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/esm/nls.keys.json +1 -1
- package/esm/nls.messages.cs.js +9 -0
- package/esm/nls.messages.de.js +2 -2
- package/esm/nls.messages.es.js +2 -2
- package/esm/nls.messages.fr.js +2 -2
- package/esm/nls.messages.it.js +2 -2
- package/esm/nls.messages.ja.js +2 -2
- package/esm/nls.messages.js +1 -1
- package/esm/nls.messages.json +1 -1
- package/esm/nls.messages.ko.js +2 -2
- package/esm/nls.messages.pl.js +9 -0
- package/esm/nls.messages.pt-br.js +9 -0
- package/esm/nls.messages.ru.js +2 -2
- package/esm/nls.messages.tr.js +9 -0
- package/esm/nls.messages.zh-cn.js +2 -2
- package/esm/nls.messages.zh-tw.js +2 -2
- package/esm/nls.metadata.json +10 -0
- package/esm/vs/base/browser/canIUse.js +0 -1
- package/esm/vs/base/browser/canIUse.js.map +1 -1
- package/esm/vs/base/browser/domSanitize.js +31 -23
- package/esm/vs/base/browser/domSanitize.js.map +1 -1
- package/esm/vs/base/browser/dompurify/dompurify.js +188 -385
- package/esm/vs/base/browser/markdownRenderer.js +6 -1
- package/esm/vs/base/browser/markdownRenderer.js.map +1 -1
- package/esm/vs/base/browser/trustedTypes.js.map +1 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/toggle/toggle.js +6 -0
- package/esm/vs/base/browser/ui/toggle/toggle.js.map +1 -1
- package/esm/vs/base/common/codiconsLibrary.js +1 -0
- package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
- package/esm/vs/base/common/objects.js +0 -1
- package/esm/vs/base/common/objects.js.map +1 -1
- package/esm/vs/editor/browser/controller/mouseTarget.js +2 -1
- package/esm/vs/editor/browser/controller/mouseTarget.js.map +1 -1
- package/esm/vs/editor/browser/coreCommands.js +4 -2
- package/esm/vs/editor/browser/coreCommands.js.map +1 -1
- package/esm/vs/editor/browser/services/abstractCodeEditorService.js +5 -0
- package/esm/vs/editor/browser/services/abstractCodeEditorService.js.map +1 -1
- package/esm/vs/editor/browser/services/codeEditorService.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +104 -0
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js.map +1 -0
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +3 -3
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +25 -24
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +7 -3
- package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/esm/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/diffEditor/style.css +11 -0
- package/esm/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/esm/vs/editor/common/config/editorConfigurationSchema.js +54 -54
- package/esm/vs/editor/common/config/editorOptions.js +406 -406
- package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
- package/esm/vs/editor/common/cursor/cursorMoveCommands.js +10 -1
- package/esm/vs/editor/common/cursor/cursorMoveCommands.js.map +1 -1
- package/esm/vs/editor/common/editorContextKeys.js +46 -46
- package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
- package/esm/vs/editor/common/languages.js +56 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +10 -10
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +13 -14
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js.map +1 -1
- package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
- package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js.map +1 -1
- package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +15 -10
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +47 -37
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js.map +1 -1
- package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/esm/vs/editor/contrib/links/browser/links.js +10 -10
- package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +56 -10
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js.map +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +2 -2
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js.map +1 -1
- package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/actions.js +0 -1
- package/esm/vs/platform/actions/common/actions.js.map +1 -1
- package/esm/vs/platform/actions/common/menuService.js +2 -2
- package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
- package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/quickinput/common/quickInput.js.map +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/package.json +3 -3
- package/version.txt +1 -1
|
@@ -34,7 +34,7 @@ import { Iterable } from '../../../../base/common/iterator.js';
|
|
|
34
34
|
import { IsWebContext } from '../../../../platform/contextkey/common/contextkeys.js';
|
|
35
35
|
MenuRegistry.appendMenuItem(MenuId.EditorContext, {
|
|
36
36
|
submenu: MenuId.EditorContextPeek,
|
|
37
|
-
title: nls.localize(
|
|
37
|
+
title: nls.localize(1034, "Peek"),
|
|
38
38
|
group: 'navigation',
|
|
39
39
|
order: 100
|
|
40
40
|
});
|
|
@@ -203,12 +203,12 @@ export class SymbolNavigationAction extends EditorAction2 {
|
|
|
203
203
|
//#region --- DEFINITION
|
|
204
204
|
export class DefinitionAction extends SymbolNavigationAction {
|
|
205
205
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
206
|
-
return new ReferencesModel(await getDefinitionsAtPosition(languageFeaturesService.definitionProvider, model, position, false, token), nls.localize(
|
|
206
|
+
return new ReferencesModel(await getDefinitionsAtPosition(languageFeaturesService.definitionProvider, model, position, false, token), nls.localize(1035, 'Definitions'));
|
|
207
207
|
}
|
|
208
208
|
_getNoResultFoundMessage(info) {
|
|
209
209
|
return info && info.word
|
|
210
|
-
? nls.localize(
|
|
211
|
-
: nls.localize(
|
|
210
|
+
? nls.localize(1036, "No definition found for '{0}'", info.word)
|
|
211
|
+
: nls.localize(1037, "No definition found");
|
|
212
212
|
}
|
|
213
213
|
_getAlternativeCommand(editor) {
|
|
214
214
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeDefinitionCommand;
|
|
@@ -227,8 +227,8 @@ registerAction2(class GoToDefinitionAction extends DefinitionAction {
|
|
|
227
227
|
}, {
|
|
228
228
|
id: GoToDefinitionAction.id,
|
|
229
229
|
title: {
|
|
230
|
-
...nls.localize2(
|
|
231
|
-
mnemonicTitle: nls.localize(
|
|
230
|
+
...nls.localize2(1061, "Go to Definition"),
|
|
231
|
+
mnemonicTitle: nls.localize(1038, "Go to &&Definition"),
|
|
232
232
|
},
|
|
233
233
|
precondition: EditorContextKeys.hasDefinitionProvider,
|
|
234
234
|
keybinding: [{
|
|
@@ -263,7 +263,7 @@ registerAction2(class OpenDefinitionToSideAction extends DefinitionAction {
|
|
|
263
263
|
muteMessage: false
|
|
264
264
|
}, {
|
|
265
265
|
id: OpenDefinitionToSideAction.id,
|
|
266
|
-
title: nls.localize2(
|
|
266
|
+
title: nls.localize2(1062, "Open Definition to the Side"),
|
|
267
267
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasDefinitionProvider, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
268
268
|
keybinding: [{
|
|
269
269
|
when: EditorContextKeys.editorTextFocus,
|
|
@@ -287,7 +287,7 @@ registerAction2(class PeekDefinitionAction extends DefinitionAction {
|
|
|
287
287
|
muteMessage: false
|
|
288
288
|
}, {
|
|
289
289
|
id: PeekDefinitionAction.id,
|
|
290
|
-
title: nls.localize2(
|
|
290
|
+
title: nls.localize2(1063, "Peek Definition"),
|
|
291
291
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasDefinitionProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
292
292
|
keybinding: {
|
|
293
293
|
when: EditorContextKeys.editorTextFocus,
|
|
@@ -308,12 +308,12 @@ registerAction2(class PeekDefinitionAction extends DefinitionAction {
|
|
|
308
308
|
//#region --- DECLARATION
|
|
309
309
|
class DeclarationAction extends SymbolNavigationAction {
|
|
310
310
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
311
|
-
return new ReferencesModel(await getDeclarationsAtPosition(languageFeaturesService.declarationProvider, model, position, false, token), nls.localize(
|
|
311
|
+
return new ReferencesModel(await getDeclarationsAtPosition(languageFeaturesService.declarationProvider, model, position, false, token), nls.localize(1039, 'Declarations'));
|
|
312
312
|
}
|
|
313
313
|
_getNoResultFoundMessage(info) {
|
|
314
314
|
return info && info.word
|
|
315
|
-
? nls.localize(
|
|
316
|
-
: nls.localize(
|
|
315
|
+
? nls.localize(1040, "No declaration found for '{0}'", info.word)
|
|
316
|
+
: nls.localize(1041, "No declaration found");
|
|
317
317
|
}
|
|
318
318
|
_getAlternativeCommand(editor) {
|
|
319
319
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeDeclarationCommand;
|
|
@@ -332,8 +332,8 @@ registerAction2(class GoToDeclarationAction extends DeclarationAction {
|
|
|
332
332
|
}, {
|
|
333
333
|
id: GoToDeclarationAction.id,
|
|
334
334
|
title: {
|
|
335
|
-
...nls.localize2(
|
|
336
|
-
mnemonicTitle: nls.localize(
|
|
335
|
+
...nls.localize2(1064, "Go to Declaration"),
|
|
336
|
+
mnemonicTitle: nls.localize(1042, "Go to &&Declaration"),
|
|
337
337
|
},
|
|
338
338
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasDeclarationProvider, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
339
339
|
menu: [{
|
|
@@ -350,8 +350,8 @@ registerAction2(class GoToDeclarationAction extends DeclarationAction {
|
|
|
350
350
|
}
|
|
351
351
|
_getNoResultFoundMessage(info) {
|
|
352
352
|
return info && info.word
|
|
353
|
-
? nls.localize(
|
|
354
|
-
: nls.localize(
|
|
353
|
+
? nls.localize(1043, "No declaration found for '{0}'", info.word)
|
|
354
|
+
: nls.localize(1044, "No declaration found");
|
|
355
355
|
}
|
|
356
356
|
});
|
|
357
357
|
registerAction2(class PeekDeclarationAction extends DeclarationAction {
|
|
@@ -362,7 +362,7 @@ registerAction2(class PeekDeclarationAction extends DeclarationAction {
|
|
|
362
362
|
muteMessage: false
|
|
363
363
|
}, {
|
|
364
364
|
id: 'editor.action.peekDeclaration',
|
|
365
|
-
title: nls.localize2(
|
|
365
|
+
title: nls.localize2(1065, "Peek Declaration"),
|
|
366
366
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasDeclarationProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
367
367
|
menu: {
|
|
368
368
|
id: MenuId.EditorContextPeek,
|
|
@@ -376,12 +376,12 @@ registerAction2(class PeekDeclarationAction extends DeclarationAction {
|
|
|
376
376
|
//#region --- TYPE DEFINITION
|
|
377
377
|
class TypeDefinitionAction extends SymbolNavigationAction {
|
|
378
378
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
379
|
-
return new ReferencesModel(await getTypeDefinitionsAtPosition(languageFeaturesService.typeDefinitionProvider, model, position, false, token), nls.localize(
|
|
379
|
+
return new ReferencesModel(await getTypeDefinitionsAtPosition(languageFeaturesService.typeDefinitionProvider, model, position, false, token), nls.localize(1045, 'Type Definitions'));
|
|
380
380
|
}
|
|
381
381
|
_getNoResultFoundMessage(info) {
|
|
382
382
|
return info && info.word
|
|
383
|
-
? nls.localize(
|
|
384
|
-
: nls.localize(
|
|
383
|
+
? nls.localize(1046, "No type definition found for '{0}'", info.word)
|
|
384
|
+
: nls.localize(1047, "No type definition found");
|
|
385
385
|
}
|
|
386
386
|
_getAlternativeCommand(editor) {
|
|
387
387
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeTypeDefinitionCommand;
|
|
@@ -400,8 +400,8 @@ registerAction2(class GoToTypeDefinitionAction extends TypeDefinitionAction {
|
|
|
400
400
|
}, {
|
|
401
401
|
id: GoToTypeDefinitionAction.ID,
|
|
402
402
|
title: {
|
|
403
|
-
...nls.localize2(
|
|
404
|
-
mnemonicTitle: nls.localize(
|
|
403
|
+
...nls.localize2(1066, "Go to Type Definition"),
|
|
404
|
+
mnemonicTitle: nls.localize(1048, "Go to &&Type Definition"),
|
|
405
405
|
},
|
|
406
406
|
precondition: EditorContextKeys.hasTypeDefinitionProvider,
|
|
407
407
|
keybinding: {
|
|
@@ -431,7 +431,7 @@ registerAction2(class PeekTypeDefinitionAction extends TypeDefinitionAction {
|
|
|
431
431
|
muteMessage: false
|
|
432
432
|
}, {
|
|
433
433
|
id: PeekTypeDefinitionAction.ID,
|
|
434
|
-
title: nls.localize2(
|
|
434
|
+
title: nls.localize2(1067, "Peek Type Definition"),
|
|
435
435
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasTypeDefinitionProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
436
436
|
menu: {
|
|
437
437
|
id: MenuId.EditorContextPeek,
|
|
@@ -445,12 +445,12 @@ registerAction2(class PeekTypeDefinitionAction extends TypeDefinitionAction {
|
|
|
445
445
|
//#region --- IMPLEMENTATION
|
|
446
446
|
class ImplementationAction extends SymbolNavigationAction {
|
|
447
447
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
448
|
-
return new ReferencesModel(await getImplementationsAtPosition(languageFeaturesService.implementationProvider, model, position, false, token), nls.localize(
|
|
448
|
+
return new ReferencesModel(await getImplementationsAtPosition(languageFeaturesService.implementationProvider, model, position, false, token), nls.localize(1049, 'Implementations'));
|
|
449
449
|
}
|
|
450
450
|
_getNoResultFoundMessage(info) {
|
|
451
451
|
return info && info.word
|
|
452
|
-
? nls.localize(
|
|
453
|
-
: nls.localize(
|
|
452
|
+
? nls.localize(1050, "No implementation found for '{0}'", info.word)
|
|
453
|
+
: nls.localize(1051, "No implementation found");
|
|
454
454
|
}
|
|
455
455
|
_getAlternativeCommand(editor) {
|
|
456
456
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeImplementationCommand;
|
|
@@ -469,8 +469,8 @@ registerAction2(class GoToImplementationAction extends ImplementationAction {
|
|
|
469
469
|
}, {
|
|
470
470
|
id: GoToImplementationAction.ID,
|
|
471
471
|
title: {
|
|
472
|
-
...nls.localize2(
|
|
473
|
-
mnemonicTitle: nls.localize(
|
|
472
|
+
...nls.localize2(1068, "Go to Implementations"),
|
|
473
|
+
mnemonicTitle: nls.localize(1052, "Go to &&Implementations"),
|
|
474
474
|
},
|
|
475
475
|
precondition: EditorContextKeys.hasImplementationProvider,
|
|
476
476
|
keybinding: {
|
|
@@ -500,7 +500,7 @@ registerAction2(class PeekImplementationAction extends ImplementationAction {
|
|
|
500
500
|
muteMessage: false
|
|
501
501
|
}, {
|
|
502
502
|
id: PeekImplementationAction.ID,
|
|
503
|
-
title: nls.localize2(
|
|
503
|
+
title: nls.localize2(1069, "Peek Implementations"),
|
|
504
504
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasImplementationProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
505
505
|
keybinding: {
|
|
506
506
|
when: EditorContextKeys.editorTextFocus,
|
|
@@ -520,8 +520,8 @@ registerAction2(class PeekImplementationAction extends ImplementationAction {
|
|
|
520
520
|
class ReferencesAction extends SymbolNavigationAction {
|
|
521
521
|
_getNoResultFoundMessage(info) {
|
|
522
522
|
return info
|
|
523
|
-
? nls.localize(
|
|
524
|
-
: nls.localize(
|
|
523
|
+
? nls.localize(1053, "No references found for '{0}'", info.word)
|
|
524
|
+
: nls.localize(1054, "No references found");
|
|
525
525
|
}
|
|
526
526
|
_getAlternativeCommand(editor) {
|
|
527
527
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeReferenceCommand;
|
|
@@ -539,8 +539,8 @@ registerAction2(class GoToReferencesAction extends ReferencesAction {
|
|
|
539
539
|
}, {
|
|
540
540
|
id: 'editor.action.goToReferences',
|
|
541
541
|
title: {
|
|
542
|
-
...nls.localize2(
|
|
543
|
-
mnemonicTitle: nls.localize(
|
|
542
|
+
...nls.localize2(1070, "Go to References"),
|
|
543
|
+
mnemonicTitle: nls.localize(1055, "Go to &&References"),
|
|
544
544
|
},
|
|
545
545
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasReferenceProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
546
546
|
keybinding: {
|
|
@@ -561,7 +561,7 @@ registerAction2(class GoToReferencesAction extends ReferencesAction {
|
|
|
561
561
|
});
|
|
562
562
|
}
|
|
563
563
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
564
|
-
return new ReferencesModel(await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, true, false, token), nls.localize(
|
|
564
|
+
return new ReferencesModel(await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, true, false, token), nls.localize(1056, 'References'));
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
registerAction2(class PeekReferencesAction extends ReferencesAction {
|
|
@@ -572,7 +572,7 @@ registerAction2(class PeekReferencesAction extends ReferencesAction {
|
|
|
572
572
|
muteMessage: false
|
|
573
573
|
}, {
|
|
574
574
|
id: 'editor.action.referenceSearch.trigger',
|
|
575
|
-
title: nls.localize2(
|
|
575
|
+
title: nls.localize2(1071, "Peek References"),
|
|
576
576
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasReferenceProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
577
577
|
menu: {
|
|
578
578
|
id: MenuId.EditorContextPeek,
|
|
@@ -582,7 +582,7 @@ registerAction2(class PeekReferencesAction extends ReferencesAction {
|
|
|
582
582
|
});
|
|
583
583
|
}
|
|
584
584
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
585
|
-
return new ReferencesModel(await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, false, false, token), nls.localize(
|
|
585
|
+
return new ReferencesModel(await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, false, false, token), nls.localize(1057, 'References'));
|
|
586
586
|
}
|
|
587
587
|
});
|
|
588
588
|
//#endregion
|
|
@@ -591,17 +591,17 @@ class GenericGoToLocationAction extends SymbolNavigationAction {
|
|
|
591
591
|
constructor(config, _references, _gotoMultipleBehaviour) {
|
|
592
592
|
super(config, {
|
|
593
593
|
id: 'editor.action.goToLocation',
|
|
594
|
-
title: nls.localize2(
|
|
594
|
+
title: nls.localize2(1072, "Go to Any Symbol"),
|
|
595
595
|
precondition: ContextKeyExpr.and(PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
596
596
|
});
|
|
597
597
|
this._references = _references;
|
|
598
598
|
this._gotoMultipleBehaviour = _gotoMultipleBehaviour;
|
|
599
599
|
}
|
|
600
600
|
async _getLocationModel(languageFeaturesService, _model, _position, _token) {
|
|
601
|
-
return new ReferencesModel(this._references, nls.localize(
|
|
601
|
+
return new ReferencesModel(this._references, nls.localize(1058, 'Locations'));
|
|
602
602
|
}
|
|
603
603
|
_getNoResultFoundMessage(info) {
|
|
604
|
-
return info && nls.localize(
|
|
604
|
+
return info && nls.localize(1059, "No results for '{0}'", info.word) || '';
|
|
605
605
|
}
|
|
606
606
|
_getGoToPreference(editor) {
|
|
607
607
|
return this._gotoMultipleBehaviour ?? editor.getOption(67 /* EditorOption.gotoLocation */).multipleReferences;
|
|
@@ -680,7 +680,7 @@ CommandsRegistry.registerCommand({
|
|
|
680
680
|
if (!controller) {
|
|
681
681
|
return undefined;
|
|
682
682
|
}
|
|
683
|
-
const references = createCancelablePromise(token => getReferencesAtPosition(languageFeaturesService.referenceProvider, control.getModel(), corePosition.Position.lift(position), false, false, token).then(references => new ReferencesModel(references, nls.localize(
|
|
683
|
+
const references = createCancelablePromise(token => getReferencesAtPosition(languageFeaturesService.referenceProvider, control.getModel(), corePosition.Position.lift(position), false, false, token).then(references => new ReferencesModel(references, nls.localize(1060, 'References'))));
|
|
684
684
|
const range = new Range(position.lineNumber, position.column, position.lineNumber, position.column);
|
|
685
685
|
return Promise.resolve(controller.toggleWidget(range, references, false));
|
|
686
686
|
});
|
|
@@ -150,7 +150,7 @@ let GotoDefinitionAtPositionEditorContribution = class GotoDefinitionAtPositionE
|
|
|
150
150
|
combinedRange = Range.plusRange(combinedRange, originSelectionRange);
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
this.addDecoration(combinedRange, new MarkdownString().appendText(nls.localize(
|
|
153
|
+
this.addDecoration(combinedRange, new MarkdownString().appendText(nls.localize(1073, "Click to show {0} definitions.", results.length)));
|
|
154
154
|
}
|
|
155
155
|
else {
|
|
156
156
|
// Single result
|
|
@@ -34,7 +34,7 @@ import { OneReference } from '../referencesModel.js';
|
|
|
34
34
|
import { LayoutData, ReferenceWidget } from './referencesWidget.js';
|
|
35
35
|
import { EditorContextKeys } from '../../../../common/editorContextKeys.js';
|
|
36
36
|
import { InputFocusedContext } from '../../../../../platform/contextkey/common/contextkeys.js';
|
|
37
|
-
export const ctxReferenceSearchVisible = new RawContextKey('referenceSearchVisible', false, nls.localize(
|
|
37
|
+
export const ctxReferenceSearchVisible = new RawContextKey('referenceSearchVisible', false, nls.localize(1074, "Whether reference peek is visible, like 'Peek References' or 'Peek Definition'"));
|
|
38
38
|
let ReferencesController = class ReferencesController {
|
|
39
39
|
static { ReferencesController_1 = this; }
|
|
40
40
|
static { this.ID = 'editor.contrib.referencesController'; }
|
|
@@ -84,7 +84,7 @@ let ReferencesController = class ReferencesController {
|
|
|
84
84
|
const storageKey = 'peekViewLayout';
|
|
85
85
|
const data = LayoutData.fromJSON(this._storageService.get(storageKey, 0 /* StorageScope.PROFILE */, '{}'));
|
|
86
86
|
this._widget = this._instantiationService.createInstance(ReferenceWidget, this._editor, this._defaultTreeKeyboardSupport, data);
|
|
87
|
-
this._widget.setTitle(nls.localize(
|
|
87
|
+
this._widget.setTitle(nls.localize(1075, "Loading..."));
|
|
88
88
|
this._widget.show(range);
|
|
89
89
|
this._disposables.add(this._widget.onDidClose(() => {
|
|
90
90
|
modelPromise.cancel();
|
|
@@ -140,7 +140,7 @@ let ReferencesController = class ReferencesController {
|
|
|
140
140
|
if (this._widget && this._model && this._editor.hasModel()) { // might have been closed
|
|
141
141
|
// set title
|
|
142
142
|
if (!this._model.isEmpty) {
|
|
143
|
-
this._widget.setMetaTitle(nls.localize(
|
|
143
|
+
this._widget.setMetaTitle(nls.localize(1076, "{0} ({1})", this._model.title, this._model.references.length));
|
|
144
144
|
}
|
|
145
145
|
else {
|
|
146
146
|
this._widget.setMetaTitle('');
|
|
@@ -115,10 +115,10 @@ let FileReferencesTemplate = class FileReferencesTemplate extends Disposable {
|
|
|
115
115
|
const len = element.children.length;
|
|
116
116
|
this.badge.setCount(len);
|
|
117
117
|
if (len > 1) {
|
|
118
|
-
this.badge.setTitleFormat(localize(
|
|
118
|
+
this.badge.setTitleFormat(localize(1077, "{0} references", len));
|
|
119
119
|
}
|
|
120
120
|
else {
|
|
121
|
-
this.badge.setTitleFormat(localize(
|
|
121
|
+
this.badge.setTitleFormat(localize(1078, "{0} reference", len));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
@@ -192,7 +192,7 @@ export class OneReferenceRenderer {
|
|
|
192
192
|
//#endregion
|
|
193
193
|
export class AccessibilityProvider {
|
|
194
194
|
getWidgetAriaLabel() {
|
|
195
|
-
return localize(
|
|
195
|
+
return localize(1079, "References");
|
|
196
196
|
}
|
|
197
197
|
getAriaLabel(element) {
|
|
198
198
|
return element.ariaMessage;
|
|
@@ -301,7 +301,7 @@ let ReferenceWidget = class ReferenceWidget extends peekView.PeekViewWidget {
|
|
|
301
301
|
};
|
|
302
302
|
this._preview = this._instantiationService.createInstance(EmbeddedCodeEditorWidget, this._previewContainer, options, {}, this.editor);
|
|
303
303
|
dom.hide(this._previewContainer);
|
|
304
|
-
this._previewNotAvailableMessage = this._instantiationService.createInstance(TextModel, nls.localize(
|
|
304
|
+
this._previewNotAvailableMessage = this._instantiationService.createInstance(TextModel, nls.localize(1080, "no preview available"), PLAINTEXT_LANGUAGE_ID, TextModel.DEFAULT_CREATION_OPTIONS, null);
|
|
305
305
|
// tree
|
|
306
306
|
this._treeContainer = dom.append(containerElement, dom.$('div.ref-tree.inline'));
|
|
307
307
|
const treeOptions = {
|
|
@@ -415,7 +415,7 @@ let ReferenceWidget = class ReferenceWidget extends peekView.PeekViewWidget {
|
|
|
415
415
|
}
|
|
416
416
|
if (this._model.isEmpty) {
|
|
417
417
|
this.setTitle('');
|
|
418
|
-
this._messageContainer.innerText = nls.localize(
|
|
418
|
+
this._messageContainer.innerText = nls.localize(1081, "No results");
|
|
419
419
|
dom.show(this._messageContainer);
|
|
420
420
|
return Promise.resolve(undefined);
|
|
421
421
|
}
|
|
@@ -476,7 +476,7 @@ let ReferenceWidget = class ReferenceWidget extends peekView.PeekViewWidget {
|
|
|
476
476
|
this.setTitle(basenameOrAuthority(reference.uri), this._uriLabel.getUriLabel(dirname(reference.uri)));
|
|
477
477
|
}
|
|
478
478
|
else {
|
|
479
|
-
this.setTitle(nls.localize(
|
|
479
|
+
this.setTitle(nls.localize(1082, "References"));
|
|
480
480
|
}
|
|
481
481
|
const promise = this._textModelResolverService.createModelReference(reference.uri);
|
|
482
482
|
if (this._tree.getInput() === reference.parent) {
|
|
@@ -32,10 +32,10 @@ export class OneReference {
|
|
|
32
32
|
get ariaMessage() {
|
|
33
33
|
const preview = this.parent.getPreview(this)?.preview(this.range);
|
|
34
34
|
if (!preview) {
|
|
35
|
-
return localize(
|
|
35
|
+
return localize(1083, "in {0} on line {1} at column {2}", basename(this.uri), this.range.startLineNumber, this.range.startColumn);
|
|
36
36
|
}
|
|
37
37
|
else {
|
|
38
|
-
return localize(
|
|
38
|
+
return localize(1084, "{0} in {1} on line {2} at column {3}", preview.value, basename(this.uri), this.range.startLineNumber, this.range.startColumn);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -81,10 +81,10 @@ export class FileReferences {
|
|
|
81
81
|
get ariaMessage() {
|
|
82
82
|
const len = this.children.length;
|
|
83
83
|
if (len === 1) {
|
|
84
|
-
return localize(
|
|
84
|
+
return localize(1085, "1 symbol in {0}, full path {1}", basename(this.uri), this.uri.fsPath);
|
|
85
85
|
}
|
|
86
86
|
else {
|
|
87
|
-
return localize(
|
|
87
|
+
return localize(1086, "{0} symbols in {1}, full path {2}", len, basename(this.uri), this.uri.fsPath);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
async resolve(textModelResolverService) {
|
|
@@ -148,16 +148,16 @@ export class ReferencesModel {
|
|
|
148
148
|
}
|
|
149
149
|
get ariaMessage() {
|
|
150
150
|
if (this.isEmpty) {
|
|
151
|
-
return localize(
|
|
151
|
+
return localize(1087, "No results found");
|
|
152
152
|
}
|
|
153
153
|
else if (this.references.length === 1) {
|
|
154
|
-
return localize(
|
|
154
|
+
return localize(1088, "Found 1 symbol in {0}", this.references[0].uri.fsPath);
|
|
155
155
|
}
|
|
156
156
|
else if (this.groups.length === 1) {
|
|
157
|
-
return localize(
|
|
157
|
+
return localize(1089, "Found {0} symbols in {1}", this.references.length, this.groups[0].uri.fsPath);
|
|
158
158
|
}
|
|
159
159
|
else {
|
|
160
|
-
return localize(
|
|
160
|
+
return localize(1090, "Found {0} symbols in {1} files", this.references.length, this.groups.length);
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
nextOrPreviousReference(reference, next) {
|
|
@@ -24,7 +24,7 @@ import { createDecorator } from '../../../../platform/instantiation/common/insta
|
|
|
24
24
|
import { IKeybindingService } from '../../../../platform/keybinding/common/keybinding.js';
|
|
25
25
|
import { KeybindingsRegistry } from '../../../../platform/keybinding/common/keybindingsRegistry.js';
|
|
26
26
|
import { INotificationService } from '../../../../platform/notification/common/notification.js';
|
|
27
|
-
export const ctxHasSymbols = new RawContextKey('hasSymbols', false, localize(
|
|
27
|
+
export const ctxHasSymbols = new RawContextKey('hasSymbols', false, localize(1091, "Whether there are symbol locations that can be navigated via keyboard-only."));
|
|
28
28
|
export const ISymbolNavigationService = createDecorator('ISymbolNavigationService');
|
|
29
29
|
let SymbolNavigationService = class SymbolNavigationService {
|
|
30
30
|
constructor(contextKeyService, _editorService, _notificationService, _keybindingService) {
|
|
@@ -110,8 +110,8 @@ let SymbolNavigationService = class SymbolNavigationService {
|
|
|
110
110
|
this._currentMessage?.close();
|
|
111
111
|
const kb = this._keybindingService.lookupKeybinding('editor.gotoNextSymbolFromResult');
|
|
112
112
|
const message = kb
|
|
113
|
-
? localize(
|
|
114
|
-
: localize(
|
|
113
|
+
? localize(1092, "Symbol {0} of {1}, {2} for next", this._currentIdx + 1, this._currentModel.references.length, kb.getLabel())
|
|
114
|
+
: localize(1093, "Symbol {0} of {1}", this._currentIdx + 1, this._currentModel.references.length);
|
|
115
115
|
this._currentMessage = this._notificationService.status(message);
|
|
116
116
|
}
|
|
117
117
|
};
|
|
@@ -21,7 +21,7 @@ class DebugEditorGpuRendererAction extends EditorAction {
|
|
|
21
21
|
constructor() {
|
|
22
22
|
super({
|
|
23
23
|
id: 'editor.action.debugEditorGpuRenderer',
|
|
24
|
-
label: localize2(
|
|
24
|
+
label: localize2(1097, "Developer: Debug Editor GPU Renderer"),
|
|
25
25
|
// TODO: Why doesn't `ContextKeyExpr.equals('config:editor.experimentalGpuAcceleration', 'on')` work?
|
|
26
26
|
precondition: ContextKeyExpr.true(),
|
|
27
27
|
});
|
|
@@ -31,15 +31,15 @@ class DebugEditorGpuRendererAction extends EditorAction {
|
|
|
31
31
|
const quickInputService = accessor.get(IQuickInputService);
|
|
32
32
|
const choice = await quickInputService.pick([
|
|
33
33
|
{
|
|
34
|
-
label: localize(
|
|
34
|
+
label: localize(1094, "Log Texture Atlas Stats"),
|
|
35
35
|
id: 'logTextureAtlasStats',
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
label: localize(
|
|
38
|
+
label: localize(1095, "Save Texture Atlas"),
|
|
39
39
|
id: 'saveTextureAtlas',
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
-
label: localize(
|
|
42
|
+
label: localize(1096, "Draw Glyph"),
|
|
43
43
|
id: 'drawGlyph',
|
|
44
44
|
},
|
|
45
45
|
], { canPickMany: false });
|
|
@@ -15,7 +15,7 @@ export const PAGE_DOWN_HOVER_ACTION_ID = 'editor.action.pageDownHover';
|
|
|
15
15
|
export const GO_TO_TOP_HOVER_ACTION_ID = 'editor.action.goToTopHover';
|
|
16
16
|
export const GO_TO_BOTTOM_HOVER_ACTION_ID = 'editor.action.goToBottomHover';
|
|
17
17
|
export const INCREASE_HOVER_VERBOSITY_ACTION_ID = 'editor.action.increaseHoverVerbosityLevel';
|
|
18
|
-
export const INCREASE_HOVER_VERBOSITY_ACTION_LABEL = nls.localize(
|
|
18
|
+
export const INCREASE_HOVER_VERBOSITY_ACTION_LABEL = nls.localize(1098, "Increase Hover Verbosity Level");
|
|
19
19
|
export const DECREASE_HOVER_VERBOSITY_ACTION_ID = 'editor.action.decreaseHoverVerbosityLevel';
|
|
20
|
-
export const DECREASE_HOVER_VERBOSITY_ACTION_LABEL = nls.localize(
|
|
20
|
+
export const DECREASE_HOVER_VERBOSITY_ACTION_LABEL = nls.localize(1099, "Decrease Hover Verbosity Level");
|
|
21
21
|
//# sourceMappingURL=hoverActionIds.js.map
|
|
@@ -22,7 +22,7 @@ export class ShowOrFocusHoverAction extends EditorAction {
|
|
|
22
22
|
constructor() {
|
|
23
23
|
super({
|
|
24
24
|
id: SHOW_OR_FOCUS_HOVER_ACTION_ID,
|
|
25
|
-
label: nls.localize2(
|
|
25
|
+
label: nls.localize2(1103, "Show or Focus Hover"),
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
@@ -31,7 +31,7 @@ export class ShowOrFocusHoverAction extends EditorAction {
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
metadata: {
|
|
34
|
-
description: nls.localize2(
|
|
34
|
+
description: nls.localize2(1104, 'Show or focus the editor hover which shows documentation, references, and other content for a symbol at the current cursor position.'),
|
|
35
35
|
args: [{
|
|
36
36
|
name: 'args',
|
|
37
37
|
schema: {
|
|
@@ -41,9 +41,9 @@ export class ShowOrFocusHoverAction extends EditorAction {
|
|
|
41
41
|
description: 'Controls if and when the hover should take focus upon being triggered by this action.',
|
|
42
42
|
enum: [HoverFocusBehavior.NoAutoFocus, HoverFocusBehavior.FocusIfVisible, HoverFocusBehavior.AutoFocusImmediately],
|
|
43
43
|
enumDescriptions: [
|
|
44
|
-
nls.localize(
|
|
45
|
-
nls.localize(
|
|
46
|
-
nls.localize(
|
|
44
|
+
nls.localize(1100, 'The hover will not automatically take focus.'),
|
|
45
|
+
nls.localize(1101, 'The hover will take focus only if it is already visible.'),
|
|
46
|
+
nls.localize(1102, 'The hover will automatically take focus when it appears.'),
|
|
47
47
|
],
|
|
48
48
|
default: HoverFocusBehavior.FocusIfVisible,
|
|
49
49
|
}
|
|
@@ -98,7 +98,7 @@ export class ShowDefinitionPreviewHoverAction extends EditorAction {
|
|
|
98
98
|
constructor() {
|
|
99
99
|
super({
|
|
100
100
|
id: SHOW_DEFINITION_PREVIEW_HOVER_ACTION_ID,
|
|
101
|
-
label: nls.localize2(
|
|
101
|
+
label: nls.localize2(1105, "Show Definition Preview Hover"),
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
@@ -107,7 +107,7 @@ export class ShowDefinitionPreviewHoverAction extends EditorAction {
|
|
|
107
107
|
|
|
108
108
|
precondition: undefined,
|
|
109
109
|
metadata: {
|
|
110
|
-
description: nls.localize2(
|
|
110
|
+
description: nls.localize2(1106, 'Show the definition preview hover in the editor.'),
|
|
111
111
|
},
|
|
112
112
|
});
|
|
113
113
|
}
|
|
@@ -135,7 +135,7 @@ export class HideContentHoverAction extends EditorAction {
|
|
|
135
135
|
constructor() {
|
|
136
136
|
super({
|
|
137
137
|
id: HIDE_HOVER_ACTION_ID,
|
|
138
|
-
label: nls.localize2(
|
|
138
|
+
label: nls.localize2(1107, "Hide Hover"),
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
|
|
@@ -151,7 +151,7 @@ export class ScrollUpHoverAction extends EditorAction {
|
|
|
151
151
|
constructor() {
|
|
152
152
|
super({
|
|
153
153
|
id: SCROLL_UP_HOVER_ACTION_ID,
|
|
154
|
-
label: nls.localize2(
|
|
154
|
+
label: nls.localize2(1108, "Scroll Up Hover"),
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
|
|
@@ -164,7 +164,7 @@ export class ScrollUpHoverAction extends EditorAction {
|
|
|
164
164
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
165
165
|
},
|
|
166
166
|
metadata: {
|
|
167
|
-
description: nls.localize2(
|
|
167
|
+
description: nls.localize2(1109, 'Scroll up the editor hover.')
|
|
168
168
|
},
|
|
169
169
|
});
|
|
170
170
|
}
|
|
@@ -180,7 +180,7 @@ export class ScrollDownHoverAction extends EditorAction {
|
|
|
180
180
|
constructor() {
|
|
181
181
|
super({
|
|
182
182
|
id: SCROLL_DOWN_HOVER_ACTION_ID,
|
|
183
|
-
label: nls.localize2(
|
|
183
|
+
label: nls.localize2(1110, "Scroll Down Hover"),
|
|
184
184
|
|
|
185
185
|
|
|
186
186
|
|
|
@@ -193,7 +193,7 @@ export class ScrollDownHoverAction extends EditorAction {
|
|
|
193
193
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
194
194
|
},
|
|
195
195
|
metadata: {
|
|
196
|
-
description: nls.localize2(
|
|
196
|
+
description: nls.localize2(1111, 'Scroll down the editor hover.'),
|
|
197
197
|
},
|
|
198
198
|
});
|
|
199
199
|
}
|
|
@@ -209,7 +209,7 @@ export class ScrollLeftHoverAction extends EditorAction {
|
|
|
209
209
|
constructor() {
|
|
210
210
|
super({
|
|
211
211
|
id: SCROLL_LEFT_HOVER_ACTION_ID,
|
|
212
|
-
label: nls.localize2(
|
|
212
|
+
label: nls.localize2(1112, "Scroll Left Hover"),
|
|
213
213
|
|
|
214
214
|
|
|
215
215
|
|
|
@@ -222,7 +222,7 @@ export class ScrollLeftHoverAction extends EditorAction {
|
|
|
222
222
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
223
223
|
},
|
|
224
224
|
metadata: {
|
|
225
|
-
description: nls.localize2(
|
|
225
|
+
description: nls.localize2(1113, 'Scroll left the editor hover.'),
|
|
226
226
|
},
|
|
227
227
|
});
|
|
228
228
|
}
|
|
@@ -238,7 +238,7 @@ export class ScrollRightHoverAction extends EditorAction {
|
|
|
238
238
|
constructor() {
|
|
239
239
|
super({
|
|
240
240
|
id: SCROLL_RIGHT_HOVER_ACTION_ID,
|
|
241
|
-
label: nls.localize2(
|
|
241
|
+
label: nls.localize2(1114, "Scroll Right Hover"),
|
|
242
242
|
|
|
243
243
|
|
|
244
244
|
|
|
@@ -251,7 +251,7 @@ export class ScrollRightHoverAction extends EditorAction {
|
|
|
251
251
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
252
252
|
},
|
|
253
253
|
metadata: {
|
|
254
|
-
description: nls.localize2(
|
|
254
|
+
description: nls.localize2(1115, 'Scroll right the editor hover.')
|
|
255
255
|
},
|
|
256
256
|
});
|
|
257
257
|
}
|
|
@@ -267,7 +267,7 @@ export class PageUpHoverAction extends EditorAction {
|
|
|
267
267
|
constructor() {
|
|
268
268
|
super({
|
|
269
269
|
id: PAGE_UP_HOVER_ACTION_ID,
|
|
270
|
-
label: nls.localize2(
|
|
270
|
+
label: nls.localize2(1116, "Page Up Hover"),
|
|
271
271
|
|
|
272
272
|
|
|
273
273
|
|
|
@@ -281,7 +281,7 @@ export class PageUpHoverAction extends EditorAction {
|
|
|
281
281
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
282
282
|
},
|
|
283
283
|
metadata: {
|
|
284
|
-
description: nls.localize2(
|
|
284
|
+
description: nls.localize2(1117, 'Page up the editor hover.'),
|
|
285
285
|
},
|
|
286
286
|
});
|
|
287
287
|
}
|
|
@@ -297,7 +297,7 @@ export class PageDownHoverAction extends EditorAction {
|
|
|
297
297
|
constructor() {
|
|
298
298
|
super({
|
|
299
299
|
id: PAGE_DOWN_HOVER_ACTION_ID,
|
|
300
|
-
label: nls.localize2(
|
|
300
|
+
label: nls.localize2(1118, "Page Down Hover"),
|
|
301
301
|
|
|
302
302
|
|
|
303
303
|
|
|
@@ -311,7 +311,7 @@ export class PageDownHoverAction extends EditorAction {
|
|
|
311
311
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
312
312
|
},
|
|
313
313
|
metadata: {
|
|
314
|
-
description: nls.localize2(
|
|
314
|
+
description: nls.localize2(1119, 'Page down the editor hover.'),
|
|
315
315
|
},
|
|
316
316
|
});
|
|
317
317
|
}
|
|
@@ -327,7 +327,7 @@ export class GoToTopHoverAction extends EditorAction {
|
|
|
327
327
|
constructor() {
|
|
328
328
|
super({
|
|
329
329
|
id: GO_TO_TOP_HOVER_ACTION_ID,
|
|
330
|
-
label: nls.localize2(
|
|
330
|
+
label: nls.localize2(1120, "Go To Top Hover"),
|
|
331
331
|
|
|
332
332
|
|
|
333
333
|
|
|
@@ -341,7 +341,7 @@ export class GoToTopHoverAction extends EditorAction {
|
|
|
341
341
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
342
342
|
},
|
|
343
343
|
metadata: {
|
|
344
|
-
description: nls.localize2(
|
|
344
|
+
description: nls.localize2(1121, 'Go to the top of the editor hover.'),
|
|
345
345
|
},
|
|
346
346
|
});
|
|
347
347
|
}
|
|
@@ -357,7 +357,7 @@ export class GoToBottomHoverAction extends EditorAction {
|
|
|
357
357
|
constructor() {
|
|
358
358
|
super({
|
|
359
359
|
id: GO_TO_BOTTOM_HOVER_ACTION_ID,
|
|
360
|
-
label: nls.localize2(
|
|
360
|
+
label: nls.localize2(1122, "Go To Bottom Hover"),
|
|
361
361
|
|
|
362
362
|
|
|
363
363
|
|
|
@@ -371,7 +371,7 @@ export class GoToBottomHoverAction extends EditorAction {
|
|
|
371
371
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
372
372
|
},
|
|
373
373
|
metadata: {
|
|
374
|
-
description: nls.localize2(
|
|
374
|
+
description: nls.localize2(1123, 'Go to the bottom of the editor hover.')
|
|
375
375
|
},
|
|
376
376
|
});
|
|
377
377
|
}
|