mirror of
https://github.com/coder/code-server.git
synced 2026-05-12 15:27:25 +02:00
chore(vscode): update to 1.56.0
This commit is contained in:
50
lib/vscode/src/vs/vscode.d.ts
vendored
50
lib/vscode/src/vs/vscode.d.ts
vendored
@@ -1665,6 +1665,12 @@ declare module 'vscode' {
|
||||
* Options to configure the behavior of the quick pick UI.
|
||||
*/
|
||||
export interface QuickPickOptions {
|
||||
|
||||
/**
|
||||
* An optional string that represents the title of the quick pick.
|
||||
*/
|
||||
title?: string;
|
||||
|
||||
/**
|
||||
* An optional flag to include the description when filtering the picks.
|
||||
*/
|
||||
@@ -1847,6 +1853,11 @@ declare module 'vscode' {
|
||||
*/
|
||||
export interface InputBoxOptions {
|
||||
|
||||
/**
|
||||
* An optional string that represents the title of the input box.
|
||||
*/
|
||||
title?: string;
|
||||
|
||||
/**
|
||||
* The value to prefill in the input box.
|
||||
*/
|
||||
@@ -2157,11 +2168,34 @@ declare module 'vscode' {
|
||||
contains(other: CodeActionKind): boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* The reason why code actions were requested.
|
||||
*/
|
||||
export enum CodeActionTriggerKind {
|
||||
/**
|
||||
* Code actions were explicitly requested by the user or by an extension.
|
||||
*/
|
||||
Invoke = 1,
|
||||
|
||||
/**
|
||||
* Code actions were requested automatically.
|
||||
*
|
||||
* This typically happens when current selection in a file changes, but can
|
||||
* also be triggered when file content changes.
|
||||
*/
|
||||
Automatic = 2,
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains additional diagnostic information about the context in which
|
||||
* a [code action](#CodeActionProvider.provideCodeActions) is run.
|
||||
*/
|
||||
export interface CodeActionContext {
|
||||
/**
|
||||
* The reason why code actions were requested.
|
||||
*/
|
||||
readonly triggerKind: CodeActionTriggerKind;
|
||||
|
||||
/**
|
||||
* An array of diagnostics.
|
||||
*/
|
||||
@@ -2419,13 +2453,13 @@ declare module 'vscode' {
|
||||
/**
|
||||
* Information about where a symbol is defined.
|
||||
*
|
||||
* Provides additional metadata over normal [location](#Location) definitions, including the range of
|
||||
* Provides additional metadata over normal {@link Location location} definitions, including the range of
|
||||
* the defining symbol
|
||||
*/
|
||||
export type DefinitionLink = LocationLink;
|
||||
|
||||
/**
|
||||
* The definition of a symbol represented as one or many [locations](#Location).
|
||||
* The definition of a symbol represented as one or many {@link Location locations}.
|
||||
* For most programming languages there is only one location at which a symbol is
|
||||
* defined.
|
||||
*/
|
||||
@@ -9277,7 +9311,7 @@ declare module 'vscode' {
|
||||
/**
|
||||
* Object with environment variables that will be added to the VS Code process.
|
||||
*/
|
||||
env?: { [key: string]: string | null };
|
||||
env?: { [key: string]: string | null | undefined };
|
||||
|
||||
/**
|
||||
* Whether the terminal process environment should be exactly as provided in
|
||||
@@ -10663,6 +10697,16 @@ declare module 'vscode' {
|
||||
* @return A [disposable](#Disposable) that unregisters this provider when being disposed.
|
||||
*/
|
||||
export function registerFileSystemProvider(scheme: string, provider: FileSystemProvider, options?: { readonly isCaseSensitive?: boolean, readonly isReadonly?: boolean }): Disposable;
|
||||
|
||||
/**
|
||||
* When true, the user has explicitly trusted the contents of the workspace.
|
||||
*/
|
||||
export const isTrusted: boolean;
|
||||
|
||||
/**
|
||||
* Event that fires when the current workspace has been trusted.
|
||||
*/
|
||||
export const onDidGrantWorkspaceTrust: Event<void>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user