xxxxxxxxxx
{search} = comment multiple line in vs
[its for C#, but works on almost all lang]
short cut for vs and vscoad for commenting {Windows and Linux}
ctrl + / for single line. again, for uncomment. for some lang its ctrl + K.
shift + ctrl + / for multiple line. again, for uncomment.
xxxxxxxxxx
********** For Mac **********
-> How to comment a block?
CMD + K + C
-> How to uncomment a block?
CMD + K + U
xxxxxxxxxx
how to add comment for multiple lines :
********** For Windows **********
-> How to comment a block?
CTRL + K + CTRL + C
-> How to uncomment a block?
CTRL + K + CTRL + U
xxxxxxxxxx
// public function index()
// {
// $badgeIcon = BadgeIcon::all();
// return $this->showAll($badgeIcon);
// }
xxxxxxxxxx
To add a verbose comment, type /** and press Enter and VS Code will autocomplete it for you.