List of usage examples for com.intellij.openapi.keymap MacKeymapUtil SHIFT
String SHIFT
To view the source code for com.intellij.openapi.keymap MacKeymapUtil SHIFT.
Click Source Link
From source file:com.intellij.ide.actions.SearchEverywhereAction.java
License:Apache License
private static String getShortcut() { String shortcutText;//w w w.jav a 2s. c om final Shortcut[] shortcuts = KeymapManager.getInstance().getActiveKeymap() .getShortcuts(IdeActions.ACTION_SEARCH_EVERYWHERE); if (shortcuts.length == 0) { shortcutText = "Double " + (SystemInfo.isMac ? MacKeymapUtil.SHIFT : "Shift"); } else { shortcutText = KeymapUtil.getShortcutsText(shortcuts); } return shortcutText; }