Sublime Forum

C++ Error Highlight bug

#1

This is a quick one. If I use forward declaration of a type at its point of use, ST seems to incorrectly expect a closing brace somewhere. Here’s a video of the problem:

screencast.com/t/gQnkKHmsJf

I’m closing the clcpp namespace which ST seems to expect to be the closing brace for the forward declarations above. (note, adding a semi-colon after the closing brace makes the erroneous error highlight go away)

I’ve disabled SublimeClang for this video.

Cheers,

  • Don
0 Likes