Skip to main content
Version: 0.24.0

Function: trustWorkspace()

function trustWorkspace(dirs, names?): Promise<string[]>;

Defined in: core/workspaceTrust.ts:60

Trusts a workspace's extensions (its project scope's, all or names) with the code its lock has now: what the person does when the chat asks, or with extension trust. The names trusted.

Parameters​

ParameterType
dirsExtensionDirs
names?readonly string[]

Returns​

Promise<string[]>