cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Composer does not create files in most cases.

Open emadurandal opened this issue 1 year ago • 4 comments

Composer does not create files in most cases. In many cases, the composer only outputs the contents of the files as text and does not actually create the files.

Example of a prompt for successful file creation:

  • "create a Todo app with react"

Example of a prompt for NOT successful file creation:

  • "Make an Othello game in Python" image
  • "create a README.md"
  • "create a package.json"
  • "create a tsconfig.js"
  1. If you can, please include a screenshot of your problem image

  2. Please include the name of your operating system macos Sonoma, and cursor version is 0.39.6

  3. If you can, steps to reproduce are super helpful type a prompt like "create a README.md", "create a package.json", "create a tsconfig.js", etc in Composer pane.

emadurandal avatar Aug 22 '24 03:08 emadurandal

Im seeing the same behaviour. Same OS and version as @emadurandal

rishabhpoddar avatar Aug 25 '24 14:08 rishabhpoddar

I'm seeing this as well, it was working for a bit and then stopped updating certain files, even if they are included.

cjgammon avatar Sep 01 '24 15:09 cjgammon

seeing this as well

i-am-logger avatar Sep 04 '24 05:09 i-am-logger

Same for me

fkdiomande avatar Sep 12 '24 14:09 fkdiomande

@rishabhpoddar @cjgammon @i-am-logger @fkdiomande

Try the following prompt. Specifying a directory path seems to work

Create a README.md at ./

But, I think AI should take into account the user's intentions even without specifying a path

emadurandal avatar Sep 15 '24 12:09 emadurandal

Suffering this as well, it's driving me nuts. (I see the files appear briefly, then they vanish 😭 )

oreganmike avatar Sep 22 '24 03:09 oreganmike

hurt me so much

hzc54188 avatar Sep 22 '24 15:09 hzc54188

@rishabhpoddar @cjgammon @i-am-logger @fkdiomande

Try the following prompt. Specifying a directory path seems to work

Create a README.md at ./

But, I think AI should take into account the user's intentions even without specifying a path

Weirdly, this works. I restart Composer until this gives me a README.md file. Then, I write my prompt in that session.

almirsarajcic avatar Sep 26 '24 17:09 almirsarajcic

+1, no file created with composer.

bmills22 avatar Oct 11 '24 20:10 bmills22

When I said "can you touch all the files mentioned" that triggered it all to start working, and ironically it didn't touch them but instead created and wrote to them.

catpuking avatar Oct 11 '24 23:10 catpuking

When I said "can you touch all the files mentioned" that triggered it all to start working, and ironically it didn't touch them but instead created and wrote to them.

This didn't help in my case. It just got cursor to start printing every single file in my project.

It was creating new files and dirs properly, but out of the blue it stopped...

I urge the devs to fix this asap.

nickohold avatar Oct 19 '24 09:10 nickohold