Code Formatting In Xcode

前端 未结 12 1875
名媛妹妹
名媛妹妹 2020-12-09 02:01

Is there anyway to format the code in Xcode like you can do in Eclipse or Netbenas. I have not found any option in menu, is there any hot key for this or its simply not in X

12条回答
  •  旧时难觅i
    2020-12-09 02:50

    ^-I (control - capital i) : format the current line

    -A + ^-I : format the whole code file

提交回复
热议问题