Eclipse中代碼大括號上下對齊

依次點擊Window->Preferences->Java->Code Style->Formatter->Edit 取個新名稱(mystyle),展開Brace position選項卡,全部設置爲next line.點擊應用並退出。
相關文章
相關標籤/搜索