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刪除。