Multi-file edits - 0.37 update

I’ve given the new ‘Composer’ feature a quick try after work.

I very much look forward to testing it more on the weekend.

I’d love to be clearer about the following things.

I offer this list and structure as the basis for some documentation if it assists!

  • What functionality is Composer specifically designed for?

  • How is Composer different to:

    • Ctrl + K
    • Ctrl + K in the terminal
    • Ctrl + L
    • Ctrl + L in Interpreter Mode
  • What do the the different buttons mean on the ‘Composer’ tab - before accepting a code suggestion:

    • Save All
    • Reapply all
    • Reject all
    • Accept all
  • What do the different buttons mean on the suggested code tab - before accepting a code suggestion:

    • Suggested Code
    • Diff View
    • Save
    • Reapply
    • Accept
    • Reject
  • What do the the different buttons mean at the top-right of the Composer window:

    • Collapse
    • Reset Position
    • Reset Composer
  • How do the Composer interface elements work with each other, ie:

    • The inline tab which represents a suggestion which, when clicked on, opens the second tab in the Composer window

These are the steps I took:

  1. Open Cursor
  2. Press Ctrl + I
  3. The default placeholder text is:

Type your instructions, # to add files, / for commands

  1. I entered

#joke1.js I am just testing the brand new Composer feature in Cursor (the fork of VS Code) - what is it designed for?

  1. I have attached five screenshots:
  • Composer tab, before accepting suggestion
  • Suggested code tab, before accepting suggestion
  • Composer tab, after accepting suggestion
  • Multiple File Edit - Composer tab, before accepting solution
  • Multiple File Edit - Suggested code tab, before accepting solution

Screenshot 01 - Composer tab, before accepting suggestion

Screenshot 02 - Suggested code tab, before accepting suggestion

Screenshot 03 - Composer tab, after accepting suggestion

Screenshot 04 - Multiple File Edit - Composer tab, before accepting solution

Screenshot 05 - Multiple File Edit - Suggested code tab, before accepting solution

Edit:

I think I am getting a better understanding of it now.

After doing that last ‘multiple file edit’ test - cool!

4 Likes