diff options
author | Matthias Sohn | 2017-08-26 20:29:23 +0000 |
---|---|---|
committer | Matthias Sohn | 2017-08-26 20:29:23 +0000 |
commit | 17c8a186dcc061c628f0fe27661c22906c5014c1 (patch) | |
tree | a50a80f7b331b187fd96f177e1da7f101bbcf433 /org.eclipse.egit.ui.importer.tests | |
parent | 6c400f285811e78969f482cc8de1ef84d721b897 (diff) | |
download | egit-17c8a186dcc061c628f0fe27661c22906c5014c1.tar.gz egit-17c8a186dcc061c628f0fe27661c22906c5014c1.tar.xz egit-17c8a186dcc061c628f0fe27661c22906c5014c1.zip |
Enhance Eclipse save actions
Add the following Eclipse save actions executed when saving modified
lines. This should help to reduce manual work needed to maintain a clean
and consistent code style:
- organize imports
- always use braces around blocks
- add missing @Deprecated annotations
- remove
- unused imports
- unnecessary $NON-NLS$ tags
- redundant type arguments
Change-Id: I66a459421b954752232d8c0031ffcec36ae20ec5
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.ui.importer.tests')
-rw-r--r-- | org.eclipse.egit.ui.importer.tests/.settings/org.eclipse.jdt.ui.prefs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/org.eclipse.egit.ui.importer.tests/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.egit.ui.importer.tests/.settings/org.eclipse.jdt.ui.prefs index 9842c48a1a..a7a16720b8 100644 --- a/org.eclipse.egit.ui.importer.tests/.settings/org.eclipse.jdt.ui.prefs +++ b/org.eclipse.egit.ui.importer.tests/.settings/org.eclipse.jdt.ui.prefs @@ -10,7 +10,7 @@ org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UT sp_cleanup.add_default_serial_version_id=true sp_cleanup.add_generated_serial_version_id=false sp_cleanup.add_missing_annotations=true -sp_cleanup.add_missing_deprecated_annotations=false +sp_cleanup.add_missing_deprecated_annotations=true sp_cleanup.add_missing_methods=false sp_cleanup.add_missing_nls_tags=false sp_cleanup.add_missing_override_annotations=true @@ -34,20 +34,20 @@ sp_cleanup.make_variable_declarations_final=false sp_cleanup.never_use_blocks=false sp_cleanup.never_use_parentheses_in_expressions=true sp_cleanup.on_save_use_additional_actions=true -sp_cleanup.organize_imports=false +sp_cleanup.organize_imports=true sp_cleanup.qualify_static_field_accesses_with_declaring_class=false sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true sp_cleanup.qualify_static_member_accesses_with_declaring_class=false sp_cleanup.qualify_static_method_accesses_with_declaring_class=false sp_cleanup.remove_private_constructors=true -sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_redundant_type_arguments=true sp_cleanup.remove_trailing_whitespaces=true sp_cleanup.remove_trailing_whitespaces_all=true sp_cleanup.remove_trailing_whitespaces_ignore_empty=false -sp_cleanup.remove_unnecessary_casts=false -sp_cleanup.remove_unnecessary_nls_tags=false -sp_cleanup.remove_unused_imports=false +sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_nls_tags=true +sp_cleanup.remove_unused_imports=true sp_cleanup.remove_unused_local_variables=false sp_cleanup.remove_unused_private_fields=true sp_cleanup.remove_unused_private_members=false @@ -56,7 +56,7 @@ sp_cleanup.remove_unused_private_types=true sp_cleanup.sort_members=false sp_cleanup.sort_members_all=false sp_cleanup.use_anonymous_class_creation=false -sp_cleanup.use_blocks=false +sp_cleanup.use_blocks=true sp_cleanup.use_blocks_only_for_return_and_throw=false sp_cleanup.use_lambda=false sp_cleanup.use_parentheses_in_expressions=false |