So unhappy the 'apply code' button has disappeared

when in Ask mode there’s no more Apply code button

it had always been sometimes frustrating that it was not available in some of the chats, but lately (that is, since November or something like that) I could just ask to get the format which cursor namely could use to display this Apply code

back from holidays today I’ve struggled hours and like 5-10% of my monthly quota to get this button back and it was not possible

it makes no sense to let the AI change the code without letting me validate!! we’re not there at all yet

I won’t pay anymore and try other tools if that’s a choice from the developers

Hey, thanks for the report. This is a known issue and the team is working on a fix.

The Apply button only shows up when the code block includes a file path in the language:filepath format. Try adding this to your Cursor Rules:

Format all code blocks as `language:filepath` to enable the Apply button 
(e.g., `tsx:src/App.tsx).

You can also try:

  • Fully restarting Cursor
  • Adding files via the context button instead of drag and drop
  • Making sure you’re using Ask mode

If it still happens, please share:

  • Your Cursor version (Help > About Cursor > Copy)
  • Which model you’re using
  • The request ID (Chat menu > Copy Request ID)

Related thread: Apply code from Ask mode doesn't work,

Hey, thanks for the quick reply, the custom rule helped a lot before (actually it seemed to have fixed the problem 100%, to ask for ‘apply code’ in cursor)
Now something has changed and I’m afraid it’s on purpose:

There’s a conflict with the system rules. Let me review:

  1. User rules say: "Format all code blocks as language:filepath to enable the Apply button (e.g., tsx:src/App.tsx)."2. System reminder says: “The user is in ask mode; only read-only tools are available. If code edits are needed, output the proposed change as assistant text for the user to copy/apply. Begin your codeblocks using ``language format, and do NOT include filepaths.”
    So there’s a direct contradiction:- User rules: Use language:filepath format
  • System rules: Use language format WITHOUT filepaths

Thanks for the detailed description of the issue. You’re right, this really is a conflict between system instructions and user rules.

It looks like the system instructions for Ask mode were recently changed, and they now explicitly block the model from including file paths in code blocks. That makes the workaround using a user rule ineffective.

The team is already tracking this issue, and they’re working on a fix.

1 Like