carlrobertoh / CodeGPT

The leading open-source AI copilot for JetBrains. Connect to any model in any environment, and customize your coding experience in any way you like.
https://codegpt.ee
Apache License 2.0
1.1k stars 232 forks source link

Allow shift-enter in edit code to add a line break instead of executing prompt. #767

Open jurmous opened 1 week ago

jurmous commented 1 week ago

Describe the need of your request

I often want to have a multiline example in edit code like an instruction + a code example in the edit code window. For this I press shift-enter. Currently it immediately executes my half written prompt. I would like it adds the line break.

Proposed solution

Add a line break in the edit code window when pressing shift-enter instead of starting execution of the code edit.

Additional context

No response