-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed as duplicate of#12661
Labels
bugSomething isn't workingSomething isn't workingextensionIssues related to the VS Code extensionIssues related to the VS Code extensionwindows-osIssues related to Codex on Windows systemsIssues related to Codex on Windows systems
Description
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.netURL 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?
- Open VS Code with the Codex extension enabled.
- In chat, ask for a code review that includes file/line references.
- Click a rendered blue link to a local file line (example in response:
main.c:33). - 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingextensionIssues related to the VS Code extensionIssues related to the VS Code extensionwindows-osIssues related to Codex on Windows systemsIssues related to Codex on Windows systems