Eclipse: Can you format code on save?

前端 未结 4 1342
故里飘歌
故里飘歌 2020-12-04 08:31

In Eclipse, under Windows -> Preference -> Java -> Code Style, you can define code templates for comments and code, and you can s

4条回答
  •  天命终不由人
    2020-12-04 09:36

    I strongly recommend checking your eclipse format xml descriptor into source control. That way all members of the team can use it and you don't get to and fro reformatting battles.

提交回复
热议问题