@codingame/monaco-vscode-api 10.1.3 → 10.1.4
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/package.json +8 -8
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- 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/tree/abstractTree.js +9 -9
- 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/coreCommands.js +3 -3
- 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/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- 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/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +28 -28
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- 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/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +14 -14
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- 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/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +16 -16
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +3 -3
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- 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/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- 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/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/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/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- 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/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/window.js +16 -16
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/activity/common/activity.js +4 -4
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
|
@@ -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(5151, "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(5152, "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(5153, "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(5152, "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(5154, "Quick Fix...")),
|
|
210
210
|
commandId: quickFixCommandId,
|
|
211
211
|
run: (target) => {
|
|
212
212
|
showing = true;
|
|
@@ -94,7 +94,7 @@ class InPlaceReplaceUp extends EditorAction {
|
|
|
94
94
|
constructor() {
|
|
95
95
|
super({
|
|
96
96
|
id: 'editor.action.inPlaceReplace.up',
|
|
97
|
-
label: ( localize(
|
|
97
|
+
label: ( localize(1326, "Replace with Previous Value")),
|
|
98
98
|
alias: 'Replace with Previous Value',
|
|
99
99
|
precondition: EditorContextKeys.writable,
|
|
100
100
|
kbOpts: {
|
|
@@ -116,7 +116,7 @@ class InPlaceReplaceDown extends EditorAction {
|
|
|
116
116
|
constructor() {
|
|
117
117
|
super({
|
|
118
118
|
id: 'editor.action.inPlaceReplace.down',
|
|
119
|
-
label: ( localize(
|
|
119
|
+
label: ( localize(1327, "Replace with Next Value")),
|
|
120
120
|
alias: 'Replace with Next Value',
|
|
121
121
|
precondition: EditorContextKeys.writable,
|
|
122
122
|
kbOpts: {
|
|
@@ -18,11 +18,11 @@ class IndentationToSpacesAction extends EditorAction {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super({
|
|
20
20
|
id: IndentationToSpacesAction.ID,
|
|
21
|
-
label: ( localize(
|
|
21
|
+
label: ( localize(1306, "Convert Indentation to Spaces")),
|
|
22
22
|
alias: 'Convert Indentation to Spaces',
|
|
23
23
|
precondition: EditorContextKeys.writable,
|
|
24
24
|
metadata: {
|
|
25
|
-
description: ( localize2(
|
|
25
|
+
description: ( localize2(1307, "Convert the tab indentation to spaces.")),
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
}
|
|
@@ -50,11 +50,11 @@ class IndentationToTabsAction extends EditorAction {
|
|
|
50
50
|
constructor() {
|
|
51
51
|
super({
|
|
52
52
|
id: IndentationToTabsAction.ID,
|
|
53
|
-
label: ( localize(
|
|
53
|
+
label: ( localize(1308, "Convert Indentation to Tabs")),
|
|
54
54
|
alias: 'Convert Indentation to Tabs',
|
|
55
55
|
precondition: EditorContextKeys.writable,
|
|
56
56
|
metadata: {
|
|
57
|
-
description: ( localize2(
|
|
57
|
+
description: ( localize2(1309, "Convert the spaces indentation to tabs.")),
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
}
|
|
@@ -96,16 +96,16 @@ class ChangeIndentationSizeAction extends EditorAction {
|
|
|
96
96
|
id: ( (n.toString())),
|
|
97
97
|
label: ( (n.toString())),
|
|
98
98
|
description: (n === creationOpts.tabSize && n === modelOpts.tabSize
|
|
99
|
-
? ( localize(
|
|
99
|
+
? ( localize(1310, "Configured Tab Size"))
|
|
100
100
|
: n === creationOpts.tabSize
|
|
101
|
-
? ( localize(
|
|
101
|
+
? ( localize(1311, "Default Tab Size"))
|
|
102
102
|
: n === modelOpts.tabSize
|
|
103
|
-
? ( localize(
|
|
103
|
+
? ( localize(1312, "Current Tab Size"))
|
|
104
104
|
: undefined)
|
|
105
105
|
}))));
|
|
106
106
|
const autoFocusIndex = Math.min(model.getOptions().tabSize - 1, 7);
|
|
107
107
|
setTimeout(() => {
|
|
108
|
-
quickInputService.pick(picks, { placeHolder: ( localize(
|
|
108
|
+
quickInputService.pick(picks, { placeHolder: ( localize(1313, "Select Tab Size for Current File")), activeItem: picks[autoFocusIndex] }).then(pick => {
|
|
109
109
|
if (pick) {
|
|
110
110
|
if (model && !model.isDisposed()) {
|
|
111
111
|
const pickedVal = parseInt(pick.label, 10);
|
|
@@ -132,11 +132,11 @@ class IndentUsingTabs extends ChangeIndentationSizeAction {
|
|
|
132
132
|
constructor() {
|
|
133
133
|
super(false, false, {
|
|
134
134
|
id: IndentUsingTabs.ID,
|
|
135
|
-
label: ( localize(
|
|
135
|
+
label: ( localize(1314, "Indent Using Tabs")),
|
|
136
136
|
alias: 'Indent Using Tabs',
|
|
137
137
|
precondition: undefined,
|
|
138
138
|
metadata: {
|
|
139
|
-
description: ( localize2(
|
|
139
|
+
description: ( localize2(1315, "Use indentation with tabs.")),
|
|
140
140
|
}
|
|
141
141
|
});
|
|
142
142
|
}
|
|
@@ -146,11 +146,11 @@ class IndentUsingSpaces extends ChangeIndentationSizeAction {
|
|
|
146
146
|
constructor() {
|
|
147
147
|
super(true, false, {
|
|
148
148
|
id: IndentUsingSpaces.ID,
|
|
149
|
-
label: ( localize(
|
|
149
|
+
label: ( localize(1316, "Indent Using Spaces")),
|
|
150
150
|
alias: 'Indent Using Spaces',
|
|
151
151
|
precondition: undefined,
|
|
152
152
|
metadata: {
|
|
153
|
-
description: ( localize2(
|
|
153
|
+
description: ( localize2(1317, "Use indentation with spaces.")),
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
156
|
}
|
|
@@ -160,11 +160,11 @@ class ChangeTabDisplaySize extends ChangeIndentationSizeAction {
|
|
|
160
160
|
constructor() {
|
|
161
161
|
super(true, true, {
|
|
162
162
|
id: ChangeTabDisplaySize.ID,
|
|
163
|
-
label: ( localize(
|
|
163
|
+
label: ( localize(1318, "Change Tab Display Size")),
|
|
164
164
|
alias: 'Change Tab Display Size',
|
|
165
165
|
precondition: undefined,
|
|
166
166
|
metadata: {
|
|
167
|
-
description: ( localize2(
|
|
167
|
+
description: ( localize2(1319, "Change the space size equivalent of the tab.")),
|
|
168
168
|
}
|
|
169
169
|
});
|
|
170
170
|
}
|
|
@@ -174,11 +174,11 @@ class DetectIndentation extends EditorAction {
|
|
|
174
174
|
constructor() {
|
|
175
175
|
super({
|
|
176
176
|
id: DetectIndentation.ID,
|
|
177
|
-
label: ( localize(
|
|
177
|
+
label: ( localize(1320, "Detect Indentation from Content")),
|
|
178
178
|
alias: 'Detect Indentation from Content',
|
|
179
179
|
precondition: undefined,
|
|
180
180
|
metadata: {
|
|
181
|
-
description: ( localize2(
|
|
181
|
+
description: ( localize2(1321, "Detect the indentation from content.")),
|
|
182
182
|
}
|
|
183
183
|
});
|
|
184
184
|
}
|
|
@@ -196,11 +196,11 @@ class ReindentLinesAction extends EditorAction {
|
|
|
196
196
|
constructor() {
|
|
197
197
|
super({
|
|
198
198
|
id: 'editor.action.reindentlines',
|
|
199
|
-
label: ( localize(
|
|
199
|
+
label: ( localize(1322, "Reindent Lines")),
|
|
200
200
|
alias: 'Reindent Lines',
|
|
201
201
|
precondition: EditorContextKeys.writable,
|
|
202
202
|
metadata: {
|
|
203
|
-
description: ( localize2(
|
|
203
|
+
description: ( localize2(1323, "Reindent the lines of the editor.")),
|
|
204
204
|
}
|
|
205
205
|
});
|
|
206
206
|
}
|
|
@@ -222,11 +222,11 @@ class ReindentSelectedLinesAction extends EditorAction {
|
|
|
222
222
|
constructor() {
|
|
223
223
|
super({
|
|
224
224
|
id: 'editor.action.reindentselectedlines',
|
|
225
|
-
label: ( localize(
|
|
225
|
+
label: ( localize(1324, "Reindent Selected Lines")),
|
|
226
226
|
alias: 'Reindent Selected Lines',
|
|
227
227
|
precondition: EditorContextKeys.writable,
|
|
228
228
|
metadata: {
|
|
229
|
-
description: ( localize2(
|
|
229
|
+
description: ( localize2(1325, "Reindent the selected lines of the editor.")),
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
}
|
|
@@ -75,7 +75,7 @@ let InlayHintsHover = class InlayHintsHover extends MarkdownHoverParticipant {
|
|
|
75
75
|
executor.emitOne(( (new MarkdownHover(
|
|
76
76
|
this,
|
|
77
77
|
anchor.range,
|
|
78
|
-
[( (new MarkdownString())).appendText(( localize(
|
|
78
|
+
[( (new MarkdownString())).appendText(( localize(5157, "Double-click to insert")))],
|
|
79
79
|
false,
|
|
80
80
|
10001
|
|
81
81
|
))));
|
|
@@ -95,19 +95,19 @@ let InlayHintsHover = class InlayHintsHover extends MarkdownHoverParticipant {
|
|
|
95
95
|
const useMetaKey = this._editor.getOption(80 ) === 'altKey';
|
|
96
96
|
const kb = useMetaKey
|
|
97
97
|
? isMacintosh
|
|
98
|
-
? ( localize(
|
|
99
|
-
: ( localize(
|
|
98
|
+
? ( localize(5158, "cmd + click"))
|
|
99
|
+
: ( localize(5159, "ctrl + click"))
|
|
100
100
|
: isMacintosh
|
|
101
|
-
? ( localize(
|
|
102
|
-
: ( localize(
|
|
101
|
+
? ( localize(5160, "option + click"))
|
|
102
|
+
: ( localize(5161, "alt + click"));
|
|
103
103
|
if (part.part.location && part.part.command) {
|
|
104
|
-
linkHint = ( (new MarkdownString())).appendText(( localize(
|
|
104
|
+
linkHint = ( (new MarkdownString())).appendText(( localize(5162, 'Go to Definition ({0}), right click for more', kb)));
|
|
105
105
|
}
|
|
106
106
|
else if (part.part.location) {
|
|
107
|
-
linkHint = ( (new MarkdownString())).appendText(( localize(
|
|
107
|
+
linkHint = ( (new MarkdownString())).appendText(( localize(5163, 'Go to Definition ({0})', kb)));
|
|
108
108
|
}
|
|
109
109
|
else if (part.part.command) {
|
|
110
|
-
linkHint = ( (new MarkdownString(`[${( localize(
|
|
110
|
+
linkHint = ( (new MarkdownString(`[${( localize(5164, "Execute Command"))}](${asCommandLink(part.part.command)} "${part.part.command.title}") (${kb})`, { isTrusted: true })));
|
|
111
111
|
}
|
|
112
112
|
if (linkHint) {
|
|
113
113
|
executor.emitOne(( (new MarkdownHover(this, anchor.range, [linkHint], false, 10000))));
|
|
@@ -21,7 +21,7 @@ class ShowNextInlineSuggestionAction extends EditorAction {
|
|
|
21
21
|
constructor() {
|
|
22
22
|
super({
|
|
23
23
|
id: ShowNextInlineSuggestionAction.ID,
|
|
24
|
-
label: ( localize(
|
|
24
|
+
label: ( localize(5050, "Show Next Inline Suggestion")),
|
|
25
25
|
alias: 'Show Next Inline Suggestion',
|
|
26
26
|
precondition: ( (ContextKeyExpr.and(
|
|
27
27
|
EditorContextKeys.writable,
|
|
@@ -43,7 +43,7 @@ class ShowPreviousInlineSuggestionAction extends EditorAction {
|
|
|
43
43
|
constructor() {
|
|
44
44
|
super({
|
|
45
45
|
id: ShowPreviousInlineSuggestionAction.ID,
|
|
46
|
-
label: ( localize(
|
|
46
|
+
label: ( localize(5051, "Show Previous Inline Suggestion")),
|
|
47
47
|
alias: 'Show Previous Inline Suggestion',
|
|
48
48
|
precondition: ( (ContextKeyExpr.and(
|
|
49
49
|
EditorContextKeys.writable,
|
|
@@ -64,7 +64,7 @@ class TriggerInlineSuggestionAction extends EditorAction {
|
|
|
64
64
|
constructor() {
|
|
65
65
|
super({
|
|
66
66
|
id: 'editor.action.inlineSuggest.trigger',
|
|
67
|
-
label: ( localize(
|
|
67
|
+
label: ( localize(5052, "Trigger Inline Suggestion")),
|
|
68
68
|
alias: 'Trigger Inline Suggestion',
|
|
69
69
|
precondition: EditorContextKeys.writable
|
|
70
70
|
});
|
|
@@ -81,7 +81,7 @@ class AcceptNextWordOfInlineCompletion extends EditorAction {
|
|
|
81
81
|
constructor() {
|
|
82
82
|
super({
|
|
83
83
|
id: 'editor.action.inlineSuggest.acceptNextWord',
|
|
84
|
-
label: ( localize(
|
|
84
|
+
label: ( localize(5053, "Accept Next Word Of Inline Suggestion")),
|
|
85
85
|
alias: 'Accept Next Word Of Inline Suggestion',
|
|
86
86
|
precondition: ( (ContextKeyExpr.and(
|
|
87
87
|
EditorContextKeys.writable,
|
|
@@ -97,7 +97,7 @@ class AcceptNextWordOfInlineCompletion extends EditorAction {
|
|
|
97
97
|
},
|
|
98
98
|
menuOpts: [{
|
|
99
99
|
menuId: MenuId.InlineSuggestionToolbar,
|
|
100
|
-
title: ( localize(
|
|
100
|
+
title: ( localize(5054, 'Accept Word')),
|
|
101
101
|
group: 'primary',
|
|
102
102
|
order: 2,
|
|
103
103
|
}],
|
|
@@ -112,7 +112,7 @@ class AcceptNextLineOfInlineCompletion extends EditorAction {
|
|
|
112
112
|
constructor() {
|
|
113
113
|
super({
|
|
114
114
|
id: 'editor.action.inlineSuggest.acceptNextLine',
|
|
115
|
-
label: ( localize(
|
|
115
|
+
label: ( localize(5055, "Accept Next Line Of Inline Suggestion")),
|
|
116
116
|
alias: 'Accept Next Line Of Inline Suggestion',
|
|
117
117
|
precondition: ( (ContextKeyExpr.and(
|
|
118
118
|
EditorContextKeys.writable,
|
|
@@ -123,7 +123,7 @@ class AcceptNextLineOfInlineCompletion extends EditorAction {
|
|
|
123
123
|
},
|
|
124
124
|
menuOpts: [{
|
|
125
125
|
menuId: MenuId.InlineSuggestionToolbar,
|
|
126
|
-
title: ( localize(
|
|
126
|
+
title: ( localize(5056, 'Accept Line')),
|
|
127
127
|
group: 'secondary',
|
|
128
128
|
order: 2,
|
|
129
129
|
}],
|
|
@@ -138,7 +138,7 @@ class AcceptInlineCompletion extends EditorAction {
|
|
|
138
138
|
constructor() {
|
|
139
139
|
super({
|
|
140
140
|
id: inlineSuggestCommitId,
|
|
141
|
-
label: ( localize(
|
|
141
|
+
label: ( localize(5057, "Accept Inline Suggestion")),
|
|
142
142
|
alias: 'Accept Inline Suggestion',
|
|
143
143
|
precondition: ( (ContextKeyExpr.or(
|
|
144
144
|
InlineCompletionContextKeys.inlineSuggestionVisible,
|
|
@@ -146,12 +146,12 @@ class AcceptInlineCompletion extends EditorAction {
|
|
|
146
146
|
))),
|
|
147
147
|
menuOpts: [{
|
|
148
148
|
menuId: MenuId.InlineSuggestionToolbar,
|
|
149
|
-
title: ( localize(
|
|
149
|
+
title: ( localize(5058, "Accept")),
|
|
150
150
|
group: 'primary',
|
|
151
151
|
order: 1,
|
|
152
152
|
}, {
|
|
153
153
|
menuId: MenuId.InlineEditsActions,
|
|
154
|
-
title: ( localize(
|
|
154
|
+
title: ( localize(5058, "Accept")),
|
|
155
155
|
group: 'primary',
|
|
156
156
|
order: 1,
|
|
157
157
|
}],
|
|
@@ -187,12 +187,12 @@ class JumpToNextInlineEdit extends EditorAction {
|
|
|
187
187
|
constructor() {
|
|
188
188
|
super({
|
|
189
189
|
id: 'editor.action.inlineSuggest.jump',
|
|
190
|
-
label: ( localize(
|
|
190
|
+
label: ( localize(5059, "Jump to next inline edit")),
|
|
191
191
|
alias: 'Jump to next inline edit',
|
|
192
192
|
precondition: InlineCompletionContextKeys.inlineEditVisible,
|
|
193
193
|
menuOpts: [{
|
|
194
194
|
menuId: MenuId.InlineEditsActions,
|
|
195
|
-
title: ( localize(
|
|
195
|
+
title: ( localize(5060, "Jump")),
|
|
196
196
|
group: 'primary',
|
|
197
197
|
order: 2,
|
|
198
198
|
when: ( (InlineCompletionContextKeys.cursorAtInlineEdit.toNegated())),
|
|
@@ -223,7 +223,7 @@ class HideInlineCompletion extends EditorAction {
|
|
|
223
223
|
constructor() {
|
|
224
224
|
super({
|
|
225
225
|
id: HideInlineCompletion.ID,
|
|
226
|
-
label: ( localize(
|
|
226
|
+
label: ( localize(5061, "Hide Inline Suggestion")),
|
|
227
227
|
alias: 'Hide Inline Suggestion',
|
|
228
228
|
precondition: ( (ContextKeyExpr.or(
|
|
229
229
|
InlineCompletionContextKeys.inlineSuggestionVisible,
|
|
@@ -247,7 +247,7 @@ class ToggleAlwaysShowInlineSuggestionToolbar extends Action2 {
|
|
|
247
247
|
constructor() {
|
|
248
248
|
super({
|
|
249
249
|
id: ToggleAlwaysShowInlineSuggestionToolbar.ID,
|
|
250
|
-
title: ( localize(
|
|
250
|
+
title: ( localize(5062, "Always Show Toolbar")),
|
|
251
251
|
f1: false,
|
|
252
252
|
precondition: undefined,
|
|
253
253
|
menu: [{
|
|
@@ -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(9980, "Whether an inline suggestion is visible"))))); }
|
|
15
|
+
static { this.inlineSuggestionHasIndentation = ( (new RawContextKey('inlineSuggestionHasIndentation', false, ( localize(9981, "Whether the inline suggestion starts with whitespace"))))); }
|
|
16
16
|
static { this.inlineSuggestionHasIndentationLessThanTabSize = ( (new RawContextKey('inlineSuggestionHasIndentationLessThanTabSize', true, ( localize(
|
|
17
|
-
|
|
17
|
+
9982,
|
|
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
|
+
9983,
|
|
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(9984, "Whether the cursor is in indentation"))))); }
|
|
25
|
+
static { this.hasSelection = ( (new RawContextKey('editor.hasSelection', false, ( localize(9985, "Whether the editor has a selection"))))); }
|
|
26
|
+
static { this.cursorAtInlineEdit = ( (new RawContextKey('cursorAtInlineEdit', false, ( localize(9986, "Whether the cursor is at an inline edit"))))); }
|
|
27
|
+
static { this.inlineEditVisible = ( (new RawContextKey('inlineEditIsVisible', false, ( localize(9987, "Whether an inline edit is visible"))))); }
|
|
28
28
|
constructor(contextKeyService, model) {
|
|
29
29
|
super();
|
|
30
30
|
this.contextKeyService = contextKeyService;
|
|
@@ -245,7 +245,7 @@ let InlineCompletionsController = class InlineCompletionsController extends Disp
|
|
|
245
245
|
let hint;
|
|
246
246
|
if (!accessibleViewShowing && accessibleViewKeybinding && this.editor.getOption(152 )) {
|
|
247
247
|
hint = ( localize(
|
|
248
|
-
|
|
248
|
+
5063,
|
|
249
249
|
"Inspect this in the accessible view ({0})",
|
|
250
250
|
accessibleViewKeybinding.getAriaLabel()
|
|
251
251
|
));
|
package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js
CHANGED
|
@@ -126,7 +126,7 @@ let InlineCompletionsHoverParticipant = class InlineCompletionsHoverParticipant
|
|
|
126
126
|
);
|
|
127
127
|
}
|
|
128
128
|
getAccessibleContent(hoverPart) {
|
|
129
|
-
return ( localize(
|
|
129
|
+
return ( localize(5064, 'There are inline completions here'));
|
|
130
130
|
}
|
|
131
131
|
renderScreenReaderText(context, part) {
|
|
132
132
|
const disposables = ( (new DisposableStore()));
|
|
@@ -139,7 +139,7 @@ let InlineCompletionsHoverParticipant = class InlineCompletionsHoverParticipant
|
|
|
139
139
|
hoverContentsElement.className = 'hover-contents code-hover-contents';
|
|
140
140
|
context.onContentsChanged();
|
|
141
141
|
}));
|
|
142
|
-
const inlineSuggestionAvailable = ( localize(
|
|
142
|
+
const inlineSuggestionAvailable = ( localize(5065, "Suggestion:"));
|
|
143
143
|
const renderedContents = disposables.add(renderer.render(( (new MarkdownString())).appendText(inlineSuggestionAvailable).appendCodeblock('text', code)));
|
|
144
144
|
hoverContentsElement.replaceChildren(renderedContents.element);
|
|
145
145
|
};
|
|
@@ -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(9988, 'Icon for show next parameter hint.')));
|
|
92
|
+
const inlineSuggestionHintsPreviousIcon = registerIcon('inline-suggestion-hints-previous', Codicon.chevronLeft, ( localize(9989, '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(9990, '{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(9991, '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(9992, '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 = '';
|
|
@@ -6,7 +6,7 @@ class ExpandLineSelectionAction extends EditorAction {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super({
|
|
8
8
|
id: 'expandLineSelection',
|
|
9
|
-
label: ( localize(
|
|
9
|
+
label: ( localize(1328, "Expand Line Selection")),
|
|
10
10
|
alias: 'Expand Line Selection',
|
|
11
11
|
precondition: undefined,
|
|
12
12
|
kbOpts: {
|