diff options
author | Justin Chen <t-justinchen@microsoft.com> | 2022-07-28 00:34:48 +0300 |
---|---|---|
committer | Justin Chen <t-justinchen@microsoft.com> | 2022-07-28 00:34:48 +0300 |
commit | af67e60687f02256ded9f5d5cedb2a4a9a195dfc (patch) | |
tree | be6f02679d3c5218cdf1d3e1d18b49fa98f648aa | |
parent | 89c30e1b86f941db095d9f52b128287e5039e004 (diff) |
fix naming on hover
-rw-r--r-- | src/vs/editor/contrib/codeAction/browser/codeActionMenu.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vs/editor/contrib/codeAction/browser/codeActionMenu.ts b/src/vs/editor/contrib/codeAction/browser/codeActionMenu.ts index dc1a9a5031b..d3a15fec005 100644 --- a/src/vs/editor/contrib/codeAction/browser/codeActionMenu.ts +++ b/src/vs/editor/contrib/codeAction/browser/codeActionMenu.ts @@ -141,7 +141,7 @@ class CodeMenuRenderer implements IListRenderer<ICodeActionMenuItem, ICodeAction if (!isDocumentation) { const updateLabel = () => { const [accept, preview] = this.acceptKeybindings; - data.root.title = localize({ key: 'label', comment: ['placeholders are keybindings, e.g "F2 to Refactor, Shift+F2 to Preview"'] }, "{0} to Rename, {1} to Preview", this.keybindingService.lookupKeybinding(accept)?.getLabel(), this.keybindingService.lookupKeybinding(preview)?.getLabel()); + data.root.title = localize({ key: 'label', comment: ['placeholders are keybindings, e.g "F2 to Refactor, Shift+F2 to Preview"'] }, "{0} to Refactor, {1} to Preview", this.keybindingService.lookupKeybinding(accept)?.getLabel(), this.keybindingService.lookupKeybinding(preview)?.getLabel()); // data.root.title = this.keybindingService.lookupKeybinding(accept)?.getLabel() + ' to Refactor, ' + this.keybindingService.lookupKeybinding(preview)?.getLabel() + ' to Preview'; }; updateLabel(); |