Bug 62938 quick fix list should pre-select what's already filled in [quick fix]
Maybe this is a feature request, but I've been having this problem for months and just now figured out what was causing it (I thought it was keystroke glitches on my part). When I select "add throws declaration" from quick fix, usually the desired exception is filled in (in linked edit mode), and I'm given a list to choose from if I want to change it. My inclination is to just hit "enter" signifing "accept", but the list actually has "Exception" selected (instead of IOException, in my typical case) so the value I wanted is changed and another used instead. To "work around" I have to change the selection, or hit "ESC", which seems unnatural to me.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java
private static TypeDeclaration findTypeDeclaration(List decls, String name) {
		for (Iterator iter= decls.iterator(); iter.hasNext();) {
			ASTNode elem= (ASTNode) iter.next();
			if (elem instanceof TypeDeclaration) {
				TypeDeclaration decl= (TypeDeclaration) elem;
				if (name.equals(decl.getName().getIdentifier())) {
					return decl;
				}
			}
		}
		return null;
	}
	public static TypeDeclaration findTypeDeclaration(CompilationUnit root, ITypeBinding binding) {
		ArrayList names= new ArrayList(5);
		while (binding != null) {
			names.add(binding.getName());
			binding= binding.getDeclaringClass();
		}
		List types= root.types();
		for (int i= names.size() - 1; i >= 0; i--) {
			String name= (String) names.get(i);
			TypeDeclaration decl= findTypeDeclaration(types, name);
			if (decl == null || i == 0) {
				return decl;
			}
			types= decl.bodyDeclarations();
		}
		return null;
	}