Hello!
How do I get rid of this highlighted line? See attached image.
That looks like scope highlighting, meaning it’s probably identifying something as wrong. Place the cursor on that line, in the highlighted line and press cmd+alt+p. This will show you the scope being applied there. I don’t know what it’s complaining about though. I entered the same content into a C++ file on my machine and I didn’t see any highlight. Though it’s possible my theme or syntax highlighter doesn’t identify that scope.
It says source.c++.meta-struct.-block.c++ invalid.illegal.you-forgot-semicolon.c++
I didn’t see any highlight line either. You could try to reset Sublime since that may fix it. Also, which version of Sublime are you using?