Add option to collapse code suggestions

Feature request for product/service

Chat

Describe the request

I sometimes ask the agents to suggest implementations, which sometimes generates multiple, potentially long code blocks. It would be helpful to be able to collapse these suggestions to make the answer more readable and allow for only the relevant code blocks to stay open at a time.

Operating System (if it applies)

MacOS

Hi @Mariana_Athayde Thank you very much for the feature request! Can you clarify if you’re in the new Agents Window or in the “traditional” IDE view?

As agents become more autonomous and work for longer, we are making some design choices to try to simplify the information that is presented back to the user so it’s not a huge deluge of information all at once.

If possible, can you provide a screenshot? I’m thinking that the nature of your ask may have prompted the agent to present all of the solutions at once rather than “Go off and do this task” for example, which might result in the output being more organized / hidden a bit.

One more thing that’s interesting is that your ask is pretty similar to some changes we’ve made discussed here, but I just want to clarify what view you’re in.
https://forum.cursor.com/t/code-changes-made-when-building-a-plan-are-hidden-in-chat/165323/3

I mean the Agent window. Here’s a dummy suggestion for a “feature” with multiple long files:

Hopefully this is enough to illustrate what I mean. I would have to scroll over long files to find the one I’m looking for, and maybe have to go back and forth when I want to look at one at a time. So an option to collapse these code blocks would be helpful