[BUG] Claude Code not adding new files it created in the project

Resolved 💬 10 comments Opened Sep 5, 2025 by dliedke Closed Jan 20, 2026

Preflight Checklist

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

What's Wrong?

Claude Code not adding new files it created in the project

What Should Happen?

Automatically add new files created in the project

Error Messages/Logs

N/A

Steps to Reproduce

Create new python project in VS.NET 2022

Open terminal and start Claude Code

Prompt:
create a new file called ShowMessage.py to show a message in console, it should be called by PythonApplication1.py

Result:
File is created but not added to the python project

Expected
File is created and added to the python project

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

v1.0.92

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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