A Suggestion About Commenting in Atom


#1

I discovered the ctrl+/ shortcut a while ago, and have found it really useful. I have a small refinement for it though. It would be use full if you could select mutliple lines by clicking an dragging, and use ctrl+/ to make a multiline comment, like /*. Instead of commenting each and every line with their own //.

/*var name = "James";
if (name === "James") {
  alert();
}*/

Instead of
//var name = “James”;
//if (name === “James”) {
// alert();
//}