eclipse中设置tab为4个空格时间:2020-12-10 15:29:171、insert space for tabs前打勾 2、General settings中选择Spaces only 3、搞定