Customize "Fix in Composer" message

When pressing “Fix in Composer”, it always sends this message:

For the code present, we get this error:
`<error>`
How can I resolve this? If you propose a fix, please make it concise.

Is there a way to customize this message? In my case, the fact that it says “If you propose a fix, please make it concise.” sometimes causes undesirable fixes.

For example, the AI will decide to do an inline cast of float to int to fix the fact it typed a class file field incorrectly. The proper solution would be to directly modify the incorrectly typed class field from float to int.

I would love to be able to customize this message to try what prompt suits my needs the best. In this case, I would try change the prompt to something like “Please attempt to fix the root issue rather then simple workarounds.”

1 Like

Hey, not currently, but it’s a good idea!
I’ve added this to our feedback tracker, to see if we can add it in a future update.

Hi, any update on this feature? I simply want to change the bottom text to my own message.

Currently I’m manually copy and pasting the linting error so I can avoid the “If you propose a fix, please make it concise.” which causes the AI to fix it in a half-baked way which would cause maintenance issues down the road.

I hope you can add this soon since it’ll speed up my workflow and this feature should be fairly simple to implement.

1 Like