mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 15:55:59 +01:00
Merge branch 'main' into merogge/terminal-suggest-wip
This commit is contained in:
@@ -437,6 +437,10 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
checkProposedApiEnabled(extension, 'resolvers');
|
||||
return initData.commit;
|
||||
},
|
||||
get handle(): string | undefined {
|
||||
checkProposedApiEnabled(extension, 'nativeWindowHandle');
|
||||
return initData.handle;
|
||||
}
|
||||
};
|
||||
if (!initData.environment.extensionTestsLocationURI) {
|
||||
// allow to patch env-function when running tests
|
||||
@@ -1450,6 +1454,10 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
checkProposedApiEnabled(extension, 'chatParticipantAdditions');
|
||||
return extHostChatAgents2.registerChatParticipantDetectionProvider(extension, provider);
|
||||
},
|
||||
registerRelatedFilesProvider(provider: vscode.ChatRelatedFilesProvider) {
|
||||
checkProposedApiEnabled(extension, 'chatEditing');
|
||||
return extHostChatAgents2.registerRelatedFilesProvider(extension, provider);
|
||||
}
|
||||
};
|
||||
|
||||
// namespace: lm
|
||||
|
||||
Reference in New Issue
Block a user