Ask coding questions

← Back to all posts
Commenting out your work
Cbanks22 (6)

Does the free version allow you to comment out your work by highlighting it? Or do I need to upgrade my account so I can?

Answered by theangryepicbanana (1697) [earned 5 cycles]
View Answer
theangryepicbanana (1697)

I don't think has that?

Cbanks22 (6)

@theangryepicbanana I am doing app academy and my instructor selects the example he has just shown and I think there is a short key because he then makes the whole section a comment with // on each line.

theangryepicbanana (1697)

@Cbanks22 ok so now that I'm trying it, here's how you do it:
1) highlight the code you want to comment with the cursor.
2) hold the Control key (or meta key on macs) and then press the "/" key.
3) done.

Cbanks22 (6)

@theangryepicbanana you're awesome thank you super appreciate it I gave up fiddling with it

theangryepicbanana (1697)

@Cbanks22 yay no problem (btw mark my answer as "best answer" if it helped)


ctrl + k + c to comment out many lines...