Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow override of provider -> context #10911

Conversation

colin-grant-work
Copy link
Contributor

What it does

This PR allows extenders of the AbstractResourcePreferenceProvider class to modify how their child class converts itself to a PreferenceContext for the consumption of a PreferenceTransaction to allow for indirection within the confines of Theia's PreferenceScope system.

How to test

This should not change the behavior of the application in any way.

  • Setting preferences (via UI or programmatically) should work as before.

Review checklist

Reminder for reviewers

@colin-grant-work colin-grant-work added preferences issues related to preferences extensibility issues to simplify ability to extend Theia labels Mar 22, 2022
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@colin-grant-work colin-grant-work force-pushed the minor/transaction-indirection branch from 4f479ec to 1c3b5b8 Compare March 28, 2022 16:32
@colin-grant-work colin-grant-work merged commit 42c93b0 into eclipse-theia:master Mar 28, 2022
@colin-grant-work colin-grant-work deleted the minor/transaction-indirection branch March 28, 2022 17:29
@colin-grant-work colin-grant-work added this to the 1.24.0 milestone Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extensibility issues to simplify ability to extend Theia preferences issues related to preferences
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants