Browse Source

Run formatter on edited lines via save action

Updates the project level settings to run the formatter
on save on only on the edited lines.

Change-Id: I26dd69d0c95e6d73f9fdf7031f3c1dbf3becbb79
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
stable-0.9
Chris Aniszczyk 14 years ago
parent
commit
d1edd00f56
  1. 7
      org.eclipse.jgit.console/.settings/org.eclipse.jdt.ui.prefs
  2. 7
      org.eclipse.jgit.http.server/.settings/org.eclipse.jdt.ui.prefs
  3. 7
      org.eclipse.jgit.http.test/.settings/org.eclipse.jdt.ui.prefs
  4. 7
      org.eclipse.jgit.iplog/.settings/org.eclipse.jdt.ui.prefs
  5. 7
      org.eclipse.jgit.junit/.settings/org.eclipse.jdt.ui.prefs
  6. 7
      org.eclipse.jgit.pgm/.settings/org.eclipse.jdt.ui.prefs
  7. 7
      org.eclipse.jgit.test/.settings/org.eclipse.jdt.ui.prefs
  8. 7
      org.eclipse.jgit.ui/.settings/org.eclipse.jdt.ui.prefs
  9. 7
      org.eclipse.jgit/.settings/org.eclipse.jdt.ui.prefs

7
org.eclipse.jgit.console/.settings/org.eclipse.jdt.ui.prefs

@ -1,4 +1,4 @@
#Sat Oct 31 16:20:21 PDT 2009 #Thu Aug 26 12:31:07 CDT 2010
eclipse.preferences.version=1 eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=_JGit Format formatter_profile=_JGit Format
@ -15,6 +15,7 @@ sp_cleanup.add_missing_deprecated_annotations=true
sp_cleanup.add_missing_methods=false sp_cleanup.add_missing_methods=false
sp_cleanup.add_missing_nls_tags=false sp_cleanup.add_missing_nls_tags=false
sp_cleanup.add_missing_override_annotations=true sp_cleanup.add_missing_override_annotations=true
sp_cleanup.add_missing_override_annotations_interface_methods=false
sp_cleanup.add_serial_version_id=false sp_cleanup.add_serial_version_id=false
sp_cleanup.always_use_blocks=true sp_cleanup.always_use_blocks=true
sp_cleanup.always_use_parentheses_in_expressions=false sp_cleanup.always_use_parentheses_in_expressions=false
@ -22,8 +23,8 @@ sp_cleanup.always_use_this_for_non_static_field_access=false
sp_cleanup.always_use_this_for_non_static_method_access=false sp_cleanup.always_use_this_for_non_static_method_access=false
sp_cleanup.convert_to_enhanced_for_loop=false sp_cleanup.convert_to_enhanced_for_loop=false
sp_cleanup.correct_indentation=false sp_cleanup.correct_indentation=false
sp_cleanup.format_source_code=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_local_variable_final=false
sp_cleanup.make_parameters_final=false sp_cleanup.make_parameters_final=false
sp_cleanup.make_private_fields_final=true sp_cleanup.make_private_fields_final=true

7
org.eclipse.jgit.http.server/.settings/org.eclipse.jdt.ui.prefs

@ -1,4 +1,4 @@
#Wed Jan 06 12:13:14 PST 2010 #Thu Aug 26 12:30:58 CDT 2010
eclipse.preferences.version=1 eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=_JGit Format formatter_profile=_JGit Format
@ -15,6 +15,7 @@ sp_cleanup.add_missing_deprecated_annotations=true
sp_cleanup.add_missing_methods=false sp_cleanup.add_missing_methods=false
sp_cleanup.add_missing_nls_tags=false sp_cleanup.add_missing_nls_tags=false
sp_cleanup.add_missing_override_annotations=true sp_cleanup.add_missing_override_annotations=true
sp_cleanup.add_missing_override_annotations_interface_methods=false
sp_cleanup.add_serial_version_id=false sp_cleanup.add_serial_version_id=false
sp_cleanup.always_use_blocks=true sp_cleanup.always_use_blocks=true
sp_cleanup.always_use_parentheses_in_expressions=false sp_cleanup.always_use_parentheses_in_expressions=false
@ -22,8 +23,8 @@ sp_cleanup.always_use_this_for_non_static_field_access=false
sp_cleanup.always_use_this_for_non_static_method_access=false sp_cleanup.always_use_this_for_non_static_method_access=false
sp_cleanup.convert_to_enhanced_for_loop=false sp_cleanup.convert_to_enhanced_for_loop=false
sp_cleanup.correct_indentation=false sp_cleanup.correct_indentation=false
sp_cleanup.format_source_code=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_local_variable_final=false
sp_cleanup.make_parameters_final=false sp_cleanup.make_parameters_final=false
sp_cleanup.make_private_fields_final=true sp_cleanup.make_private_fields_final=true

7
org.eclipse.jgit.http.test/.settings/org.eclipse.jdt.ui.prefs

@ -1,4 +1,4 @@
#Tue Feb 09 19:16:19 PST 2010 #Thu Aug 26 12:30:50 CDT 2010
eclipse.preferences.version=1 eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=_JGit Format formatter_profile=_JGit Format
@ -14,6 +14,7 @@ sp_cleanup.add_missing_deprecated_annotations=true
sp_cleanup.add_missing_methods=false sp_cleanup.add_missing_methods=false
sp_cleanup.add_missing_nls_tags=false sp_cleanup.add_missing_nls_tags=false
sp_cleanup.add_missing_override_annotations=true sp_cleanup.add_missing_override_annotations=true
sp_cleanup.add_missing_override_annotations_interface_methods=false
sp_cleanup.add_serial_version_id=false sp_cleanup.add_serial_version_id=false
sp_cleanup.always_use_blocks=true sp_cleanup.always_use_blocks=true
sp_cleanup.always_use_parentheses_in_expressions=false sp_cleanup.always_use_parentheses_in_expressions=false
@ -21,8 +22,8 @@ sp_cleanup.always_use_this_for_non_static_field_access=false
sp_cleanup.always_use_this_for_non_static_method_access=false sp_cleanup.always_use_this_for_non_static_method_access=false
sp_cleanup.convert_to_enhanced_for_loop=false sp_cleanup.convert_to_enhanced_for_loop=false
sp_cleanup.correct_indentation=false sp_cleanup.correct_indentation=false
sp_cleanup.format_source_code=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_local_variable_final=false
sp_cleanup.make_parameters_final=false sp_cleanup.make_parameters_final=false
sp_cleanup.make_private_fields_final=true sp_cleanup.make_private_fields_final=true

7
org.eclipse.jgit.iplog/.settings/org.eclipse.jdt.ui.prefs

@ -1,4 +1,4 @@
#Sat Oct 31 14:52:59 PDT 2009 #Thu Aug 26 12:30:27 CDT 2010
eclipse.preferences.version=1 eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=_JGit Format formatter_profile=_JGit Format
@ -15,6 +15,7 @@ sp_cleanup.add_missing_deprecated_annotations=true
sp_cleanup.add_missing_methods=false sp_cleanup.add_missing_methods=false
sp_cleanup.add_missing_nls_tags=false sp_cleanup.add_missing_nls_tags=false
sp_cleanup.add_missing_override_annotations=true sp_cleanup.add_missing_override_annotations=true
sp_cleanup.add_missing_override_annotations_interface_methods=false
sp_cleanup.add_serial_version_id=false sp_cleanup.add_serial_version_id=false
sp_cleanup.always_use_blocks=true sp_cleanup.always_use_blocks=true
sp_cleanup.always_use_parentheses_in_expressions=false sp_cleanup.always_use_parentheses_in_expressions=false
@ -22,8 +23,8 @@ sp_cleanup.always_use_this_for_non_static_field_access=false
sp_cleanup.always_use_this_for_non_static_method_access=false sp_cleanup.always_use_this_for_non_static_method_access=false
sp_cleanup.convert_to_enhanced_for_loop=false sp_cleanup.convert_to_enhanced_for_loop=false
sp_cleanup.correct_indentation=false sp_cleanup.correct_indentation=false
sp_cleanup.format_source_code=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_local_variable_final=false
sp_cleanup.make_parameters_final=false sp_cleanup.make_parameters_final=false
sp_cleanup.make_private_fields_final=true sp_cleanup.make_private_fields_final=true

7
org.eclipse.jgit.junit/.settings/org.eclipse.jdt.ui.prefs

@ -1,4 +1,4 @@
#Tue Jan 05 09:30:22 PST 2010 #Thu Aug 26 12:30:39 CDT 2010
eclipse.preferences.version=1 eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=_JGit Format formatter_profile=_JGit Format
@ -16,6 +16,7 @@ sp_cleanup.add_missing_deprecated_annotations=true
sp_cleanup.add_missing_methods=false sp_cleanup.add_missing_methods=false
sp_cleanup.add_missing_nls_tags=false sp_cleanup.add_missing_nls_tags=false
sp_cleanup.add_missing_override_annotations=true sp_cleanup.add_missing_override_annotations=true
sp_cleanup.add_missing_override_annotations_interface_methods=false
sp_cleanup.add_serial_version_id=false sp_cleanup.add_serial_version_id=false
sp_cleanup.always_use_blocks=true sp_cleanup.always_use_blocks=true
sp_cleanup.always_use_parentheses_in_expressions=false sp_cleanup.always_use_parentheses_in_expressions=false
@ -23,8 +24,8 @@ sp_cleanup.always_use_this_for_non_static_field_access=false
sp_cleanup.always_use_this_for_non_static_method_access=false sp_cleanup.always_use_this_for_non_static_method_access=false
sp_cleanup.convert_to_enhanced_for_loop=false sp_cleanup.convert_to_enhanced_for_loop=false
sp_cleanup.correct_indentation=false sp_cleanup.correct_indentation=false
sp_cleanup.format_source_code=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_local_variable_final=false
sp_cleanup.make_parameters_final=false sp_cleanup.make_parameters_final=false
sp_cleanup.make_private_fields_final=true sp_cleanup.make_private_fields_final=true

7
org.eclipse.jgit.pgm/.settings/org.eclipse.jdt.ui.prefs

@ -1,4 +1,4 @@
#Sat Oct 31 14:52:59 PDT 2009 #Thu Aug 26 12:31:15 CDT 2010
eclipse.preferences.version=1 eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=_JGit Format formatter_profile=_JGit Format
@ -15,6 +15,7 @@ sp_cleanup.add_missing_deprecated_annotations=true
sp_cleanup.add_missing_methods=false sp_cleanup.add_missing_methods=false
sp_cleanup.add_missing_nls_tags=false sp_cleanup.add_missing_nls_tags=false
sp_cleanup.add_missing_override_annotations=true sp_cleanup.add_missing_override_annotations=true
sp_cleanup.add_missing_override_annotations_interface_methods=false
sp_cleanup.add_serial_version_id=false sp_cleanup.add_serial_version_id=false
sp_cleanup.always_use_blocks=true sp_cleanup.always_use_blocks=true
sp_cleanup.always_use_parentheses_in_expressions=false sp_cleanup.always_use_parentheses_in_expressions=false
@ -22,8 +23,8 @@ sp_cleanup.always_use_this_for_non_static_field_access=false
sp_cleanup.always_use_this_for_non_static_method_access=false sp_cleanup.always_use_this_for_non_static_method_access=false
sp_cleanup.convert_to_enhanced_for_loop=false sp_cleanup.convert_to_enhanced_for_loop=false
sp_cleanup.correct_indentation=false sp_cleanup.correct_indentation=false
sp_cleanup.format_source_code=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_local_variable_final=false
sp_cleanup.make_parameters_final=false sp_cleanup.make_parameters_final=false
sp_cleanup.make_private_fields_final=true sp_cleanup.make_private_fields_final=true

7
org.eclipse.jgit.test/.settings/org.eclipse.jdt.ui.prefs

@ -1,4 +1,4 @@
#Tue Jan 05 11:30:06 PST 2010 #Thu Aug 26 12:30:07 CDT 2010
eclipse.preferences.version=1 eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=_JGit Format formatter_profile=_JGit Format
@ -16,6 +16,7 @@ sp_cleanup.add_missing_deprecated_annotations=true
sp_cleanup.add_missing_methods=false sp_cleanup.add_missing_methods=false
sp_cleanup.add_missing_nls_tags=false sp_cleanup.add_missing_nls_tags=false
sp_cleanup.add_missing_override_annotations=true sp_cleanup.add_missing_override_annotations=true
sp_cleanup.add_missing_override_annotations_interface_methods=false
sp_cleanup.add_serial_version_id=false sp_cleanup.add_serial_version_id=false
sp_cleanup.always_use_blocks=true sp_cleanup.always_use_blocks=true
sp_cleanup.always_use_parentheses_in_expressions=false sp_cleanup.always_use_parentheses_in_expressions=false
@ -23,8 +24,8 @@ sp_cleanup.always_use_this_for_non_static_field_access=false
sp_cleanup.always_use_this_for_non_static_method_access=false sp_cleanup.always_use_this_for_non_static_method_access=false
sp_cleanup.convert_to_enhanced_for_loop=false sp_cleanup.convert_to_enhanced_for_loop=false
sp_cleanup.correct_indentation=false sp_cleanup.correct_indentation=false
sp_cleanup.format_source_code=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_local_variable_final=false
sp_cleanup.make_parameters_final=false sp_cleanup.make_parameters_final=false
sp_cleanup.make_private_fields_final=true sp_cleanup.make_private_fields_final=true

7
org.eclipse.jgit.ui/.settings/org.eclipse.jdt.ui.prefs

@ -1,4 +1,4 @@
#Sat Oct 31 16:20:21 PDT 2009 #Thu Aug 26 12:31:21 CDT 2010
eclipse.preferences.version=1 eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=_JGit Format formatter_profile=_JGit Format
@ -15,6 +15,7 @@ sp_cleanup.add_missing_deprecated_annotations=true
sp_cleanup.add_missing_methods=false sp_cleanup.add_missing_methods=false
sp_cleanup.add_missing_nls_tags=false sp_cleanup.add_missing_nls_tags=false
sp_cleanup.add_missing_override_annotations=true sp_cleanup.add_missing_override_annotations=true
sp_cleanup.add_missing_override_annotations_interface_methods=false
sp_cleanup.add_serial_version_id=false sp_cleanup.add_serial_version_id=false
sp_cleanup.always_use_blocks=true sp_cleanup.always_use_blocks=true
sp_cleanup.always_use_parentheses_in_expressions=false sp_cleanup.always_use_parentheses_in_expressions=false
@ -22,8 +23,8 @@ sp_cleanup.always_use_this_for_non_static_field_access=false
sp_cleanup.always_use_this_for_non_static_method_access=false sp_cleanup.always_use_this_for_non_static_method_access=false
sp_cleanup.convert_to_enhanced_for_loop=false sp_cleanup.convert_to_enhanced_for_loop=false
sp_cleanup.correct_indentation=false sp_cleanup.correct_indentation=false
sp_cleanup.format_source_code=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_local_variable_final=false
sp_cleanup.make_parameters_final=false sp_cleanup.make_parameters_final=false
sp_cleanup.make_private_fields_final=true sp_cleanup.make_private_fields_final=true

7
org.eclipse.jgit/.settings/org.eclipse.jdt.ui.prefs

@ -1,4 +1,4 @@
#Sat Oct 31 14:52:38 PDT 2009 #Thu Aug 26 12:29:47 CDT 2010
eclipse.preferences.version=1 eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=_JGit Format formatter_profile=_JGit Format
@ -15,6 +15,7 @@ sp_cleanup.add_missing_deprecated_annotations=true
sp_cleanup.add_missing_methods=false sp_cleanup.add_missing_methods=false
sp_cleanup.add_missing_nls_tags=false sp_cleanup.add_missing_nls_tags=false
sp_cleanup.add_missing_override_annotations=true sp_cleanup.add_missing_override_annotations=true
sp_cleanup.add_missing_override_annotations_interface_methods=false
sp_cleanup.add_serial_version_id=false sp_cleanup.add_serial_version_id=false
sp_cleanup.always_use_blocks=true sp_cleanup.always_use_blocks=true
sp_cleanup.always_use_parentheses_in_expressions=false sp_cleanup.always_use_parentheses_in_expressions=false
@ -22,8 +23,8 @@ sp_cleanup.always_use_this_for_non_static_field_access=false
sp_cleanup.always_use_this_for_non_static_method_access=false sp_cleanup.always_use_this_for_non_static_method_access=false
sp_cleanup.convert_to_enhanced_for_loop=false sp_cleanup.convert_to_enhanced_for_loop=false
sp_cleanup.correct_indentation=false sp_cleanup.correct_indentation=false
sp_cleanup.format_source_code=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_local_variable_final=false
sp_cleanup.make_parameters_final=false sp_cleanup.make_parameters_final=false
sp_cleanup.make_private_fields_final=true sp_cleanup.make_private_fields_final=true

Loading…
Cancel
Save