How to remove unnecessary blank line on code formatting in Android Studio

巧了我就是萌 提交于 2021-01-28 10:45:13

问题


Is it possible to remove unnecessary blank line on code formatting in Android Studio?


回答1:


Yes. It is possible to configure the number of blank lines in the settings menu : File -> Other Settings -> Default Settings... -> Code Style -> Java(or whatever your language is) -> Blank Lines



来源:https://stackoverflow.com/questions/49020651/how-to-remove-unnecessary-blank-line-on-code-formatting-in-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!