How to disable auto formatting upon save in Eclipse?

后端 未结 5 1101
南笙
南笙 2020-12-15 15:49

Eclipse keeps auto formatting upon save, for example: it is insisting the following code should be in a single line once I save, despite breaking it up the way I want to.

5条回答
  •  温柔的废话
    2020-12-15 16:12

    Window > Preferences > Java > Editor > Save Actions.

    Can also be configured at the project level. Project > Properties > Java Editor > Save Actions.

提交回复
热议问题