Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337028

Summary: Bindings clash with Java (Ctrl+Alt+C)
Product: [Technology] EGit Reporter: Alex Blewitt <alex.blewitt>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: angvoz.dev, mathias.kinzler, matthias.sohn
Version: 0.11   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Alex Blewitt CLA 2011-02-12 11:10:26 EST
I've never got EGit to work with Alt+Command+C to commit (or Ctrl+Alt+C depending on platform). I fail to achieve this with both Mac and Windows.

I noticed in a debugging startup whilst investigating an unrelated bug the following:

!MESSAGE A conflict occurred for ALT+COMMAND+C:
Binding(ALT+COMMAND+C,
	ParameterizedCommand(Command(org.eclipse.egit.ui.team.Commit,Commit,
		,
		Category(org.eclipse.egit.ui.commandCategory,Git,null,true),
		org.eclipse.egit.ui.internal.actions.CommitActionHandler,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,,system)
Binding(ALT+COMMAND+C,
	ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.modify.method.parameters,Change Method Signature,
		Change method signature includes parameter names and parameter order,
		Category(org.eclipse.jdt.ui.category.refactoring,Refactor - Java,Java Refactoring Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,cocoa,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2011-02-12 16:00:58.935

I suspect this is related. It looks like both the Java refactoring action and the EGit action are competing when a Java project has a Git share. (It may work in non-Java projects fine; I've not tested this theory.)
Comment 1 Mathias Kinzler CLA 2011-02-14 07:14:29 EST
This is another facet on bug 321739.
Comment 2 Matthias Sohn CLA 2011-07-04 07:41:57 EDT
merged as 66d9aa2a1cb94641a51532b2bb52c409a12d7b2c