提交 e62c7b64 编写于 作者: S Sandeep Somavarapu

Put contribution behind proposed flag

上级 4fd4bef1
......@@ -78,6 +78,10 @@ class ViewsContainersExtensionHandler implements IWorkbenchContribution {
viewsContainersExtensionPoint.setHandler((extensions) => {
for (let extension of extensions) {
const { value, collector } = extension;
if (extension.description.enableProposedApi) {
collector.error(localize('proposed', "'{0}' contribution is only available when running out of dev or with the following command line switch: --enable-proposed-api {1}", 'viewsContainer', extension.description.id));
continue;
}
forEach(value, entry => {
if (!this.isValidViewsContainer(entry.value, collector)) {
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册