Changing default comment style


#1

Is there any way in Atom to change the default comment style?
I am currently coding in C89 with a bunch of gcc flags turned on (for school), and the programs don’t compile with the default // comment.
Is there anyway to change them to the /* */ block comments?

Thanks.


#2

There isn’t a way built-in to change the comment style for languages that (according to Atom’s grammar) allow single-line comments. You may want to take a look at the community packages on https://atom.io/packages though. The block-and-line-comments package looks like it might be what you’re looking for.


#3

Thanks! This is exactly what I was looking for