Command-slash to comment out selection does not work in Xcode 8 beta 6.

Command-slash to comment out selection does not work in Xcode 8 beta 6.


The comment out selection thing is bound to the default command-slash but it hasn't worked yet in Xcode 8. It worked all the way through Xcode 7... Just me? Workaround?

Replies

See discussion and possible workaround here.

Yes I find that discussion too. What ultimately worked was https://twitter.com/kolpanic/status/763323546814844928 This is still broken in Xcode beta 6.

A quick way: Quit Xcode, rename the Xcode app's name to what ever you want, reopen Xcode, done.

This actually worked great! 🙂 My only question is … why and/or how does this work? Does it have to do with certain caches being flushed or what? Regardless, it fixed my issue (after performing the "1. run xpccachectl 2. reboot" method several thousand times to no avail). Thanks, matey!