Unexpected behavior when inserting new line in the middle of SQL statment

Answered

After updating Pycharm/Datagrip to 2020.1 when pressing return in the middle of a Postgres query string weird things happen.

 

I've tried disabling the formatting for Postgres, that doesn't fix it. Disabling the DataGrip plugin altogether does stop it, so I know it's related to DataGrip.

I've tried all the combinations of the SmartKey settings relating to SQL.

 

Any help would be appreciated, this is driving me nuts.

 

3 comments
Comment actions Permalink

Have you tried to turn off Insert string concatenation on Enter?

0
Comment actions Permalink

Sorry changing that option doesn't seem to help

0
Comment actions Permalink

I created an issue based on your description https://youtrack.jetbrains.com/issue/DBE-10627

 

 

0

Please sign in to leave a comment.