sqls icon indicating copy to clipboard operation
sqls copied to clipboard

Formatter issues

Open astridlyre opened this issue 2 years ago • 2 comments

Describe the bug The formatter seems to have issues in certain cases.

To Reproduce Steps to reproduce the behavior: See before and after pictures for two different cases: Before 1: Area-2022-03-31-1648773737_620x361

After 1: Area-2022-03-31-1648773747_611x343

Before 2: Area-2022-03-31-1648773774_425x265

After 2: Area-2022-03-31-1648773781_498x216

Expected behavior The formatter wouldn't remove line breaks and merge lines together when it isn't appropriate.

Versions (please complete the following information):

  • OS Version: Linux 5.17.1-arch1-1 x86_64 GNU/Linux
  • sqls Version: "sqls version Version:, Revision:"

astridlyre avatar Apr 01 '22 00:04 astridlyre

What is difference in before1 and before2 ?

mattn avatar Dec 30 '23 14:12 mattn

Ah, This is occured with keyword USER. maybe.

mattn avatar Dec 30 '23 14:12 mattn