Use Line Comments in JS on Keyboard Shortcut


Hello everyone,
in my JavaScript files, when I use CMD+/ to comment one or multiple lines, atom inserts a block comment. So

var foo = "bar";


/*var foo = "bar";*/

Is there a way for atom to use line comments? Sublime does this and I find it much easier to read.



For me, ctrl-/ turns every line into // comments. Maybe it’s a Mac thing? In your keybindings, does ctrl-/ map to editor:toggle-line-comments?


Thanks for the reply :slight_smile:
After your post I checked my atom install, and it seems the issue is related to the javascript semantic package. There is actually an issue about this at their repo.

If anybody has an idea for a workaround, I would still be glad for suggestions.