diff --git a/.settings/org.eclipse.jdt.ui.prefs b/.settings/org.eclipse.jdt.ui.prefs index 0856eebe16b..86caa951607 100644 --- a/.settings/org.eclipse.jdt.ui.prefs +++ b/.settings/org.eclipse.jdt.ui.prefs @@ -4,5 +4,8 @@ formatter_settings_version=12 org.eclipse.jdt.ui.importorder=;java;javax;\#; org.eclipse.jdt.ui.ondemandthreshold=5 org.eclipse.jdt.ui.staticondemandthreshold=3 +# Organize imports on save. This is needed because Eclipse can fail at properly adding imports to an existing list of imports since we don't use its default import rules. +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +sp_cleanup.organize_imports=true # License header org.eclipse.jdt.ui.text.custom_code_templates=