* Get all URI and edits pairs * * @returns Array of [URI, TextEdit[]] pairs
()
| 201 | * @returns Array of [URI, TextEdit[]] pairs |
| 202 | */ |
| 203 | entries(): [{ toString(): string; fsPath: string }, TextEdit[]][] { |
| 204 | return Array.from(this._edits.entries()).map(([uriString, edits]) => { |
| 205 | // Parse the URI string back to a URI-like object |
| 206 | return [{ toString: () => uriString, fsPath: uriString.replace(/^file:\/\//, "") }, edits] |
| 207 | }) |
| 208 | } |
| 209 | } |