Centre code in Android Studio/IntelliJ IDEA editor

前端 未结 1 1915
感情败类
感情败类 2020-12-29 23:51

I would like to centre my code in the Android Studio\'s/Intellij\'s editor, like as it is done in the Distraction Free Mode. Right now if it is always aligned on the left s

1条回答
  •  孤城傲影
    2020-12-30 00:31

    Add -Deditor.distraction.free.mode=true in Help | Edit Custom VM Options and restart the IDE. This will center the editor without the other features of the distraction free mode (like hidden tool windows).

    0 讨论(0)
提交回复
热议问题