eclipse中显示空格和制表符,主要可以设置的选项是:显示占位符,不过这些都没必要显出来:windows ->Preferences->General->Editors->Text Editors选项里面,去掉Show whitespace characters(显示占位符)。