Skip to content

Markdown Preview Render does terrible job showing Copilot changes #343080

Open

Description

  • Copilot Chat Extension Version: I do not see an extension version number in this version of VSCode - it appears to be folded directly into VSCode.
  • VS Code Version: 1.142
  • Feature (e.g. agent/edit/ask mode): Review changes

Steps to Reproduce:

  1. settings.json includes:
     "workbench.editorAssociations": {
         "*.md": "vscode.markdown.preview.editor"
     },
  2. Create or download an existing markdown file
  3. Ask copilot to edit it
  4. In the Changes tab, open the document
Image
  1. Assuming you have markdown configured to open in preview, it is impossible to tell what Copilot changed

As someone who consumes a lot of tokens a month, and uses markdown as a way to manage engineering specs, this is a serious productivity issue.

Activity

  1. vs-code-engineering commented on Oct 20, 2026

    @vs-code-engineering
    Contributor

    Thanks for creating this issue! It looks like you may be using an old version of VS Code; the latest stable release is 1.142.0. Please try upgrading to the latest version and checking whether this issue remains.

    Happy Coding!

  2. jzabroski commented on Oct 20, 2026

    @jzabroski
    Author

    Updated version info:

    Version: 1.142.0 (system setup)
    Commit: 6d62b1d
    Date: 2026-10-15T03:02:17Z
    Electron: 43.7.7
    ElectronBuildId: 15553055
    Chromium: 150.0.7871.250
    Node.js: 24.21.0
    V8: 15.0.245.31-electron.0
    @github/copilot: 1.0.95-0.unstable.r38345923974.g3754b70
    @github/copilot-sdk: 1.0.19.38345923974.g3754b70
    OS: Windows_NT x64 10.0.26200

  3. rossdonald commented on Oct 21, 2026

    @rossdonald

    There is a setting to show the diff view using a different editor, but it doesn't actually work for the changes shown from the local harness.
    They're moving away from the local harness, so they probably won't fix it.
    It should work in the git diff when clicking on a single file.

      "workbench.editorAssociations": {
        "*.md": "vscode.markdown.preview.editor",
      },
      "workbench.diffEditorAssociations": {
        "*.md": "default",
      },
  4. jzabroski commented on Oct 21, 2026

    @jzabroski
    Author

    Actually, I am beginning to think this is a duplicate of another issue, where the issue only occurs if you previously had the document open. If you close the document, and open it, the issue does not seem to occur and it properly shows green-additions and red-deletions. Will do some more observations today and confirm.

  5. jzabroski commented on Oct 21, 2026

    @jzabroski
    Author

    6. They're moving away from the local harness

    rossdonald Interesting - Where does it say that? What does it mean to not have a "local harness"? Are you referring to "Copilot Cloud"? If they force us to use the cloud, I am going to probably push pretty hard to use openhands internally.

  6. rossdonald commented on Oct 21, 2026

    @rossdonald

    In recent release notes, it says they have made the copilot harness the default with the intention of consolidating on copilot. It's just the engine that the agent uses to call tools etc. (it's not cloud) covered in this issue.
    The different harnesses are local, copilot, claude, codex shown here: #339363 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions