Skip to content

Commit 1a4e4e8

Browse files
committed
Add Eclipse settings to remove trailing whitespace on save
1 parent a899c07 commit 1a4e4e8

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,56 @@
11
eclipse.preferences.version=1
2+
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
23
formatter_profile=_github-android
34
formatter_settings_version=12
5+
sp_cleanup.add_default_serial_version_id=true
6+
sp_cleanup.add_generated_serial_version_id=false
7+
sp_cleanup.add_missing_annotations=false
8+
sp_cleanup.add_missing_deprecated_annotations=true
9+
sp_cleanup.add_missing_methods=false
10+
sp_cleanup.add_missing_nls_tags=false
11+
sp_cleanup.add_missing_override_annotations=true
12+
sp_cleanup.add_missing_override_annotations_interface_methods=false
13+
sp_cleanup.add_serial_version_id=false
14+
sp_cleanup.always_use_blocks=true
15+
sp_cleanup.always_use_parentheses_in_expressions=false
16+
sp_cleanup.always_use_this_for_non_static_field_access=false
17+
sp_cleanup.always_use_this_for_non_static_method_access=false
18+
sp_cleanup.convert_to_enhanced_for_loop=false
19+
sp_cleanup.correct_indentation=false
20+
sp_cleanup.format_source_code=false
21+
sp_cleanup.format_source_code_changes_only=false
22+
sp_cleanup.make_local_variable_final=false
23+
sp_cleanup.make_parameters_final=false
24+
sp_cleanup.make_private_fields_final=true
25+
sp_cleanup.make_type_abstract_if_missing_method=false
26+
sp_cleanup.make_variable_declarations_final=false
27+
sp_cleanup.never_use_blocks=false
28+
sp_cleanup.never_use_parentheses_in_expressions=true
29+
sp_cleanup.on_save_use_additional_actions=true
30+
sp_cleanup.organize_imports=false
31+
sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
32+
sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
33+
sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
34+
sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
35+
sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
36+
sp_cleanup.remove_private_constructors=true
37+
sp_cleanup.remove_trailing_whitespaces=true
38+
sp_cleanup.remove_trailing_whitespaces_all=true
39+
sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
40+
sp_cleanup.remove_unnecessary_casts=false
41+
sp_cleanup.remove_unnecessary_nls_tags=false
42+
sp_cleanup.remove_unused_imports=false
43+
sp_cleanup.remove_unused_local_variables=false
44+
sp_cleanup.remove_unused_private_fields=true
45+
sp_cleanup.remove_unused_private_members=false
46+
sp_cleanup.remove_unused_private_methods=true
47+
sp_cleanup.remove_unused_private_types=true
48+
sp_cleanup.sort_members=false
49+
sp_cleanup.sort_members_all=false
50+
sp_cleanup.use_blocks=false
51+
sp_cleanup.use_blocks_only_for_return_and_throw=false
52+
sp_cleanup.use_parentheses_in_expressions=false
53+
sp_cleanup.use_this_for_non_static_field_access=false
54+
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
55+
sp_cleanup.use_this_for_non_static_method_access=false
56+
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true

0 commit comments

Comments
 (0)