-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cody applies changes to the wrong file when you work under the certain folder #6316
Comments
Hey @DzmitrySudnik Thank you for reporting the issue. |
@PriNova it shows |
i have a similar issue - my project name is tester. inside that i have another folder called tester with a file called xyz.py so the path to this file is |
On which OS are you? |
I’m in MacOS |
I'm on Windows 11. The bug is reproduced both on a standalone desktop VSCode just working in a local Windows folder and on a remote linux backend over SSH. |
Version
v1.48.1
Describe the bug
In my setup I have a root folder with a bunch of subfolders, one of subfolders has the same name as the root one. When I try to use Smart Apply on a file in this subfolder Cody creates/updates files on one level up.
Expected behavior
Cody changes the file you are working on, it doesn't create copies of that file in other places.
Additional context
To reproduce:
demo
|- demo
|-- |- test.py
demo
|- demo
|-- |- test.py
|- test.py <--- NEW FILE created by Cody with content of demo/demo/test.py
If I have a more complex structure under demo/demo Cody recreates the entire structure just on a one level up.
The text was updated successfully, but these errors were encountered: