Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 16:45 Go to next message
Victor Toni is currently offline Victor ToniFriend
Messages: 20
Registered: July 2009
Junior Member
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 18:05]

Report message to a moderator

Re: Difference between "cleanup" and "sp_cleanup" prefix? [message #1840632 is a reply to message #1840612] Wed, 21 April 2021 05:45 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
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.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Difference between "cleanup" and "sp_cleanup" prefix? [message #1841515 is a reply to message #1840632] Wed, 19 May 2021 17:12 Go to previous message
Victor Toni is currently offline Victor ToniFriend
Messages: 20
Registered: July 2009
Junior Member
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: Fri Apr 19 15:37:51 GMT 2024

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

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

Back to the top