-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix the workspace pref not being applied on change #5498
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works fine. For the breaking changes, it seems fine, but wait to see other comments about it
@akosyakov Are you fine with me merging this one for 0.8 release. This is a small PR, but in my opinion, it fixes a bug that users could easily hit. |
@svenefftinge Since Anton is not available this week, could you please take a quick look at this line and confirm if you are OK with the breaking change? Thank you ! Could you please also advise if you happen not to be available, so that I can ask someone else for his/her opinion? |
packages/preferences/src/browser/workspace-preference-provider.ts
Outdated
Show resolved
Hide resolved
packages/preferences/src/browser/folders-preferences-provider.ts
Outdated
Show resolved
Hide resolved
- fixed eclipse-theia#4811 Signed-off-by: elaihau <liang.huang@ericsson.com>
- FolderPreferenceProvider should be associated with PreferenceScope.Workspace when it is used as a delegate of WorkspacePreferenceProvider in a one-folder workspace, otherwise changes made to the workspace preferences would not be applied to the IDE. - fixed eclipse-theia#5446 Signed-off-by: elaihau <liang.huang@ericsson.com>
Thank you for the review @kittaakos ! The problem has been fixed and code updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tried it again; it worked as expected. Thank you for the fix, @elaihau 👍
fix the workspace pref not being applied on change
Signed-off-by: elaihau liang.huang@ericsson.com
added WorkspaceService.isMultiRootWorkspaceEnabled()
isMultiRootWorkspaceOpened
implementation #4811Signed-off-by: elaihau liang.huang@ericsson.com