Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/vs
diff options
context:
space:
mode:
authorJustin Chen <t-justinchen@microsoft.com>2022-07-28 00:34:48 +0300
committerJustin Chen <t-justinchen@microsoft.com>2022-07-28 00:34:48 +0300
commitaf67e60687f02256ded9f5d5cedb2a4a9a195dfc (patch)
treebe6f02679d3c5218cdf1d3e1d18b49fa98f648aa /src/vs
parent89c30e1b86f941db095d9f52b128287e5039e004 (diff)
fix naming on hover
Diffstat (limited to 'src/vs')
-rw-r--r--src/vs/editor/contrib/codeAction/browser/codeActionMenu.ts2
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();