Xcode 8 Beta 4 - Comment Shortcut Disabled

后端 未结 12 1202
礼貌的吻别
礼貌的吻别 2020-12-04 07:41

I just updated to Xcode 8 Beta 4 and the shortcut cmd + / to comment a line is not working..

In the dropdown menu it\'s disabled:

<

12条回答
  •  渐次进展
    2020-12-04 08:03

    As explained there, here's a solution that doesn't require a reboot:

    1. Close Xcode
    2. In the Application folder, rename Xcode.app (or similar) to Xcode2.app. You might need to type in your password.
    3. Open Xcode, then close it.
    4. Rename Xcode2.app back to what it was before.
    5. (Optional) Spend 5 minutes wondering why this worked.

提交回复
热议问题