Composer applies comments like // rest of code

Sometimes composer applies comments that say this code is left untouched and then overwrites the original code with this comment which leads to code removal which is very unfortunate. In those cases, you have to reject and re-do the composer instructions.

I believe this could probably be solved with some custom cursor rules, did anybody else run into those issues?

2 Likes

Yeap. No solution found. Annoying :frowning:

Hi @sebastianhoitz

I’m not sure if this will work. I can’t reproduce a situation that would trigger it, but you could try adding it to your cursor settings:

Don’t write phrases like “rest of code”. Always provide the full code, including the parts that you are not planning to change.

Let me know later if it works.