Skip to content

Commit

Permalink
re-order WorkspaceEdit#set overloads (#168083)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken authored Dec 5, 2022
1 parent 11367ba commit dcc6d8f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/vscode-dts/vscode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3647,36 +3647,36 @@ declare module 'vscode' {
has(uri: Uri): boolean;

/**
* Set (and replace) notebook edits for a resource.
* Set (and replace) text edits or snippet edits for a resource.
*
* @param uri A resource identifier.
* @param edits An array of edits.
*/
set(uri: Uri, edits: readonly NotebookEdit[]): void;
set(uri: Uri, edits: ReadonlyArray<TextEdit | SnippetTextEdit>): void;

/**
* Set (and replace) notebook edits with metadata for a resource.
* Set (and replace) text edits or snippet edits with metadata for a resource.
*
* @param uri A resource identifier.
* @param edits An array of edits.
*/
set(uri: Uri, edits: ReadonlyArray<[NotebookEdit, WorkspaceEditEntryMetadata]>): void;
set(uri: Uri, edits: ReadonlyArray<[TextEdit | SnippetTextEdit, WorkspaceEditEntryMetadata]>): void;

/**
* Set (and replace) text edits or snippet edits for a resource.
* Set (and replace) notebook edits for a resource.
*
* @param uri A resource identifier.
* @param edits An array of edits.
*/
set(uri: Uri, edits: ReadonlyArray<TextEdit | SnippetTextEdit>): void;
set(uri: Uri, edits: readonly NotebookEdit[]): void;

/**
* Set (and replace) text edits or snippet edits with metadata for a resource.
* Set (and replace) notebook edits with metadata for a resource.
*
* @param uri A resource identifier.
* @param edits An array of edits.
*/
set(uri: Uri, edits: ReadonlyArray<[TextEdit | SnippetTextEdit, WorkspaceEditEntryMetadata]>): void;
set(uri: Uri, edits: ReadonlyArray<[NotebookEdit, WorkspaceEditEntryMetadata]>): void;

/**
* Get the text edits for a resource.
Expand Down

0 comments on commit dcc6d8f

Please sign in to comment.