Skip to main content



      Home
Home » Eclipse Projects » Oomph » Difference between "cleanup" and "sp_cleanup" prefix?
Difference between "cleanup" and "sp_cleanup" prefix? [message #1840612] Tue, 20 April 2021 12:45 Go to next message
Eclipse UserFriend
After chasing down an issue where it seemed that one option is not configured as defined in the .setup file the reason seemed to be that we had the same option with different prefixes and different values.
To check if it was just a typo I checked for both prefixes used and found e.g. https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/plugins/org.eclipse.oomph.p2/.settings/org.eclipse.jdt.ui.prefs which has also both defined:

...
cleanup.format_source_code_changes_only=false
...
sp_cleanup.format_source_code_changes_only=false
...

What is the purpose of having both prefixes / difference between those?

[Updated on: Tue, 20 April 2021 14:05] by Moderator

Re: Difference between "cleanup" and "sp_cleanup" prefix? [message #1840632 is a reply to message #1840612] Wed, 21 April 2021 01:45 Go to previous messageGo to next message
Eclipse UserFriend
It's more of a JDT question. A file such as the one you reference is stored by the IDE when you elect to save the preferences local/specfic to the project. The prefix is defined by org.eclipse.jdt.internal.corext.fix.CleanUpPreferenceUtil.SAVE_PARTICIPANT_KEY_PREFIX and as far as I understand it, it has to do with whether the action is done automatically on save versus manually from the context menu.
Re: Difference between "cleanup" and "sp_cleanup" prefix? [message #1841515 is a reply to message #1840632] Wed, 19 May 2021 13:12 Go to previous message
Eclipse UserFriend
Thanks a lot, Ed! It clears things up.
Previous Topic:How to remove non existing repositories?
Next Topic:How to exclude folders on project import
Goto Forum:
  


Current Time: Thu Jun 19 21:31:18 EDT 2025

Powered by FUDForum. Page generated in 0.04658 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top