Fix code indentation in Xcode

前端 未结 9 926
时光取名叫无心
时光取名叫无心 2020-12-13 03:20

Once I start editing my code and adding for loops or if then statements my code indentation is whacked because the previous code maintains its former indentation instead of

9条回答
  •  無奈伤痛
    2020-12-13 03:50

    You can do it in different ways, but these two are the easiest

    • select text ( +a) :
    1. Using shortcut -> (control)^ + i

    2. Click on "Editor" -> Click on "Structure" -> Click on "Re-indent"

提交回复
热议问题