Intellij code formatting, Java annotations on new lines

前端 未结 4 1006
清歌不尽
清歌不尽 2020-12-02 12:10

I\'m using IntelliJ 12 and It\'s putting my member variable annotations on the same line, which i hate! How do I setup the code formatter to keep annotations on separate li

4条回答
  •  广开言路
    2020-12-02 12:23

    Nothing seemed to work for me with version 2.3.3 or Android Studio. I gave up and checked Line breaks under Keep when reformatting. I just have to be very careful when I add line breaks.

提交回复
热议问题