Weird behavior for beginning commas

I have the code formatter setup mostly how I like it, but I'm getting really weird behavior from the select statement's settings for beginning with a comma. When run, it's moving the comma from the end of the column (as desired), but it's also adding in a new line. I don't see an obvious way to turn off this behavior. Have I missed something?

4 comments

@Jacob Mastel Could you email me vasily.chernov@jetbrains.com your DG settings?

0

Which version of DataGrip do you use, and which dialect (DBMS type)?

 

0

Vasily:

I have emailed you directly. Thank you for looking into this.

Leonid:

I'm using the latest version of DataGrip, with a standard ANSI dialect. It doesn't appear to make a difference between Oracle or SQL Server though.

0

Jacob, I couldn't reproduce it in DataGrip version 18.3.3. Please attach your settings and the text (as a text, not as a picture).

P.S. the only case when I could reproduce it is when the option to keep line breaks when reformatting is ON, but it's the expected behaviour of the formatter (it keeps users line breaks, as asked). Please check that that option is OFF.

0

Please sign in to leave a comment.