How to format binary expressions on a single line?


A colleage suggested I should try DataGrip as an alternative to Sql Prompt, but so far I've been having a hard time getting adjusted, mostly because of the formatting. My main gripe is as follows:

I have a pretty simple query with a WHERE clause containing a few segments:

Can somebody pleae tell me how I can get both parts of the binary expressions to be on a single line?!? 

It shouldn't be so hard to get it to look like this:

But for some reason it DataGrip keeps putting the two values on separate lines. The only formatting option I've found that does anything to the formatting of these expressions is this one, but that just involves the indentation, but they remain on separate lines.


Any help would be appreciated.



Please attach information from “Help | About" (click on Copy and paste data here).


Not entirely sure how that helps, but this is what it says:


DataGrip 2023.2.3
Build #DB-232.10203.8, built on October 24, 2023
Licensed to ….
Subscription is active until December 12, 2023.
Evaluation purpose only.
Runtime version: amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 32

Non-Bundled Plugins:
   Docker (232.10203.2)


I needed to check your IDE version and configuration. I still couldn't reproduce the issue on my side. Is it possible to share your code style scheme?