mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-30 18:46:00 +01:00
Merge pull request #44885 from amalik12/master
Added Mac specific text for link follow tooltip
This commit is contained in:
@@ -38,8 +38,17 @@ const HOVER_MESSAGE_COMMAND_META = new MarkdownString().appendText(
|
||||
: nls.localize('links.command', "Ctrl + click to execute command")
|
||||
);
|
||||
|
||||
const HOVER_MESSAGE_GENERAL_ALT = new MarkdownString().appendText(nls.localize('links.navigate.al', "Alt + click to follow link"));
|
||||
const HOVER_MESSAGE_COMMAND_ALT = new MarkdownString().appendText(nls.localize('links.command.al', "Alt + click to execute command"));
|
||||
const HOVER_MESSAGE_GENERAL_ALT = new MarkdownString().appendText(
|
||||
platform.isMacintosh
|
||||
? nls.localize('links.navigate.al.mac', "Option + click to follow link")
|
||||
: nls.localize('links.navigate.al', "Alt + click to follow link")
|
||||
);
|
||||
|
||||
const HOVER_MESSAGE_COMMAND_ALT = new MarkdownString().appendText(
|
||||
platform.isMacintosh
|
||||
? nls.localize('links.command.al.mac', "Option + click to execute command")
|
||||
: nls.localize('links.command.al', "Alt + click to execute command")
|
||||
);
|
||||
|
||||
const decoration = {
|
||||
meta: ModelDecorationOptions.register({
|
||||
|
||||
Reference in New Issue
Block a user