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.01k stars 213 forks source link

Shift + Enter doesn't create a newline at the cursor #694

Closed scscgit closed 1 week ago

scscgit commented 3 weeks ago

What happened?

As mentioned in comment

Shift + Return should add a newline on the position of the cursor. However, it doesn't. It creates a new line after the current line, and moves the cursor to that new line, but without moving the text after the cursor from the previous line to that new line.

Relevant log output or stack trace

No response

Steps to reproduce

  1. Type ab
  2. Press left arrow key
  3. Press Shift-Enter (at a|b)

Observe text:

ab

CodeGPT version

2.11.0-241.1

Operating System

Windows