Skip to content

Commit

Permalink
docs: 📝 better docs for views welcome content, group property
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Nov 12, 2021
1 parent e79a9c8 commit b78b727
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function parseGroupAndOrder(welcome: ViewWelcome, contribution: IExtensionPointU
let order: number | undefined;
if (welcome.group) {
if (!isProposedApiEnabled(contribution.description, 'contribViewsWelcome')) {
contribution.collector.warn(nls.localize('ViewsWelcomeExtensionPoint.proposedAPI', "The viewsWelcome contribution in '{0}' requires 'enableProposedApi' to be enabled.", contribution.description.identifier.value));
contribution.collector.warn(nls.localize('ViewsWelcomeExtensionPoint.proposedAPI', "The viewsWelcome contribution in '{0}' requires 'enableProposedApi' to be enabled, in order to use the 'group' proposed property.", contribution.description.identifier.value));
return { group, order };
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const viewsWelcomeExtensionPointSchema = Object.freeze<IConfigurationPropertySch
},
[ViewsWelcomeExtensionPointFields.group]: {
type: 'string',
description: nls.localize('contributes.viewsWelcome.view.group', "Group to which this welcome content belongs."),
description: nls.localize('contributes.viewsWelcome.view.group', "Group to which this welcome content belongs. Proposed API."),
},
[ViewsWelcomeExtensionPointFields.enablement]: {
type: 'string',
Expand Down

0 comments on commit b78b727

Please sign in to comment.