在eclipse中设置tab size的地方有多个
1:window——preference——General——Editor——Text Editor设置页面:Display Tab Width
1:window——preference——General——Editor——Text Editor设置页面:Display Tab Width
2:window——preference——Java——Code Style——Formatter设置页面,Edit,在弹出的Editor profile窗口中,Indentation卡片,设置Indentation Size和Tab Size。
(注:两个地方都设置了,才好用。)