Bug 31280 'Format' should be under 'Source'
20030206 'format' should be a submenu entry for 'source' it looks very strange now that we have the 'sort members' action (people who use it often probebly use the shortcut anyway)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
return;
						
					if (!validateEditorInputState())
						return;
					final char character= event.character;
					final char closingCharacter= getPeerCharacter(character);		
					final StringBuffer buffer= new StringBuffer();
					buffer.append(character);
					buffer.append(closingCharacter);
					document.replace(offset, length, buffer.toString());
					
					
					BracketLevel level= new BracketLevel();
					fBracketLevelStack.push(level);
					
					level.fManager= new LinkedPositionManager(document, fBracketLevelStack.size() > 1);
					level.fManager.addPosition(offset + 1, 0);
					level.fOffset= offset;
					level.fLength= 2;
			
					level.fEditor= new LinkedPositionUI(sourceViewer, level.fManager);
					level.fEditor.setCancelListener(this);
					level.fEditor.setExitPolicy(new ExitPolicy(closingCharacter, fBracketLevelStack));
					level.fEditor.setFinalCaretOffset(offset + 2);
					level.fEditor.enter();
					
					
					IRegion newSelection= level.fEditor.getSelectedRegion();
					sourceViewer.setSelectedRange(newSelection.getOffset(), newSelection.getLength());