mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
enable proposed API only in insiders
This commit is contained in:
@@ -96,7 +96,7 @@ export function createApiFactory(initData: IInitData, threadService: IThreadServ
|
||||
|
||||
if (extension.enableProposedApi) {
|
||||
|
||||
if (initData.environment.isBuilt && !initData.environment.extensionDevelopmentPath) {
|
||||
if (!initData.environment.enableProposedApi) {
|
||||
extension.enableProposedApi = false;
|
||||
console.warn('PROPOSED API is only available when developing an extension');
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ import { IApplyEditsOptions, TextEditorRevealType, ITextEditorConfigurationUpdat
|
||||
import { InternalTreeExplorerNodeContent } from 'vs/workbench/parts/explorers/common/treeExplorerViewModel';
|
||||
|
||||
export interface IEnvironment {
|
||||
isBuilt: boolean;
|
||||
enableProposedApi: boolean;
|
||||
appSettingsHome: string;
|
||||
disableExtensions: boolean;
|
||||
userExtensionsHome: string;
|
||||
|
||||
Reference in New Issue
Block a user