How to prevent "enter" from sending text to Copilot chat and instead create a new line? #86624
-
Select Topic AreaProduct Feedback BodyWhen using Copilot chat, I often want to sent multiple lines of text. For example: Can you please explain to me what this code will do:
```python
name = 'sam'
print(name)
``` To create a new line, I need to use Shift+Enter. I would prefer if I could configure Enter to create a new line, and Shift+Enter to send the input. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Here's a quick tutorial to achieve your desired behavior:
If this helped you, consider marking my answer as the "Accepted answer" 😄 |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
it seems the recent updates to copilot reset this for me, so I had to go back and redo it, but this still works as outlined above - thank you! |
Beta Was this translation helpful? Give feedback.
As of 2024-05-05 I think the name of the command has changed. It is now
workbench.action.chat.submit
. Change this keybinding toshift + enter
.Default:
Change: