mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-12 02:58:31 -05:00
Merge from vscode a348d103d1256a06a2c9b3f9b406298a9fef6898 (#15681)
* Merge from vscode a348d103d1256a06a2c9b3f9b406298a9fef6898 * Fixes and cleanup * Distro * Fix hygiene yarn * delete no yarn lock changes file * Fix hygiene * Fix layer check * Fix CI * Skip lib checks * Remove tests deleted in vs code * Fix tests * Distro * Fix tests and add removed extension point * Skip failing notebook tests for now * Disable broken tests and cleanup build folder * Update yarn.lock and fix smoke tests * Bump sqlite * fix contributed actions and file spacing * Fix user data path * Update yarn.locks Co-authored-by: ADS Merger <karlb@microsoft.com>
This commit is contained in:
@@ -315,6 +315,11 @@ export const schema: IJSONSchema = {
|
||||
body: 'onNotebook:${10:viewType}',
|
||||
description: nls.localize('vscode.extension.activationEvents.onNotebook', 'An activation event emitted whenever the specified notebook document is opened.'),
|
||||
},
|
||||
{
|
||||
label: 'onAuthenticationRequest',
|
||||
body: 'onAuthenticationRequest:${11:authenticationProviderId}',
|
||||
description: nls.localize('vscode.extension.activationEvents.onAuthenticationRequest', 'An activation event emitted whenever sessions are requested from the specified authentication provider.')
|
||||
},
|
||||
{
|
||||
label: '*',
|
||||
description: nls.localize('vscode.extension.activationEvents.star', 'An activation event emitted on VS Code startup. To ensure a great end user experience, please use this activation event in your extension only when no other activation events combination works in your use-case.'),
|
||||
@@ -410,6 +415,48 @@ export const schema: IJSONSchema = {
|
||||
}
|
||||
]
|
||||
},
|
||||
capabilities: {
|
||||
description: nls.localize('vscode.extension.capabilities', "Declare the set of supported capabilities by the extension."),
|
||||
type: 'object',
|
||||
properties: {
|
||||
virtualWorkspaces: {
|
||||
description: nls.localize('vscode.extension.capabilities.virtualWorkspaces', "Declares whether the extension should be enabled in virtual workspaces. A virtual workspace is a workspace which is not backed by any on-disk resources. When false, this extension will be automatically disabled in virtual workspaces. Default is true."),
|
||||
type: 'boolean',
|
||||
default: true
|
||||
},
|
||||
untrustedWorkspaces: {
|
||||
description: nls.localize('vscode.extension.capabilities.untrustedWorkspaces', 'Declares how the extension should be handled in untrusted workspaces.'),
|
||||
type: 'object',
|
||||
required: ['supported'],
|
||||
defaultSnippets: [
|
||||
{ body: { supported: '${1:limited}', description: '${2}' } },
|
||||
],
|
||||
properties: {
|
||||
supported: {
|
||||
markdownDescription: nls.localize('vscode.extension.capabilities.untrustedWorkspaces.supported', "Declares the level of support for untrusted workspaces by the extension."),
|
||||
type: ['string', 'boolean'],
|
||||
enum: ['limited', true, false],
|
||||
enumDescriptions: [
|
||||
nls.localize('vscode.extension.capabilities.untrustedWorkspaces.supported.limited', "The extension will be enabled in untrusted workspaces with some functionality disabled."),
|
||||
nls.localize('vscode.extension.capabilities.untrustedWorkspaces.supported.true', "The extension will be enabled in untrusted workspaces with all functionality enabled."),
|
||||
nls.localize('vscode.extension.capabilities.untrustedWorkspaces.supported.false', "The extension will not be enabled in untrusted workspaces."),
|
||||
]
|
||||
},
|
||||
restrictedConfigurations: {
|
||||
description: nls.localize('vscode.extension.capabilities.untrustedWorkspaces.restrictedConfigurations', "A list of configuration keys contributed by the extension that should not use workspace values in untrusted workspaces."),
|
||||
type: 'array',
|
||||
items: {
|
||||
type: 'string'
|
||||
}
|
||||
},
|
||||
description: {
|
||||
type: 'string',
|
||||
markdownDescription: nls.localize('vscode.extension.capabilities.untrustedWorkspaces.description', "A description of how workspace trust affects the extensions behavior and why it is needed. This only applies when `supported` is not `true`."),
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
scripts: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
|
||||
Reference in New Issue
Block a user