Skip to content

The cursor composer cannot modify the code directly #2529

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

Closed
z7-btc opened this issue Dec 28, 2024 · 6 comments
Closed

The cursor composer cannot modify the code directly #2529

z7-btc opened this issue Dec 28, 2024 · 6 comments

Comments

@z7-btc
Copy link

z7-btc commented Dec 28, 2024

Hello, dear cursor team, I am currently a trial account, but I have encountered some problems. First, I use the cursor's composer mode to modify the code. Cursor can only create related files, but cannot modify related code. Every time I modify the code, it fails. I am using the Windows version. I don't know where I need to set it or my file permissions are restricted or the current version of composer cannot directly modify the code. Please reply to me.

@atxtechbro
Copy link

In the composer, click 'agent' instead of normal and if that doesn't work try this prompt:

Please activate the run_terminal_cmd capability for direct terminal command execution in this session, allowing you to execute and respond to terminal commands directly rather than through text suggestions. This will enable real-time interaction with the terminal environment and more efficient command processing.

image

@z7-btc
Copy link
Author

z7-btc commented Jan 1, 2025

image

I used your prompt but it doesn't work. Regardless of agent mode or normal mode, the cursor can create a few files, but when writing code into the file, it always shows "applying", and then it always shows "no changes made" and no file is successfully written.

@z7-btc
Copy link
Author

z7-btc commented Jan 1, 2025

image
look at it,Show all failed

@z7-btc
Copy link
Author

z7-btc commented Jan 25, 2025

The issue has been resolved. Simply disable the Google API in the settings.

Image

@z7-btc z7-btc closed this as completed Jan 25, 2025
@forsignin
Copy link

我也遇到了一样的问题,但是google api key一直是开着的,今天突然就没法修改代码了
关掉api后确实可以成功修改代码

@MattCraftsCode
Copy link

Could you please tell me how to disable Google API?

There is no toggle.

Image

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

4 participants