Using two kinds of comments in Atom


#1

If I’m using C and I have some comment:

// bla

and I would like to toggle it using: editor:toggle-line-comments

it works fine. But if I have something like this

/* bla */

and I try to toggle it atom gives me:

// /* bla */

Which makes little sense. Initially i discovered it in the D support atom-dlang, but it is also in language-c. Is it a feature or a bug?


#2

Atom doesn’t support block comments well. For example:

Basically, the toggle comments command, editor:toggle-line-comments, in Atom uses line comments unless the language only supports block comments, such as HTML.