claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

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

Open dliedke opened this issue 4 months ago • 4 comments

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

dliedke avatar Sep 05 '25 13:09 dliedke

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/7184 (closed)

This issue appears to be related to a previously reported and closed issue. The closed issue described the same problem: files created by Claude Code not being added to project configurations (specifically mentioned .pyproj files).

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Sep 05 '25 13:09 github-actions[bot]

This is the offical bug.

dliedke avatar Sep 05 '25 13:09 dliedke

@claude Hello, any updates on this? New files are not added in the project for any project type in VS.NET when using Claude Code.

dliedke avatar Nov 18 '25 23:11 dliedke

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 19 '25 10:12 github-actions[bot]

It is still not fixed

dliedke avatar Dec 19 '25 15:12 dliedke