Clicking on file names in chat opens browser instead of VS Code

Resolved 💬 2 comments Opened Mar 26, 2026 by abhinandangajar Closed Mar 26, 2026

What version of the IDE extension are you using?

26.324.21329

What subscription do you have?

Oracle

Which IDE are you using?

VS Code

What platform is your computer?

Windows (latest updates)

What issue are you seeing?

When asking Codex to update a JSON file and provide which lines are updated, Codex shows the filename with line numbers as clickable links in the chat. When clicking these links, they attempt to open in the default browser instead of opening within VS Code. The file cannot be located in the browser, resulting in a failed navigation.

This issue appears to affect almost all file types that Codex shows in chat, not just JSON files.

What steps can reproduce the bug?

  1. Open a JSON file in VS Code
  2. Ask Codex to update the JSON content
  3. Ask Codex to show which lines were updated
  4. Codex will display the filename with line numbers as clickable links
  5. Click on the file link in the chat
  6. The link opens in the default browser instead of VS Code

What is the expected behavior?

Clicking on file paths in the Codex chat should open the file within VS Code at the specified line number, not in the browser.

What is the actual behavior?

Example: Clicking on the file name OPENLZ_CONTEXT_TRANSFER.md, The link opens in the browser with a URL like: https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/agajar/.vscode/extensions/openai.chatgpt-26.324.21329-win32-x64/webview/

The file cannot be located and results in a failed navigation.

Additional information

  • Issue affects almost all file types shown in Codex chat
  • Latest VS Code version
  • Latest Codex extension version (26.324.21329)

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗