What are these yellow spacers in Xcode?

2019-05-12 01:08发布

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).

enter image description here

标签: xcode xcode5
2条回答
劫难
2楼-- · 2019-05-12 01:47

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

查看更多
聊天终结者
3楼-- · 2019-05-12 01:53

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.

查看更多
登录 后发表回答