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

后端 未结 5 488
面向向阳花
面向向阳花 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:55

    You can also simply add this xml file to Intellij configuration folder

    /home/USERNAME/.IntelliJIdea17/config/codestyles

    Then you can make this code style the default one.

    File/Settings/Editor/Code Style ==> Scheme = GoogleStyle

提交回复
热议问题