문제

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

도움이 되었습니까?

해결책

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.

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top