Code Formatting In Xcode

前端 未结 12 1851
名媛妹妹
名媛妹妹 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条回答
  •  爱一瞬间的悲伤
    2020-12-09 02:41

    XCode 8 Extensions

    Another option is to use an extension like Swimat. Does the job for me. However, the caveat is that it does not format on save due to the restrictive Xcode Extension APIs, but they're trying to find a workaround.

提交回复
热议问题