Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaStringAutoIndentStrategy.java
if (string.trim().length() != 0)
			indentation += String.valueOf('\t');
		command.text= getModifiedText(command.text, lineDelimiter, indentation);		
	}
	private void javaStringSkipQuote(IDocument document, DocumentCommand command) throws BadLocationException {
		ITypedRegion partition= document.getPartition(command.offset);
		int offset= partition.getOffset();
		int length= partition.getLength();
		if (command.offset == offset + length - 1 && document.getChar(offset + length - 1) == '\"')
			command.length++;
	}
	/*
	 * @see org.eclipse.jface.text.IAutoIndentStrategy#customizeDocumentCommand(IDocument, DocumentCommand)
	 */
	public void customizeDocumentCommand(IDocument document, DocumentCommand command) {
		try {
			if (command.length != 0 || command.text == null)
				return;
				
			if (hasLineDelimiters(document, command.text))
				javaStringIndentAfterNewLine(document, command);
				
			else if (command.text.equals("\"")) 
				javaStringSkipQuote(document, command);
				
		} catch (BadLocationException e) {
		}
	}
}