Skip to content

Commit eb8c275

Browse files
authored
* fix microsoft#158498 fix the toggle inlay hint keybinding not properly shown on macOS. * 💄
1 parent 8515f91 commit eb8c275

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/editor/common/config/editorOptions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2622,8 +2622,8 @@ class EditorInlayHints extends BaseEditorOption<EditorOption.inlayHints, IEditor
26222622
enum: ['on', 'onUnlessPressed', 'offUnlessPressed', 'off'],
26232623
markdownEnumDescriptions: [
26242624
nls.localize('editor.inlayHints.on', "Inlay hints are enabled"),
2625-
nls.localize('editor.inlayHints.onUnlessPressed', "Inlay hints are showing by default and hide when holding `Ctrl+Alt`"),
2626-
nls.localize('editor.inlayHints.offUnlessPressed', "Inlay hints are hidden by default and show when holding `Ctrl+Alt`"),
2625+
nls.localize('editor.inlayHints.onUnlessPressed', "Inlay hints are showing by default and hide when holding {0}", platform.isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`),
2626+
nls.localize('editor.inlayHints.offUnlessPressed', "Inlay hints are hidden by default and show when holding {0}", platform.isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`),
26272627
nls.localize('editor.inlayHints.off', "Inlay hints are disabled"),
26282628
],
26292629
},

0 commit comments

Comments
 (0)