skip to Main Content

enter image description here

There are dotted separators in every line in my Xcode project. I am not sure where these come from.

My Xcode version is 15.0 and I am using Apple M2 Pro with OS Sonoma 14.0. I am also facing indentation issues with my remote repository. Seams like extra spaces added autometically.

2

Answers


  1. You have "Invisibles" enabled in the Xcode editor – This shows invisible characters, such as spaces and carriage returns, with symbols. The dot is a space.

    To hide them, simply turn off the Invisibles option in the Editor menu

    enter image description here

    Login or Signup to reply.
  2. The indention, by default, is 4, which means 4 dots. You can hide it, as @Paulw11 pointed out in his comment. Change its value on the Indentation tab. Or remove these indentions when inserting a new line.

    enter image description here

    Differences are shown below when git diff. Above is with indentions, and below is without indentions.

    enter image description here

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search