Composer - SO FRUSTRATING when it stops writing into the file

PLEASE fix this bug!

I’ve got to restart my composer window and lose all the context because it decides to output the code into the chat and not the file.

It’s SO good then it works, but this bug is so frustrating