How to comment out multiple lines of code by placing hash in the beginning of each line
How to comment out multiple lines of code by placing hash in the beginning of each line. Similarly I would need to uncomment later. Is there some shortcut for the same ?
Voters
javedbinabbas (0)
ok, the solution is to type: "Ctrl + /"
Highlight the text you want to comment out and try Ctrl+k+c or Ctrl+k+u
One of them comments, one uncomments, can't remember which though
@19ecal: thanks,
Ctrl+k+c ==> comments
Ctrl+k+u ==> uncomments