Search code examples
scalaintellij-ideaindentationbraces

How to disable IntelliJ's indentation-based brace handling?


IntellIJ 2020.2 added Indentation-based brace handling for Scala mentioned on the website here whatsnew. How do I disable this feature? I've searched for keywords "indent brace" and "brace handling" and cant see a setting that would disable it under "Code Style -> Scala".


Solution

  • As per IntelliJ Scala Plugin 2020.2: Indentation-based Brace Handling search for

    Editor | General | Smart Keys | Scala | Control curly braces based on line indentation
    

    enter image description here