Skip to content
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

Cannot apply modifications to the specified target file in a multi-file context #2597

Open
graceyangfan opened this issue Jan 19, 2025 · 0 comments

Comments

@graceyangfan
Copy link

When using the Composer API or editor integration in a multi-file context, modifications are incorrectly applied to File B instead of the intended target File A. This issue causes the following problems:

Prompt guidance does not take effect.
There is no way to manually specify the correct target file for applying changes.
Steps to Reproduce
Load two files, File A and File B, into the Composer/editor.
Specify modifications to be applied to File A via the API.
Observe that the modifications are incorrectly applied to File B.
Expected Behavior
The modifications should be applied to the user-specified target file, File A.

Actual Behavior
The modifications are incorrectly applied to File B, and there is no prompt or manual option to override the target.
cursor:v0.44.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant