What are these yellow spacers in Xcode?

我的未来我决定 提交于 2019-12-22 08:54:49

问题


Just came back to my desk and Xcode keeps highlighting/underlining white space in files. If I type something it goes away, but if I switch tabs and come back, they reappear.

UPDATE: this isn't caused by the "show invisibles" option. That looks different (try it).


回答1:


You seem to have a search active. Look in your search bar at the top and you should find a " " character. Xcode is highlighting all instances of the matching space character.




回答2:


Go to Editor > Hide Invisibles in the toolbar. It's showing all the invisible characters in the document, including spaces.



来源:https://stackoverflow.com/questions/23638320/what-are-these-yellow-spacers-in-xcode

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!