在写代码的时候,不知道点到了 eclipse 的哪个属性,代码中就出现了一些特殊字符,也不能删除。

请问,在 eclipse 中该怎么设置,才能将这些字符去掉。

如下图所示:

eclipse 代码中突然出现特殊字符

 

解决方法:

选择Window->Preferences->General->Editors->Text Editors->Show whitespace characters 取消选中

 

相关文章: