问题描述:数字后文字格式变得和数字一致。而不是和前面的文字一致。
解决办法:
1、window->preferences
2、Java->Code Style->Formatter. 点击图中箭头Edit
3、修改profile name,去掉Enable block comment formatting前的勾,将maximum width for comments的数字填大一点,例如180.
保存,如果还是不可以,重启Eclipse。
问题描述:数字后文字格式变得和数字一致。而不是和前面的文字一致。
解决办法:
1、window->preferences
2、Java->Code Style->Formatter. 点击图中箭头Edit
3、修改profile name,去掉Enable block comment formatting前的勾,将maximum width for comments的数字填大一点,例如180.
保存,如果还是不可以,重启Eclipse。