Eclipse 自动格式化代码功能的使用和关闭

使用此功能:windows-->Preferences-->Java --> Editor-->Save Actions, 右边的选项,勾选“Perform the selected actions on save”;

关闭此功能:取消相同位置的勾选即可.

参考:https://www.cnblogs.com/heganlin/p/5160531.html

猜你喜欢

转载自www.cnblogs.com/CPU-Easy/p/9940507.html
今日推荐