How can I make XCode indent // characters when I set a line to commented? -


whenever indent lines of code in xcode, puts slash characters @ beginning of line, prior indentation.

before:

    if(0 == 0) {         nslog(@"some line of code");         nslog(@"another line of code");     } 

after:

    if(0 == 0) { //        nslog(@"some line of code");         nslog(@"another line of code");     } 

what want instead put "//" characters after indentation, other text editors on earth, this:

    if(0 == 0) {         //nslog(@"some line of code");         nslog(@"another line of code");     } 

how can make that?

  1. "command [" until text attached left

  2. add "//" (command /)

  3. finally "command ]" original location.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -