mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Merge from vscode 1ce89e2cb720d69c496c2815c4696ee4fd4429a6 (#6779)
* Merge from vscode 1ce89e2cb720d69c496c2815c4696ee4fd4429a6 * redisable accounts because of issues
This commit is contained in:
29
src/vs/vscode.proposed.d.ts
vendored
29
src/vs/vscode.proposed.d.ts
vendored
@@ -565,22 +565,6 @@ declare module 'vscode' {
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Joh: onDidExecuteCommand
|
||||
|
||||
export interface CommandExecutionEvent {
|
||||
command: string;
|
||||
arguments: any[];
|
||||
}
|
||||
|
||||
export namespace commands {
|
||||
/**
|
||||
* An event that is emitted when a [command](#Command) is executed.
|
||||
*/
|
||||
export const onDidExecuteCommand: Event<CommandExecutionEvent>;
|
||||
}
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Joh: decorations
|
||||
|
||||
//todo@joh -> make class
|
||||
@@ -1046,6 +1030,15 @@ declare module 'vscode' {
|
||||
*/
|
||||
constructor(label: TreeItemLabel, collapsibleState?: TreeItemCollapsibleState);
|
||||
}
|
||||
|
||||
export interface TreeViewOptions2<T> extends TreeViewOptions<T> {
|
||||
/**
|
||||
* Whether the tree supports multi-select. When the tree supports multi-select and a command is executed from the tree,
|
||||
* the first argument to the command is the tree item that the command was executed on and the second argument is an
|
||||
* array containing the other selected tree items.
|
||||
*/
|
||||
canSelectMany?: boolean;
|
||||
}
|
||||
//#endregion
|
||||
|
||||
//#region CustomExecution
|
||||
@@ -1168,11 +1161,11 @@ declare module 'vscode' {
|
||||
/**
|
||||
* Content security policy source for webview resources.
|
||||
*
|
||||
* This is origin used in a content security policy rule:
|
||||
* This is the origin that should be used in a content security policy rule:
|
||||
*
|
||||
* ```
|
||||
* img-src https: ${webview.cspSource} ...;
|
||||
* ````
|
||||
* ```
|
||||
*/
|
||||
readonly cspSource: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user