How to remove / * and * / quickly in Xcode

Xcode has some useful functions commented out with / * and corresponding * /. Is there a shortcut that will quickly remove them? Is it possible to use a shortcut using AppleScript, or is there a better way?

+5
source share
2 answers

You can comment / uncomment any selected block of code with Command+ /.

Press the key combination again to switch the deletion of comments from the already commented block of code

In Xcode 4.2 I need to push Command+ Shift+/

+11
source

: Cmd + /. // //, . . Xcode. . , , IDE (, ). , ( , , , untested-in-the-current-codebase).

, , // .

+8
source

All Articles