How to configure Google Java Code Formatter in Intellij IDEA 17?

后端 未结 5 487
面向向阳花
面向向阳花 2021-01-31 13:55

In the latest versions of IntelliJ IDEA it seems that it isn\'t possible to import code style files like intellij-java-google-style.xml.

I would like use the Google Java

5条回答
  •  说谎
    说谎 (楼主)
    2021-01-31 14:37

    As mentioned Here, Download the intellij-java-google-style.xml file from the This Link.

    Then in Intellij, go Under Settings -> Editor -> Code Style. there in Scheme settings (settings icon on right side) -> import schemes-> intellij idea code style xml. Select the xml downloaded in first step. then in Scheme dropdown select the GoogleStyle IDE (newly added style). Click on apply and close.

提交回复
热议问题