Is there a setting to always show underlines for keyboard shortcuts (accelerators)?
已回答
In many places there are keyboard shortcuts (underlined letters) than can be displayed if I press and hold the Alt key. I am on Linux, Xubuntu. Are there a way to always show these accelerators?
请先登录再写评论。
Looks like this feature isn't available in IntelliJ, and I'm not sure that we should handle this on the IDE side, because we can control the underlines on the system level. For example:
Windows
MacOS
Linux
You can try to find the proper option for your system and use it.
Note that mnemonics should be disabled:
(Settings | Appearance & Behavior | Appearance | Disable mnemonics in menu)(Settings | Appearance & Behavior | Appearance | Disable mnemonics in controls)I have all three settings enabled. 2 for mnemonics in IDEA. 1 at the OS level as in the screenshot below.
I can see underlined accelerators in IDEA main menu. But dialogs do not get all accelerators underlined. For example, tabs for scopes in "Find in Files" dialog get underlines, but "Open results in new tab" checkbox does not. If I press and hold ALT, the "b" letter in "Open results in new tab" gets underlined. I want the "b" letter to be always underlined. "Push commits" dialog is another example. "Push tags" checkbox and "Push" button only get accelerators underlined on holding ALT. Similar behavior can be seen in other dialogs, not just these two.
Running IDEA Community 2021.3.1 on Windows 10 (21H1)
@... Not sure if the current behavior is by design or a bug, let's see what the dev team says.
I filed a new issue in our tracker, please upvote IDEA-287397 and follow it for updates. Sorry for the inconvenience.