Can't comment selection

后端 未结 15 1219
暖寄归人
暖寄归人 2020-12-22 22:19

Sometimes, it seems I can\'t comment my code with the usual shortcut (command + /) under Xcode 8 Beta 4. The option is disabled in the menu (screen

相关标签:
15条回答
  • 2020-12-22 23:03

    I did as Joe_04_04. Renamed de Xcode APP to anything else and back to original name

    0 讨论(0)
  • 2020-12-22 23:07

    This still (May 2017) happens to me occasionally in Xcode 8.3.2. Quitting Xcode is not enough to clear it up. Logging out and logging back in fixed it for me. I did not have to run a command line tool or reboot.

    0 讨论(0)
  • 2020-12-22 23:09

    I just experienced this same issue for the first time (I've been using various versions of Xcode for over a year, maybe two).

    After reviewing these threads, I noticed that my MacBook Pro had a pending update and could not install the update because Xcode was open. I closed/quit Xcode, installed the update, forced quit all open apps, restarted my laptop and the issue was resolved.

    0 讨论(0)
提交回复
热议问题