Commenting out code blocks in Atom

max picture max · Jul 12, 2015 · Viewed 282.1k times · Source

I have been moving from Webstorm and RubyMine to Atom and I really miss a feature from the Jetbrains editors where you select a code block and press CMD + - and it adds language specific comment character(s) to the beginning of each line. (# for ruby. // for js, /* for css etc.).

Is there a built in shortcut for Atom or a package which provides this feature?

Answer

ray hatfield picture ray hatfield · Jul 12, 2015

According to this, cmd + / should do it.

And for Windows and Linux, it is ctrl + /.