IDEA插件,快捷键绑定问题

<action id="com.focre.HelloWorldPlugin.HelloWorldAction"
                class="com.focre.helloworldplugin.HelloWorldAction"
                text="HelloWorldAction"
                description="HelloWorldAction">
    <!-- 设置快捷键 -->
    <keyboard-shortcut first-keystroke="control P" keymap="$default"/>
    <add-to-group group-id="ToolsMenu" anchor="first" />
</action>

其中,control P快捷键,在MacOS系统中,会变为command p快捷键

Last modification:March 1, 2023
If you think my article is useful to you, please feel free to appreciate