Sublime Forum

Comment following a namespace declaration not highlighted

#1

This is for C++ files.

Example code:

namespace Hello /* this isn't highlighted */
{
  bool comment_highlighted = false; // this comment works, though
  /* and this, so it's not a problem with /* vs // */
}

The comment remains in the default text colour (white with the Monokai theme).

0 Likes