提交 afde09fe 编写于 作者: M Martin Aeschlimann

add checkProposedApiEnabled checks

上级 c5931b0a
...@@ -552,9 +552,11 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I ...@@ -552,9 +552,11 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
return extHostQuickOpen.createInputBox(extension.identifier); return extHostQuickOpen.createInputBox(extension.identifier);
}, },
get activeColorTheme(): vscode.ColorTheme { get activeColorTheme(): vscode.ColorTheme {
checkProposedApiEnabled(extension);
return extHostTheming.activeColorTheme; return extHostTheming.activeColorTheme;
}, },
onDidChangeActiveColorTheme(listener, thisArg?, disposables?) { onDidChangeActiveColorTheme(listener, thisArg?, disposables?) {
checkProposedApiEnabled(extension);
return extHostTheming.onDidChangeActiveColorTheme(listener, thisArg, disposables); return extHostTheming.onDidChangeActiveColorTheme(listener, thisArg, disposables);
} }
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册