From e04fb1557455782c9d486c405fe56109c13ad3d8 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 8 Sep 2015 14:27:29 -0700 Subject: [PATCH] Only format changed lines Update Eclipse cleanup actions to only format changed lines. This will hopefully help to prevent so many false diffs caused by differences between Eclipse Luna and Eclipse Mars. --- eclipse/org.eclipse.jdt.ui.prefs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclipse/org.eclipse.jdt.ui.prefs b/eclipse/org.eclipse.jdt.ui.prefs index 45d41ec935..43281c1a5c 100644 --- a/eclipse/org.eclipse.jdt.ui.prefs +++ b/eclipse/org.eclipse.jdt.ui.prefs @@ -87,7 +87,7 @@ sp_cleanup.always_use_this_for_non_static_method_access=false sp_cleanup.convert_to_enhanced_for_loop=false sp_cleanup.correct_indentation=false sp_cleanup.format_source_code=true -sp_cleanup.format_source_code_changes_only=false +sp_cleanup.format_source_code_changes_only=true sp_cleanup.make_local_variable_final=false sp_cleanup.make_parameters_final=false sp_cleanup.make_private_fields_final=false