Open core-ai-bot opened 3 years ago
Comment by le717 Monday Feb 01, 2016 at 16:06 GMT
I had put up a PR to drop the old preferences system entirely in #9752, if you wanted to go that far. Since the conversion code from old to new is being removed (assuming I am reading the diff correctly), we would still have the old system lying around unused.
You may want to considering dropping setValueAndSave
too.
My thought is, while the old preferences system has been deprecated for ages, convertPreferences
only got a deprecation warning in v1.4 (#11174). If the definition was to be removed, has enough time lapsed for extension authors to update? IIRC, last time we looked at this, all affected extension authors had been contacted but only the actively maintained extensions were updated. Honestly, if by now if the extensions have not been updated, then there's no need to keep dragging out feet holding out.
Comment by sprintr Tuesday Feb 02, 2016 at 02:05 GMT
@
le717 The purpose of this PR was to make sure that no warnings are thrown from the core modules. I agree with you on the removal of deprecated code since it has been a quite a while since when it was deprecated. If they have not updated until now, they may not be updated ever.
I also went ahead and removed the old system from the unit tests too.
Comment by MiguelCastillo Saturday Feb 13, 2016 at 15:44 GMT
@
sprintr@
le717 It sounds reasonable to remove the whole thing. Do you guys think they should two separate PRs?
Comment by zaggino Thursday Aug 25, 2016 at 22:58 GMT
This now has conflicts,@
sprintr would you mind merging master to your branch so I can pull this?
Issue by sprintr Monday Feb 01, 2016 at 15:29 GMT Originally opened as https://github.com/adobe/brackets/pull/12182
Removed all the occurrences of
PreferencesManager.convertPreferences
. I have also removed its definition but that is a separate commit just in case we wanted to revert it.Follow up of #11488 and #11174
/CC:
@
abose@
MarcelGerber@
redmunds@
peterflynn@
le717sprintr included the following code: https://github.com/adobe/brackets/pull/12182/commits