-
Notifications
You must be signed in to change notification settings - Fork 5
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
Improve Documentation for PreferenceContribution
and related types
#7
Conversation
packages/core/src/browser/preferences/preference-contribution.ts
Outdated
Show resolved
Hide resolved
packages/core/src/browser/preferences/preference-contribution.ts
Outdated
Show resolved
Hide resolved
packages/core/src/browser/preferences/preference-contribution.ts
Outdated
Show resolved
Hide resolved
readonly preferenceName: string; | ||
/** | ||
* The new value of the changed preference. |
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.
what is the meaning if this is not set? Same for oldvalue
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.
Added a short explanation
packages/core/src/browser/preferences/preference-contribution.ts
Outdated
Show resolved
Hide resolved
|
||
/** | ||
* Specialized {@link FrontendApplicationConfig} that can be used to configure default | ||
* preference values for the {@link PreferenceSchemaProvider}. |
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.
Are these default values really only used by the PreferenceSchemaProvider?
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.
Yes. At the moment they are only used in the PreferenceSchemaProvider
packages/core/src/browser/preferences/preference-contribution.ts
Outdated
Show resolved
Hide resolved
packages/core/src/browser/preferences/preference-contribution.ts
Outdated
Show resolved
Hide resolved
8e38809
to
85976d6
Compare
1a30806
to
ca06fc3
Compare
8ceb97e
to
203fc7a
Compare
Fixes eclipse-theia#8676 Contributed on behalf of STMicroelectronics Signed-off-by: Tobias Ortmayr <tortmayr@eclipsesource.com>
Merged upstream with eclipse-theia#8677 |
Signed-off-by: Tobias Ortmayr tortmayr@eclipsesource.com
Contributed on behalf of STMicroelectronics