Eclipse键绑定警告。

时间:2013-08-12 00:13:40

标签: eclipse eclipse-plugin keyboard-shortcuts

每当我使用eclipse autoformat /缩进时,我都会看到这些警告报告

A conflict occurred for COMMAND+SHIFT+F:
Binding(COMMAND+SHIFT+F,
    ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.format,Format,
        Format the selected text,
        Category(org.eclipse.jdt.ui.category.source,Source,Java Source Actions,true),
        org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@1712f3d,
        ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.jdt.ui.javaEditorScope,,,system)
Binding(COMMAND+SHIFT+F,
    ParameterizedCommand(Command(org.eclipse.wst.sse.ui.format.document,Format,
        Format selection,
        Category(org.eclipse.ui.category.edit,Edit,null,true),
        org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@1f05c08,
        ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.wst.sse.ui.structuredTextEditorScope,,,system)

我不确定为什么我会收到这个警告......

我看到mutliple这样的警告在org.eclipse.wst.sse.ui.format.document和org.eclipse.jdt.ui.edit.text.java.format之间发生冲突。

我从未安装任何键盘快捷方式插件或其他东西。

我在Mac上使用Eclipse Kepler(4.3)

1 个答案:

答案 0 :(得分:0)

看起来有2个插件使用相同的键绑定,JAva格式化程序和wst插件(不确定它是什么),

eclipse -> preferences -> general -> keys并查找哪些操作正在使用COMMAND+SHIFT+F并取消绑定该命令,它应该可以正常工作

相关问题