If your hit "Enter", the prompt is sent. However, for Copilot better understanding a longer prompt, it is good to use new lines to separate paragraphs. I hope, by default, hitting "Enter" means "new line" instead of "Send prompt".
TL;DR
- VS Code -> File -> Preferences -> Keyboard Shortcuts
- Search
workbench.action.chat.submit
, change it toCtrl + Enter
or anything you like. - Search
workbench.action.chat.submitSecondaryAgent
, change it toCtrl + Alt + Enter
or anything you like.
Top comments (0)