Skip to content

VS Code extension: clicking file links in chat opens external browser (vscode-resource.vscode-cdn.net) instead of navigating to local file/line #13718

Closed as duplicate

Description

@igl76

What version of the IDE extension are you using?

openai.chatgpt-26.304.20706-win32-x64

What subscription do you have?

Pro

Which IDE are you using?

VS Code

What platform is your computer?

Windows 10

What issue are you seeing?

Summary

Markdown file links in assistant responses are rendered as clickable blue links, but clicking them does not open the file in VS Code.
Instead, VS Code webview rewrites the path into a URL like:

https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/hp/.vscode/extensions/openai.chatgpt-26.304.20706-win32-x64/webview/...

That URL is then opened in Chrome and fails to resolve.

Actual Behavior

  • External browser (Chrome) opens.
  • Browser navigates to a file+.vscode-resource.vscode-cdn.net URL and fails.
  • No editor navigation occurs.

Impact

  • Breaks normal review workflow for line-level findings.
  • Makes assistant file references cumbersome to use.
  • Creates confusion because links appear like editor-navigation links but behave like broken web URLs.

Notes

  • As a workaround, non-clickable plain references (e.g., main.c:33) are usable with manual jump (Ctrl+G).
  • This looks like a webview link-routing/URI-conversion issue for Windows absolute paths.

What steps can reproduce the bug?

  1. Open VS Code with the Codex extension enabled.
  2. In chat, ask for a code review that includes file/line references.
  3. Click a rendered blue link to a local file line (example in response: main.c:33).
  4. Observe behavior.

What is the expected behavior?

  • Click should navigate inside VS Code to the local file and line (or at minimum open file in editor).
  • No external browser launch for local workspace file references.

Additional information

No response

Activity

  1. added
    extension
    on Mar 6, 2026
  2. added
    bug
    windows-os
    on Mar 6, 2026
  3. ScribbleGhost commented on Mar 9, 2026

    @ScribbleGhost

    Can confirm. Same issue here.

    Visual Studio Code
    Version: 1.110.1 (user setup)
    Commit: 61b3d0ab13be7dda2389f1d3e60a119c7f660cc3
    Date: 2026-03-06T23:03:27.520Z (2 days ago)
    Electron: 39.6.0
    ElectronBuildId: 13330601
    Chromium: 142.0.7444.265
    Node.js: 22.22.0
    V8: 14.2.231.22-electron.0
    OS: Windows_NT x64 10.0.26100
    
  4. loccedoutent-hub commented on Mar 10, 2026

    @loccedoutent-hub

    I have same issue. Also, even when I provide it direct instructions on how to send the link, within 1-2 responses it reverts to links that open in the browser and not in VS Code (if it even follows the instruction, which it doesn't maybe 30% of the time).

  5. aoaoaoao-wu commented on Mar 12, 2026

    @aoaoaoao-wu

    codex in cursor has same issue,and occasionally it works
    btw,Chinese in the link will be trans to %AE%3C%7U like

  6. pwylcrow commented on Mar 15, 2026

    @pwylcrow

    Same issue, it's driving me nuts.

  7. heckner-on commented on Mar 20, 2026

    @heckner-on

    Same here

  8. 2-fly-4-ai commented on Mar 26, 2026

    @2-fly-4-ai

    Omg is this a codex isseue? Killing me.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugextensionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions