Is it possible to set indent settings in Xcode per project (or per file, even)?

前端 未结 6 1295
北恋
北恋 2020-12-14 05:22

Some projects I work in uses tab key settings that equate to 3 or 4 spaces and another wants actual tabs. Another mixes the two depending on directory.

Is there s

6条回答
  •  太阳男子
    2020-12-14 06:10

    Update: This answer only applies to Xcode3. For newer versions, see James Turner's answer.

    Yes, go to View > Text > Tab Settings...

    There you specify the (file-specific) indentation settings which will be saved in the project.

提交回复
热议问题