Search code examples
datagrip

How to disable auto-format in DataGrip


Version

  • DataGrip 2018.3

enter image description here

When I type ')', it auto-format my sql

enter image description here


Happened after upgraded from version 2018.2

Disable formating is not helping.

enter image description here


Solution

  • Settings > Editor > General > Smart Keys > ... uncheck Reformat block on typing '}'

    Putting @Archon's comment into an actual answer. (for me this is the solution.) @Archon, I do not want to steal your solution. If you make your comment an answer, then tag me here and I will remove mine.