Eclipse中,将tab缩进改为4个空格

 

用4个空格来缩进 , 不要用Tab来缩进 , 因为Tab在不同平台的点位不一样

eclipse->preferences->General->Editors->Text Editors

选中“insert spaces for tabs”

 

posted @ 2014-11-25 16:12  马小豆包  阅读(1353)  评论(0编辑  收藏  举报