In my current workflow, I ask the LLM to do some change in my script. Then I look at the diff, and if I don’t like it, I iterate on it, which means that I ask the LLM to do the modification differently in some way. As far as I can see, this does not work well with the chat (Ctrl+L). This is because the LLM doesn’t seem to see the diff view, instead it just sees what the file would look like if I accept the diff view. This results in the LLM suggesting incomplete diffs because it assumes that the previous diff has been accepted.
Now Composer seems to be able to handle this because it does see the diff view in its context (in addition to suggesting diffs right away). Does it mean that I should just use Composer for my workflow?
In any case, why doesn’t Chat see the diff view? I personally feel like one rarely wants to chat with the LLM with a pending diff but with the LLM basically thinking the diff is already accepted.
Also, I’m happy to hear any suggestions about workflows because I’m not sure I’m using Cursor the right way.