Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uncomment multiple lines of code in Visual Studio

I did a ctrl K + ctrl C (adds // to a line) on a lot of lines of code that I need uncommented. What is the quick key method to uncomment code in Visual studio?

like image 337
Soatl Avatar asked Apr 19 '11 14:04

Soatl


People also ask

How do you uncomment multiple lines at once?

Uncommenting Multiple LinesPress CTRL + V to enable visual block mode. Move down and select the lines till you want to uncomment. press x and it will uncomment all the selected lines at once.

How do you use uncomment code in VS code?

“how to uncomment in visual studio” Code Answer shift+alt+A //Toggles comments in VScode.


1 Answers

Ctrl+K, Ctrl+U removes the // comments

like image 73
ChristiaanV Avatar answered Sep 30 '22 08:09

ChristiaanV