@@ -2495,7 +2495,8 @@ declare module 'vscode' {
24952495 }
24962496
24972497 /**
2498- * A workspace edit represents textual changes for many documents.
2498+ * A workspace edit represents textual and files changes for
2499+ * multiple resources and documents.
24992500 */
25002501 export class WorkspaceEdit {
25012502
@@ -2556,7 +2557,7 @@ declare module 'vscode' {
25562557 /**
25572558 * Get all text edits grouped by resource.
25582559 *
2559- * @return An array of `[Uri, TextEdit[]]`-tuples.
2560+ * @return A shallow copy of `[Uri, TextEdit[]]`-tuples.
25602561 */
25612562 entries ( ) : [ Uri , TextEdit [ ] ] [ ] ;
25622563
@@ -2585,14 +2586,18 @@ declare module 'vscode' {
25852586 /**
25862587 * Get the resource edits for this workspace edit.
25872588 *
2588- * @returns A array of uri-tuples in which a rename-edit
2589+ * @returns A shallow copy of uri-tuples in which a rename-edit
25892590 * is represented as `[from, to]`, a delete-operation as `[from, null]`,
25902591 * and a create-operation as `[null, to]`;
25912592 */
25922593 resourceEdits ( ) : [ Uri , Uri ] [ ] ;
25932594
25942595 /**
2596+ * Get all edits, textual changes and file changes. The order is the order
2597+ * in which edits have been added to this workspace edits. Textuals edits
2598+ * are grouped and the first textual edit for a resource matters.
25952599 *
2600+ * @returns A shallow copy of all changes.
25962601 */
25972602 allEntries ( ) : ( [ Uri , TextEdit [ ] ] | [ Uri , Uri ] ) [ ] ;
25982603 }
0 commit comments