mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-28 05:14:12 +08:00
* markdown: fix: reveal same-document links in Markdown editor Resolve Markdown fragments through the language service, synchronize optimistic webview edits with generation-aware recovery, and reveal same-document targets with the Markdown editor navigation API. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc095b22-94a6-4014-b515-fc1cfa228079 * markdown: refactor: rename edit generation to epoch Clarify that the synchronization token identifies an authoritative text baseline rather than incrementing for every edit, and document why same-document navigation needs it. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc095b22-94a6-4014-b515-fc1cfa228079 * markdown: refactor: extract recovering task queue Keep MarkdownEditorProvider focused on document and webview coordination while giving epoch recovery and barrier behavior a dedicated module and test suite. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc095b22-94a6-4014-b515-fc1cfa228079 * markdown: docs: document link and queue contracts Clarify link resolution and reuse behavior along with epoch invalidation, recovery, drain, and barrier semantics. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc095b22-94a6-4014-b515-fc1cfa228079 * markdown: fix: preserve edits across reload barriers Keep current-epoch edits ahead of a waiting webview reload so edits accepted while an earlier workspace edit is in flight are applied before the old webview is replaced. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc095b22-94a6-4014-b515-fc1cfa228079 --------- Copilot-Session: fc095b22-94a6-4014-b515-fc1cfa228079