claude-code - 💡(How to fix) Fix [BUG] Newly generated files not available in Files panel

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

Fix Action

Fix / Workaround

Workaround observed: only a full absolute path link works. The file is visible in VS Code immediately after creation, so the file itself is written correctly — it's specifically the link resolution in the Claude Code UI that fails to pick up newly created files.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When a new file is created during a session (e.g. via the Write tool), the Claude Code app does not correctly resolve relative markdown links to that file in the assistant's response. The link appears in the chat but clicking it does nothing or fails to open the file.

Workaround observed: only a full absolute path link works. The file is visible in VS Code immediately after creation, so the file itself is written correctly — it's specifically the link resolution in the Claude Code UI that fails to pick up newly created files.

Also noted: in-app file search does not find newly created files either until some kind of refresh occurs.

What Should Happen?

Claude Code should check the filesystem and be sure to accurately reflect which files exist at any time.

Error Messages/Logs

Steps to Reproduce

  • Ask Claude to create a new file (e.g. some/nested/newfile.md)
  • Claude responds with a relative markdown link to that file
  • Click the link — it does not open
  • Replace with absolute path — that works

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

Claude 1.7196.0 (2dbd78) 2026-05-12T05:34:40.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING