reformatter not working

Answered

I tried to use the reformatter tool, but it does nothing even I purposely made the code messy. All it say on line changed, content is already properly formatted. I am writing sql, so code like this is definitely not formatted properly.

Select a, 

b, from 

database1

limit 10

0
2 comments

Hello! Which PyCharm version do you use? Could you please attach screenshots that show the problem? Thank you.

0
Avatar
Permanently deleted user

I had the same problem. Selecting a dialect for the file as anything other than <Generic SQL> solved it for me and SQL is now being formatted nicely.

1

Please sign in to leave a comment.