mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
Swaps previous and next inline completion actions in the hover menu.
This commit is contained in:
parent
94f47f44c9
commit
7cd53df7d7
|
@ -81,16 +81,16 @@ export class InlineCompletionsHoverParticipant implements IEditorHoverParticipan
|
|||
this._contextKeyService
|
||||
);
|
||||
|
||||
statusBar.addAction({
|
||||
label: nls.localize('showPreviousInlineCompletion', "Previous"),
|
||||
commandId: ShowPreviousInlineCompletionAction.ID,
|
||||
run: () => this._commandService.executeCommand(ShowPreviousInlineCompletionAction.ID)
|
||||
});
|
||||
statusBar.addAction({
|
||||
label: nls.localize('showNextInlineCompletion', "Next"),
|
||||
commandId: ShowNextInlineCompletionAction.ID,
|
||||
run: () => this._commandService.executeCommand(ShowNextInlineCompletionAction.ID)
|
||||
});
|
||||
statusBar.addAction({
|
||||
label: nls.localize('showPreviousInlineCompletion', "Previous"),
|
||||
commandId: ShowPreviousInlineCompletionAction.ID,
|
||||
run: () => this._commandService.executeCommand(ShowPreviousInlineCompletionAction.ID)
|
||||
});
|
||||
|
||||
for (const [_, group] of menu.getActions()) {
|
||||
for (const action of group) {
|
||||
|
|
Loading…
Reference in a new issue