Xcode 8 Beta 4 - Comment Shortcut Disabled

后端 未结 12 1204
礼貌的吻别
礼貌的吻别 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:17

    The script mentioned above didn't work right away for me. I had Xcode 8 and 8.1 GM installed and was working with both of them off and on. I ran the script in the terminal, restarted my computer, opened Xcode and it still didn't work. So then I created a new directory in Applications and moved the GM into that directory. That seemed to fix it.

    TL;DR If you have multiple versions of Xcode installed:

    • Run in terminal: sudo /usr/libexec/xpccachectl
    • Restart your computer
    • Create a new directory in Applications
    • Move the other version into that directory
    • Restart Xcode and enjoy!

提交回复
热议问题