1、启动Eclipse,打开Preferences对话框。菜单“window”-“Preferences”
2、找到Text Editors,勾选show whitespace characters,如图:“General”-“Editors”-“Text Editors”
3、需要显示哪些空白,则可以点击“configure visibility”
https://jingyan.baidu.com/album/9225544683c57d851748f46a.html?picindex=1