Mac版
打开preferences然后找到editor--code style--JAVA--wrapping and braces
选中line breaks和ensure right margin is not exceeded
然后点击ok
到代码中格式化代码就可以了
Mac版
打开preferences然后找到editor--code style--JAVA--wrapping and braces
选中line breaks和ensure right margin is not exceeded
然后点击ok
到代码中格式化代码就可以了
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。